Snappy
Aug 23 2005, 07:14 PM
Hi all,
How to assign Rotation to a physical button? Thx!
lardman
Aug 24 2005, 01:39 AM
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
Aug 24 2005, 04:23 AM
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
Aug 24 2005, 04:45 AM
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.