From: antst <an...@ma...> - 2006-07-14 09:56:26
|
> Now this sounds like a great idea! > > Q: are there any prerequisites for using uinput? Kernel version? We > should add some checks to configure, I'm afraid.... > I think it is standard in 2.6 kernels. It just should be switched on. (I think on most distros it is default option) "CONFIG_INPUT_UINPUT=y" in ".config" > I don't know anything about the linux's uinput layer, but would it be > possible to use this stuff for all other displays with keys, too? > There's already a generic key handler in lcd4linux, which does nothing > at the moment but emit a debug message "key xy pressed". Should be easy > to integrate the passing to uinput.... > Yes, this can be done, very easy. I'll try to write patch at weekend. > on the other hand, is it possible to "get" generic keypresses from > uinput, too? this way, lcd4linux would benefit from other keys (probably > some unused keys from your keyboard, joystick, ..) > Hm...don't know does it work in back direction :) never thought :) > Thanks again. I know of this problem for months, but couldn't find the > time to hunt it. I moved your signal() to a seperate function > 'thread_destroy()', which is at least a bit less ugly :-) > :)) Anton. |