#include <keyboard_be.h>
Inheritance diagram for CL_BeKeyboard:


Public Methods | |
| CL_BeKeyboard () | |
| virtual | ~CL_BeKeyboard () |
| virtual char* | get_name () const |
| virtual int | get_num_buttons () const |
| retval: Name of the device. | |
| virtual CL_InputButton* | get_button (int button_num) |
| retval: Return the number of buttons available. | |
| virtual int | get_num_axes () const |
| 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) |
| retval: Number of axes available. | |
| virtual int | get_num_hats () const |
| 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) |
| retval: Number of input hats available. | |
| virtual int | get_num_cursors () const |
| 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) |
| retval: Number of cursors available. | |
| void | handle_key (BMessage *msg, bool down) |
| void | handle_modifiers (BMessage *msg) |
Private Methods | |
| char | translate (int kb_value) |
Private Attributes | |
| bool | keymap [128] |
| CL_InputButton_BeKeyboard** | buttons |
|
|
|
|
|
|
|
|
retval: Number of axes available.
Reimplemented from CL_InputDevice. |
|
|
retval: Return the number of buttons available.
Reimplemented from CL_InputDevice. |
|
|
retval: Number of cursors available.
Reimplemented from CL_InputDevice. |
|
|
retval: Number of input hats available.
Reimplemented from CL_InputDevice. |
|
|
Reimplemented from CL_InputDevice. |
|
|
param: button_num - Number of the button to be returned.retval: Pointer to the button requested (or NULL if none).
Reimplemented from CL_InputDevice. |
|
|
retval: Name of the device.
Reimplemented from CL_InputDevice. |
|
|
param: hat_num - Number of the hat to be returned.retval: Pointer to input hat requested (or NULL if none).
Reimplemented from CL_InputDevice. |
|
|
param: axis_num - Number of the axis to be returned.retval: Pointer to axis requested (or NULL if none).
Reimplemented from CL_InputDevice. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 64 of file keyboard_be.h. |
|
|
Definition at line 60 of file keyboard_be.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001