Quote:
Originally Posted by hawhill
If so, and if you're working with C/C++ codebases, there's linux/input.h in the kernel headers (though it will probably only provide you a struct and some constants).
|
I am working in C and I am nearly ready to write some code to read these devices. Thanks for recommending the input.h file so I do not have to reverse-engineer the datastream myself (an activity that has consumed a lot of my time over the years, using logic analyzers and such).
EDIT: I like the evtest capture/replay ability (kb/touch/event macro recorder). Not only for software regression tests, but for general use, such as for making "one-touch" buttons (e.g. a button to start wifi, launch the browser, and take you to a specific web page). Although, it might be a more direct approach to launch apps directly with command-line parameters, or to launch them with "lipc" commands where appropriate.
A macro recorder could be very easy for an end-user to record and use their own macros by simply starting the recorder and then just doing the thing that they want to automate (no command-line or programming skills required).