On 4 March 2013 18:36, andy pugh <[email protected]> wrote: > Tunnelling up from the HAL layer to a gui-visible keypress sounds challenging.
Actually, it now doesn't. It looks like it would be fairly easy to write a module that converts signals in the HAL layer into keyevents, using input.h as described here: https://www.kernel.org/doc/Documentation/input/input-programming.txt and here:http://www.linux.it/~rubini/docs/input/input.html What would then be needed would be a mapping file between the matrix keyboard scancodes and the predefined key events here: http://lxr.free-electrons.com/source/include/uapi/linux/input.h Before I start experimenting, does anyone think that this is a bad idea? What it would basically offer is a conventional keyboard device connected via GPIO/HAL rather than USB. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
