KBDE

About
 Main Page

Get It
 Via the Web
 Via Anonymous CVS

Driver
 README
 News
 ChangeLog
 Installation
 THANKS
 FAQ

 KBDE.4
 KBDE.9

Utils
 README
 News
 ChangeLog

 KBDE.1

Develop
 KBDE.3
 KBDE_ASCII.3
 KBDE_MISC.3
 XT_KBDE_SCANCODE.7

Resources
 WEB CVS
 XT Scancodes
 SourceForge Page
 Mailing List
 Forums
 LinuxLinks
 Related Projects

My Other SF projects
 ksm
 nfstimesync
 noexec
 pkgrebuild
 rpmrebuild (with Eric Gerbier)
 rrp_statify
 statifier

SourceForge.net Logo

 
Man Page kbde.3
Manpage of KBDE

KBDE

Section: KBDE Programmer's manual (3)
Updated: January 4, 2004
Index Return to Main Contents
 

NAME

kbde_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);

 

DESCRIPTION

kbde_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 VALUE

All 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 buffer  

NOTE

Ascii codes as described by ascii(7) and key_codes as described by xt_kbde_scancode(7) and <kbde/kbde.h> are different.  

SEE ALSO

ascii(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)  

AUTHOR

Valery Reznic <valery_reznic@users.sourceforge.net>.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
NOTE
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 06:31:49 GMT, May 14, 2007