mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
The USB HID mouse driver is now functional. There are some usage issues as described in the top-level TODO list
This commit is contained in:
@@ -958,9 +958,9 @@ Where <subdir> is one of the following:
|
|||||||
CONFIG_WINDOWS_CYGWIN=y : Cygwin environment on Windows
|
CONFIG_WINDOWS_CYGWIN=y : Cygwin environment on Windows
|
||||||
CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows
|
CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y : CodeSourcery under Windows
|
||||||
|
|
||||||
3. The mouse is really useless with no display and not cursor. So this
|
3. The mouse is really useless with no display and no cursor. So this
|
||||||
configuration is only suited for testing. It is also awkward to use.
|
configuration is only suited for low-level testing. It is also awkward
|
||||||
Here are the steps:
|
to use. Here are the steps:
|
||||||
|
|
||||||
- Remove the USB HID mouse and reset the board.
|
- Remove the USB HID mouse and reset the board.
|
||||||
- When the NSH prompt comes up type 'tc'. That will fail, but it
|
- When the NSH prompt comes up type 'tc'. That will fail, but it
|
||||||
|
|||||||
@@ -407,7 +407,6 @@ CONFIG_USBHOST_NPREALLOC=4
|
|||||||
# CONFIG_USBHOST_MSC is not set
|
# CONFIG_USBHOST_MSC is not set
|
||||||
# CONFIG_USBHOST_HIDKBD is not set
|
# CONFIG_USBHOST_HIDKBD is not set
|
||||||
CONFIG_USBHOST_HIDMOUSE=y
|
CONFIG_USBHOST_HIDMOUSE=y
|
||||||
CONFIG_HIDMOUSE_POLLUSEC=100000
|
|
||||||
CONFIG_HIDMOUSE_DEFPRIO=50
|
CONFIG_HIDMOUSE_DEFPRIO=50
|
||||||
CONFIG_HIDMOUSE_STACKSIZE=1024
|
CONFIG_HIDMOUSE_STACKSIZE=1024
|
||||||
CONFIG_HIDMOUSE_BUFSIZE=64
|
CONFIG_HIDMOUSE_BUFSIZE=64
|
||||||
|
|||||||
Reference in New Issue
Block a user