From da2b06fc9b4934db950f8218bb0c17829cd381a9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 10 Feb 2014 11:53:37 -0600 Subject: HID mouse can now support some while mice. Problems with Microsoft mice --- apps/ChangeLog.txt | 2 +- apps/examples/touchscreen/tc_main.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt index db1afab2c..5f88f72cc 100644 --- a/apps/ChangeLog.txt +++ b/apps/ChangeLog.txt @@ -818,5 +818,5 @@ an option and can be replaces with the EMACX-like CLE (about 2KB) (2014-02-02). * Several changes to restore Windows native build (2014-2-7) - * apps/examples/touchscreen: Can not be configured to work with a mouse + * apps/examples/touchscreen: Can now be configured to work with a mouse interface as well (2014-2-10). 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 */ -- cgit v1.2.3