HID mouse can now support some while mice. Problems with Microsoft mice

This commit is contained in:
Gregory Nutt 2014-02-10 11:53:37 -06:00
parent 81746b5117
commit c7fe4a15e9
2 changed files with 4 additions and 1 deletions

View File

@ -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).

View File

@ -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 */