Public Methods | |
void | DirectKeyboard_dtor (struct DirectKeyboard *ptr_direct_keyboard, int memory_flag) |
struct DirectKeyboard* | DirectKeyboard_get_instance (void) |
void | DirectKeyboard_scan (struct DirectKeyboard *ptr_direct_keyboard) |
bool | DirectKeyboard_is_key_pressed (struct DirectKeyboard *ptr_direct_keyboard, short scancode) |
Use a DirectKeyboard object to scan the CYBIKO keyboard and determine what keys are being pressed. You must call the DirectKeyboard_get_instance() function before use and the DirectKeyboard_dtor() function after use.
|
Deletes a DirectKeyboard object.
|
|
Initializes a DirectKeyboard object.
|
|
Checks whether a specified key is being pressed.
|
|
Scans the Cybiko computer's keyboard to determine what keys are being pressed.
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |