mirror of
https://github.com/apache/nuttx.git
synced 2026-09-28 15:54:57 +08:00
Verified USB HID KBD driver encoding of special characters; apps/examples/hidkbd now decodes encoded keyboar characters.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5463 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/streams.h>
|
||||
|
||||
#ifdef CONFIG_LIB_KBDCODEC
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@@ -87,7 +89,7 @@ enum kbd_keycode_e
|
||||
KEYCODE_CUT, /* Cut */
|
||||
KEYCODE_COPY, /* Copy */
|
||||
KEYCODE_PASTE, /* Paste */
|
||||
KEYCODE_FIND , /* Find */
|
||||
KEYCODE_FIND, /* Find */
|
||||
|
||||
/* Selection codes */
|
||||
|
||||
@@ -294,5 +296,6 @@ int kbd_get(FAR struct lib_instream_s *stream,
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_LIB_KBDCODEC */
|
||||
#endif /* __INCLUDE_NUTTX_INPUT_KBD_CODEC_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user