KBDE About Main Page
Get It
Driver
Utils
Develop
Resources
My Other SF projects |
Man Page kbde.3
KBDESection: KBDE Programmer's manual (3)Updated: January 4, 2004 Index Return to Main Contents NAMEkbde_press, kbde_release, kbde_press_release - Programming interface to keyboard emulator.SYNOPSIS#include <kbde/kbde.h> int kbde_key_press(int key_code, char *buffer); int kbde_key_release(int key_code, char *buffer); int kbde_key_press_release(int key_code, char *buffer); DESCRIPTIONkbde_press fill the buffer with NULL-terminated string of scancodes corresponding to the key key_code be pressed.key_code defines can be found in the file <kbde/kbde.h>. kbde_release fill buffer with scancodes corresponding to the key key_code release. kbde_press_release fill buffer with scancodes corresponding to the key key_code press and release. RETURN VALUEAll these function return -1 if key_code is outside the range 1..KBDE_KEY_LAST_USED. In this case buffer untouched. Otherwise return value is length of NULL-terminated string putted to bufferNOTEAscii codes as described by ascii(7) and key_codes as described by xt_kbde_scancode(7) and <kbde/kbde.h> are different.SEE ALSOascii(7),xt_kbde_scancode(7), kbde_ascii_key_press(3), kbde_ascii_key_release(3), kbde_ascii_key_press_release(3), kbde_key_to_name(3), kbde_name_to_key(3), kbde_case_name_to_key(3) AUTHORValery Reznic <valery_reznic@users.sourceforge.net>.
IndexThis document was created by man2html, using the manual pages. Time: 06:31:49 GMT, May 14, 2007 |