OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Keyboard Accelerators For Applications, No portable way of specifying them?
rafm
post Apr 13 2005, 09:27 AM
Post #1





Group: Members
Posts: 145
Joined: 13-November 04
Member No.: 5,449



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.
Go to the top of the page
 
+Quote Post
omega
post Apr 13 2005, 09:41 AM
Post #2





Group: Members
Posts: 626
Joined: 13-April 04
From: Ireland
Member No.: 2,825



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.
Go to the top of the page
 
+Quote Post
rafm
post Apr 14 2005, 12:45 AM
Post #3





Group: Members
Posts: 145
Joined: 13-November 04
Member No.: 5,449



QUOTE(omega @ Apr 13 2005, 06:41 PM)
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.
*


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 smile.gif
Go to the top of the page
 
+Quote Post
omega
post Apr 14 2005, 01:26 AM
Post #4





Group: Members
Posts: 626
Joined: 13-April 04
From: Ireland
Member No.: 2,825



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.
Go to the top of the page
 
+Quote Post
rafm
post Apr 14 2005, 02:08 AM
Post #5





Group: Members
Posts: 145
Joined: 13-November 04
Member No.: 5,449



QUOTE(omega @ Apr 14 2005, 10:26 AM)
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.
*


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.
Go to the top of the page
 
+Quote Post
TimW
post Apr 14 2005, 02:16 AM
Post #6





Group: Members
Posts: 288
Joined: 8-December 03
From: London, UK
Member No.: 1,065



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 call in the handler for qcop messages in zbedic - that way it'll stay open after being called from (eg) opie-reader.)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th November 2014 - 01:47 PM