OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: rafm on April 13, 2005, 01:27:40 pm
-
I can not find a good and portable way to implement keyboard accelerators, which could be used to start some actions from keyboard rather than menu or tool bar.
On SL5500 it is possible to use FN+Shift combination, which is not used to enter any characters. However when the same application runs on Cx00, the accelerators won't work - Cx00 uses different keyboard mapping. Besides, FN and SHIFT are located quite far from each other, so holding them together is not so easy. I really miss some F1-10 keys, probably emulated by CTRL+something combination, which would work the same way on all Zaurus models.
-
there is a way of doing it directly from a file afaik. Eg. the zaurus remote control "keys" call specific actions, i.e. xmms ... look for that file and you should be able to add what you like.
-
there is a way of doing it directly from a file afaik. Eg. the zaurus remote control "keys" call specific actions, i.e. xmms ... look for that file and you should be able to add what you like.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74987\"][{POST_SNAPBACK}][/a][/div]
I am not sure if I understand you right. Which are 'the zaurus remote control "keys"'?
What I would like to see is a several key codes reserved only for applications, which would not be used by either Qtopia/Opie or for entering characters. (Being an emacs user I am not so found of stylus-only applications
-
Hey,
the zaurus music remote control is setup as several keycodes. I have edited these in the past so that they can operate what I like... This is under pdaxrom... There is a config file somewhere that maps all the keys... In it you can define that a particular keycode launches an application.
-
Hey,
the zaurus music remote control is setup as several keycodes. I have edited these in the past so that they can operate what I like... This is under pdaxrom... There is a config file somewhere that maps all the keys... In it you can define that a particular keycode launches an application.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75097\"][{POST_SNAPBACK}][/a][/div]
I don't want to start an application with the keyboard. I would like to use some keyboard combinations in my own application. But all keyboard codes seem to be either already used or not portable across QT based ROMs and different Zaurus models.
-
I had this problem in opie-reader. In the end I just decided to let users map their own buttons by setting up a dialog with a list of mappable actions and mapping which ever key is pressed to the currently selected function.
Let me know if you want to try this and I'll talk you through the code.
(BTW, could you add a keepRunning (http://doc.trolltech.com/qtopia2.1/html/qpeapplication.html#keepRunning) call in the handler for qcop messages in zbedic - that way it'll stay open after being called from (eg) opie-reader.)