#include <inputdevice.h>
Inheritance diagram for CL_InputDevice:

Public Methods | |
| virtual | ~CL_InputDevice () |
| virtual char* | get_name () const=0 |
| virtual int | get_num_buttons () const=0 |
| retval: Name of the device. | |
| virtual CL_InputButton* | get_button (int button_num)=0 |
| retval: Return the number of buttons available. | |
| virtual int | get_num_axes () const=0 |
| param: button_num - Number of the button to be returned.retval: Pointer to the button requested (or NULL if none). | |
| virtual CL_InputAxis* | get_axis (int axis_num)=0 |
| retval: Number of axes available. | |
| virtual int | get_num_hats () const=0 |
| param: axis_num - Number of the axis to be returned.retval: Pointer to axis requested (or NULL if none). | |
| virtual CL_InputHat* | get_hat (int hat_num)=0 |
| retval: Number of input hats available. | |
| virtual int | get_num_cursors () const=0 |
| param: hat_num - Number of the hat to be returned.retval: Pointer to input hat requested (or NULL if none). | |
| virtual CL_InputCursor* | get_cursor (int cursor_num)=0 |
| retval: Number of cursors available. | |
|
|
Definition at line 32 of file inputdevice.h. |
|
|
retval: Number of axes available.
Reimplemented in CL_BeKeyboard, CL_Joystick_Win32, CL_Keyboard_Win32, and CL_Mouse_Win32. |
|
|
retval: Return the number of buttons available.
Reimplemented in CL_BeKeyboard, CL_Joystick_Win32, CL_Keyboard_Win32, and CL_Mouse_Win32. |
|
|
retval: Number of cursors available.
Reimplemented in CL_BeKeyboard, CL_Joystick_Win32, CL_Keyboard_Win32, and CL_Mouse_Win32. |
|
|
retval: Number of input hats available.
Reimplemented in CL_BeKeyboard, CL_Joystick_Win32, CL_Keyboard_Win32, and CL_Mouse_Win32. |
|
|
Reimplemented in CL_BeKeyboard, CL_Joystick_Win32, CL_Keyboard_Win32, and CL_Mouse_Win32. |
|
|
param: button_num - Number of the button to be returned.retval: Pointer to the button requested (or NULL if none).
Reimplemented in CL_BeKeyboard, CL_Joystick_Win32, CL_Keyboard_Win32, and CL_Mouse_Win32. |
|
|
retval: Name of the device.
Reimplemented in CL_BeKeyboard, CL_Joystick_Win32, CL_Keyboard_Win32, and CL_Mouse_Win32. |
|
|
param: hat_num - Number of the hat to be returned.retval: Pointer to input hat requested (or NULL if none).
Reimplemented in CL_BeKeyboard, CL_Joystick_Win32, CL_Keyboard_Win32, and CL_Mouse_Win32. |
|
|
param: axis_num - Number of the axis to be returned.retval: Pointer to axis requested (or NULL if none).
Reimplemented in CL_BeKeyboard, CL_Joystick_Win32, CL_Keyboard_Win32, and CL_Mouse_Win32. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001