Sub-Module to handle physical keyboards.
◆ ginputGetKeyboard()
GSourceHandle ginputGetKeyboard |
( |
unsigned |
instance | ) |
|
Create a keyboard input instance.
- Parameters
-
[in] | instance | The ID of the keyboard input instance (from 0 to 9999) |
- Returns
- The source handle of the created input instance
◆ ginputGetKeyboardStatus()
gBool ginputGetKeyboardStatus |
( |
unsigned |
instance, |
|
|
GEventKeyboard * |
pkeyboard |
|
) |
| |
Get the current keyboard status.
- Parameters
-
[in] | instance | The ID of the keyboard input instance |
[in] | pkeyboard | The keyboard event struct |
- Returns
- Returns gFalse on an error (eg invalid instance)
◆ ginputSetKeyboardLayout()
gBool ginputSetKeyboardLayout |
( |
unsigned |
instance, |
|
|
const void * |
pLayout |
|
) |
| |
Set the keyboard layout.
- Parameters
-
[in] | instance | The ID of the keyboard input instance |
[in] | pLayout | The keyboard layout micro-code. Passing NULL defaults to the driver's default layout. |
- Returns
- Returns gFalse on an error (eg invalid instance)