HongChao6 opened a new pull request, #3434:
URL: https://github.com/apache/nuttx-apps/pull/3434
Add getevent, a command-line utility for monitoring NuttX input devices
including mouse, touch, and keyboard events.
Features:
- Automatic input device detection in /dev
- Support for mouse (clicks/movement/wheel), multi-touch
(coordinates/pressure),
and keyboard (key codes/event types) monitoring
- Command-line device path specification (-m, -t, -k flags)
- Non-blocking I/O with 500ms timeout
- Optional detailed debug output via
CONFIG_GRAPHICS_INPUT_GETEVENT_DETAIL_INFO
Usage example:
getevent # auto-detect all input devices
getevent -m /dev/mouse0 # monitor specific mouse
getevent -t /dev/input0 # monitor specific touch device
getevent -k /dev/kbd0 # monitor specific keyboard
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]