home features api download svn donate licensesend a comment contact
Spanish  

ce Namespace Reference

Main namespace for the entire InputCore library. More...

Classes

class  IInputManager
 The input manager class, provides fundamental functionality for work in all fields on this library. More...
class  IInputManagerImpl
 The input manager class, provides fundamental functionality for work in all fields on this library. More...
class  IInputDevice
 The device base class. More...
struct  SJoystickState
 The Joystick state. More...
class  IJoystickEvent
 The joystick event callbacks. More...
class  IJoystickDevice
 The joystick device, this is the joystick manager. More...
class  IKeyboardEvent
 The keyboard event callbacks. More...
class  IKeyboardDevice
 The keyboard device, this is the keyboard manager. More...
struct  SMouseState
 The mouse state. More...
class  IMouseEvent
 The mouse event callbacks. More...
class  IMouseDevice
 The mouse device, this is the mouse manager. More...

Enumerations

enum  EInputDriver { InputDriver_Null = 0x0, InputDriver_AutoDetect, InputDriver_Native, InputDriver_Count }
 

The driver type.

More...
enum  EInputDevice {
  InputDevice_Null = 0x0, InputDevice_Unknown = InputDevice_Null, InputDevice_Keyboard, InputDevice_Mouse,
  InputDevice_Joystick, InputDevice_Count
}
 

The device type.

More...

Functions

IInputManagerCreateInputManager (void)
 Create a new input manager.
void DestroyInputManager (IInputManager **Instance=NULL)
 Destroy a input manager.
const int operator== (const SJoystickState &StateA, const SJoystickState &StateB)
const int operator!= (const SJoystickState &StateA, const SJoystickState &StateB)
const int operator== (const SMouseState &StateA, const SMouseState &StateB)
const int operator!= (const SMouseState &StateA, const SMouseState &StateB)

Detailed Description

Main namespace for the entire InputCore library.


Enumeration Type Documentation

The driver type.

Enumerator:
InputDriver_Null 

Null driver.

InputDriver_AutoDetect 

AutoDetect driver.

InputDriver_Native 

Native driver (mmsystem).

InputDriver_Count 

Only used for counting the elements of this enum.

The device type.

Enumerator:
InputDevice_Null 

Null driver.

InputDevice_Unknown 

Unknown driver.

InputDevice_Keyboard 

Keyboard driver.

InputDevice_Mouse 

Mouse driver.

InputDevice_Joystick 

Joystick driver.

InputDevice_Count 

Only used for counting the elements of this enum.


Function Documentation

IInputManager* ce::CreateInputManager ( void   ) 

Create a new input manager.

Returns:
If this succeeds, the return is a IInputManager pointer or if this fails, the return is a NULL value.
void ce::DestroyInputManager ( IInputManager **  Instance = NULL  ) 

Destroy a input manager.

Parameters:
Instance The input manager instance that will be destroyed.
const int ce::operator== ( const SJoystickState &  StateA,
const SJoystickState &  StateB 
) [inline]
const int ce::operator!= ( const SJoystickState &  StateA,
const SJoystickState &  StateB 
) [inline]
const int ce::operator== ( const SMouseState &  StateA,
const SMouseState &  StateB 
) [inline]
const int ce::operator!= ( const SMouseState &  StateA,
const SMouseState &  StateB 
) [inline]
 
 
 SourceForge.net
 
   Creative Commons License   Except where otherwise noted, content on this site is
  licensed under a Creative Commons Attribution 3.0 License