Help - Search - Members - Calendar
Full Version: How To Assign Rotation To A Physical Button?
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Angstrom & OpenZaurus
Snappy
Hi all,

How to assign Rotation to a physical button? Thx!
lardman
There's a QCOP call to perform rotation iirc; I presume that you can assign this call (look on the trolltech site in their docs to see its exact form) to one of the hardware keys using the applet on the Settings page,


Si
Snappy
Thx for the reply! I'll see what I can find on trolltech. btw, I'm trying to do this for opie/oz ... yes?
lardman
Yes that's right, otherwise it would be some other method (not a QCOP call).

If you get stuck, take a look at the source for libopie2 (iirc) and the ODevice definition - it shows how to perform rotation (you can find webcvs of the Opie source on www.handhelds.org).


Si
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.