summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-10 11:53:37 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-10 11:53:37 -0600
commitda2b06fc9b4934db950f8218bb0c17829cd381a9 (patch)
tree3200388b06c9c4e75b47b0bdce2cd7538fbed1e4 /apps/examples
parent105f5fbfcbbf411deefddac8039ccb3b03477609 (diff)
downloadnuttx-da2b06fc9b4934db950f8218bb0c17829cd381a9.tar.gz
nuttx-da2b06fc9b4934db950f8218bb0c17829cd381a9.tar.bz2
nuttx-da2b06fc9b4934db950f8218bb0c17829cd381a9.zip
HID mouse can now support some while mice. Problems with Microsoft mice
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/touchscreen/tc_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/examples/touchscreen/tc_main.c b/apps/examples/touchscreen/tc_main.c
index 13a192a0d..0eb83ca4e 100644
--- a/apps/examples/touchscreen/tc_main.c
+++ b/apps/examples/touchscreen/tc_main.c
@@ -197,6 +197,9 @@ int tc_main(int argc, char *argv[])
message(" buttons : %02x\n", sample.buttons);
message(" x : %d\n", sample.x);
message(" y : %d\n", sample.y);
+#ifdef CONFIG_MOUSE_WHEEL
+ message(" wheel : %d\n", sample.wheel);
+#endif
}
#else
/* Read one sample */