Public Member Functions | |
virtual XFCIMPORT void | onPointerDown (INT32 aX, INT32 aY) |
Called when pointer is down. | |
virtual XFCIMPORT void | onPointerMove (INT32 aX, INT32 aY) |
Called when pointer moves. | |
virtual XFCIMPORT void | onPointerUp (INT32 aX, INT32 aY) |
Called when pointer is released. | |
virtual XFCIMPORT void | onKeyDown (INT32 aCode) |
Called when key is pressed. | |
virtual XFCIMPORT void | onKeyUp (INT32 aCode) |
Called when key is released. | |
virtual XFCIMPORT void | onControlDown (INT32 aCode) |
Called when a "control" is pressed. | |
virtual XFCIMPORT void | onControlUp (INT32 aCode) |
Called when a "control" is released. | |
virtual XFCIMPORT void | onCharEntered (CHAR aChar) |
Called when a character is entered. | |
virtual XFCIMPORT void | onJoystickMoved (INT32 aX, INT32 aY) |
Called when the analog joystick has moved. |
The active input listener is set by calling the static XFcCore::setController() method. Only one class may be the active input receiver at any time.
|
Called when a character is entered. On systems where character input is supported (via keyboard for instance), in addition to onKeyDown, onKeyUp, and possibly onControlDown and onControlUp, the core calls this function to report what character the operating system feels should be inputted. Theoretically some devices may call this function even without any key events if the input mechanism does not use any keys.
|
|
Called when a "control" is pressed.
|
|
Called when a "control" is released.
|
|
Called when the analog joystick has moved. This call is only supported on devices with an analog joystick. The coordinates range from -32767 to 32768.
|
|
Called when key is pressed.
|
|
Called when key is released.
|
|
Called when pointer is down. This call is only supported on devices with a touchscreen (or mouse)
|
|
Called when pointer moves. This call is only supported on devices with a touchscreen (or mouse)
|
|
Called when pointer is released. This call is only supported on devices with a touchscreen (or mouse)
|
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |