Help - Search - Members - Calendar
Full Version: Checking For Button Presses
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
jcabrer
Now that I'm a bit more comfortable building ipks, I'd like to work up an ipk that installs proper support on the SL-6000 for rotation/direction pad matching, and so forth. What I don't know right now is what process is listening for button presses.

Can someone enlighten me?

Here is what I'm looking to implement:

Rotate Left
Rotate Right
Upside Down
Rightside Up

All with matching direction input using the Lamp/Rotate button located above the OK button. A short press would toggle the lamp. A long press would rotate the screen counter clockwise 90 degrees.
pgas
Are you using openbox (the windows manager that comes by default)?

If yes then add a shorcut in /etc/xdg/openbox/rc.xml

use xev to find the key to which you key is bound to. (possibly modify it in /etc/X11/kb/tosa.xmodmap)

There is no easy way to differentiate a long press from a short one this way.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.