summaryrefslogtreecommitdiff
path: root/nuttx/libc/misc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-26 21:37:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-26 21:37:50 +0000
commit24f3d5c021bfa7d0a99870d363d86e4e17e4ca63 (patch)
tree65f8b3f30035b51fd347b856ca80d55eead7d277 /nuttx/libc/misc
parentc034173c00669e4f09c5156a0057446cfef927e5 (diff)
downloadpx4-nuttx-24f3d5c021bfa7d0a99870d363d86e4e17e4ca63.tar.gz
px4-nuttx-24f3d5c021bfa7d0a99870d363d86e4e17e4ca63.tar.bz2
px4-nuttx-24f3d5c021bfa7d0a99870d363d86e4e17e4ca63.zip
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
Diffstat (limited to 'nuttx/libc/misc')
-rw-r--r--nuttx/libc/misc/Make.defs8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/libc/misc/Make.defs b/nuttx/libc/misc/Make.defs
index c6af5f860..ad0313346 100644
--- a/nuttx/libc/misc/Make.defs
+++ b/nuttx/libc/misc/Make.defs
@@ -35,7 +35,7 @@
# Add the internal C files to the build
-CSRCS += lib_init.c lib_filesem.c lib_kbdencode.c lib_kbddecode.c
+CSRCS += lib_init.c lib_filesem.c
# Add C files that depend on file OR socket descriptors
@@ -63,6 +63,12 @@ CSRCS += lib_match.c
CSRCS += lib_crc32.c
CSRCS += lib_dbg.c lib_dumpbuffer.c
+# Keyboard driver encoder/decoder
+
+ifneq ($(CONFIG_LIB_KBDCODEC),0)
+CSRCS += lib_kbdencode.c lib_kbddecode.c
+endif
+
# Add the misc directory to the build
DEPPATH += --dep-path misc