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

IPB

Welcome Guest ( Log In | Register )

> Mapping A Keystroke To Qcop Commands, In Cacko1.23
Snappy
post Jan 31 2007, 06:11 AM
Post #1





Group: Members
Posts: 793
Joined: 28-November 04
From: NM, US, sometimes Asia
Member No.: 5,633



I've written a small script for toggling the input panel. (ime.sh)
It runs fine and now I'm trying to bind a keystroke to call it.

In keyhelper.conf, I added an additional line as follows

QUOTE
...
[Launch]
...
F26 = @qcop QPE/System 'execute(QString)' ime.sh
...


When I press Home+FirstJapKey (the one next to Ctrl), nothing happens. If I bind it as below, it calls up zeditor successfully.

QUOTE
...
[Launch]
...
F26 = Applications/zeditor
...


Anyone have any idea what is wrong with my call?
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Snappy
post Jan 31 2007, 09:30 PM
Post #2





Group: Members
Posts: 793
Joined: 28-November 04
From: NM, US, sometimes Asia
Member No.: 5,633



ok, so far seems to work ... smile.gif ... but takes like 3 seconds to do it! ohmy.gif

Thanks all for the input and suggestions! biggrin.gif
Once I get to my notebook, I'll write a C app to do it properly. My only hurdle is compiling for Z ... something I haven't come up to speed.

btw, meanie, can I gcc natively using gcc from pdaXqtrom?
Go to the top of the page
 
+Quote Post
Meanie
post Jan 31 2007, 09:34 PM
Post #3





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(Snappy @ Feb 1 2007, 03:30 PM)
ok, so far seems to work ... smile.gif ... but takes like 3 seconds to do it! ohmy.gif

Thanks all for the input and suggestions! biggrin.gif
Once I get to my notebook, I'll write a C app to do it properly. My only hurdle is compiling for Z ... something I haven't come up to speed.

btw, meanie, can I gcc natively using gcc from pdaXqtrom?
*


of course you can. my zgcc image supports both qte and xqt
Go to the top of the page
 
+Quote Post
Snappy
post Feb 1 2007, 03:10 PM
Post #4





Group: Members
Posts: 793
Joined: 28-November 04
From: NM, US, sometimes Asia
Member No.: 5,633



QUOTE(Meanie @ Feb 1 2007, 01:34 PM)
QUOTE(Snappy @ Feb 1 2007, 03:30 PM)
ok, so far seems to work ... smile.gif ... but takes like 3 seconds to do it! ohmy.gif

Thanks all for the input and suggestions! biggrin.gif
Once I get to my notebook, I'll write a C app to do it properly. My only hurdle is compiling for Z ... something I haven't come up to speed.

btw, meanie, can I gcc natively using gcc from pdaXqtrom?
*


of course you can. my zgcc image supports both qte and xqt
*



Roger that, thanks! smile.gif
Go to the top of the page
 
+Quote Post

Posts in this topic


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

 



RSS Lo-Fi Version Time is now: 22nd October 2014 - 05:38 PM