⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kbde.3

📁 开源的键盘模拟程序
💻 3
字号:
.\" Copyright 1998-2004 Valery Reznic (valery_reznic@users.sourceforge.net).\".\" Permission is granted to make and distribute verbatim copies of this.\" manual provided the copyright notice and this permission notice are.\" preserved on all copies..\".\" Permission is granted to copy and distribute modified versions of this.\" manual under the conditions for verbatim copying, provided that the.\" entire resulting derived work is distributed under the terms of a.\" permission notice identical to this one.\" .\" Since the Linux kernel and libraries are constantly changing, this.\" manual page may be incorrect or out-of-date.  The author(s) assume no.\" responsibility for errors or omissions, or for damages resulting from.\" the use of the information contained herein.  The author(s) may not.\" have taken the same level of care in the production of this manual,.\" which is licensed free of charge, as they might when working.\" professionally..\" .\" Formatted or processed versions of this manual, if unaccompanied by.\" the source, must acknowledge the copyright and authors of this work..\".TH KBDE 3  "January 4, 2004" "" "KBDE Programmer's manual".SH NAMEkbde_press, kbde_release, kbde_press_release\- Programming interface to keyboard emulator..SH SYNOPSIS.nf.B #include <kbde/kbde.h>.sp.B int kbde_key_press(int key_code, char *buffer);.sp.B int kbde_key_release(int key_code, char *buffer);.sp.B int kbde_key_press_release(int key_code, char *buffer);.sp.fi.SH DESCRIPTION.BR kbde_pressfill the \fBbuffer\fP with NULL-terminated string of scancodescorresponding to the key \fBkey_code\fP be pressed..PPkey_code defines can be found in the file \fB<kbde/kbde.h>\fP..PP.BR kbde_releasefill \fBbuffer\fP with scancodes corresponding to the key \fBkey_code\fP release..PP.BR kbde_press_releasefill \fBbuffer\fP with scancodes corresponding to the key \fBkey_code\fP press and release..PP.SH RETURN VALUEAll these function return -1 if key_code is outside the range \fB1..KBDE_KEY_LAST_USED\fP. In this case \fBbuffer\fP untouched.Otherwise return value is length of NULL-terminated string putted to \fBbuffer\fP.SH NOTEAscii codes as described by \fBascii(7)\fP and key_codesas described by \fBxt_kbde_scancode(7)\fP and \fB<kbde/kbde.h>\fP are different..SH "SEE ALSO".BR ascii "(7),".br.BR xt_kbde_scancode "(7),".br.BR kbde_ascii_key_press "(3),".br.BR kbde_ascii_key_release "(3),".br.BR kbde_ascii_key_press_release "(3),".br.BR kbde_key_to_name "(3), ".br.BR kbde_name_to_key "(3), ".br.BR kbde_case_name_to_key "(3)".SH AUTHOR.LPValery Reznic <valery_reznic@users.sourceforge.net>.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -