View Single Post
Old 12-27-2011, 09:28 AM   #4
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by hawhill View Post
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).

Last edited by geekmaster; 12-27-2011 at 04:29 PM.
geekmaster is offline   Reply With Quote