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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How To Enable/toggle Soft Key Input Via Hard Key, Specifically MurphyTalk
Snappy
post Jun 14 2006, 04:51 AM
Post #1





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



Hi all,

Anyone knows how to enable or toggle the soft key input via hard key?

Currently one needs to tap on the soft keyboard "button" on the taskbar to display the input panel. Is there a way to do this with a hard key?

I would love to be able to do so for MurphyTalk in Cacko 1.23 full.

Thanks for any suggestions or tips.
Go to the top of the page
 
+Quote Post
bam
post Jun 14 2006, 11:43 AM
Post #2





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



you could write a script using qcop to "simulate" a tap then use keyhelper to tie it to the key in question, or skip the script and use qcop directly with keyhelper.
Go to the top of the page
 
+Quote Post
Snappy
post Jun 14 2006, 03:48 PM
Post #3





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



Thanks bam ... tap simulation via script and qcop ... let me google them ... smile.gif
Go to the top of the page
 
+Quote Post
bam
post Jun 23 2006, 06:06 PM
Post #4





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



qcop QPE/InputHelper mouse(QString) "click 600 400" "wait xxxx" "click X Y" "wait xxxx'....etc. You get the idea, I have done this with keyhelper already so it works, as long as inputhelper applet is installed.
Go to the top of the page
 
+Quote Post
Snappy
post Jun 24 2006, 04:48 PM
Post #5





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



QUOTE(bam @ Jun 24 2006, 10:06 AM)
qcop QPE/InputHelper mouse(QString) "click 600 400" "wait xxxx" "click X Y" "wait xxxx'....etc. You get the idea, I have done this with keyhelper already so it works, as long as inputhelper applet is installed.
*


Any documentation on this so that I know what and where to put these settings? ohmy.gif

I'm figuring that its keyhelper.xml but could not find any documentation anywhere. sad.gif

EDIT:

Scratch that ... found some articles on that qcop thingie ... reading ... smile.gif
Go to the top of the page
 
+Quote Post
bam
post Jun 24 2006, 06:06 PM
Post #6





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



keyhelper.conf, or a script. you ca set a quicklauch key for that command and it works well.
Go to the top of the page
 
+Quote Post
Snappy
post Jun 24 2006, 10:32 PM
Post #7





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



QUOTE(bam @ Jun 25 2006, 10:06 AM)
keyhelper.conf, or a script. you ca set a quicklauch key for that command and it works well.
*


I presume you mean that it can be called via a script ... smile.gif
Go to the top of the page
 
+Quote Post
Snappy
post Jun 25 2006, 05:05 AM
Post #8





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



ok, I'm half-way there ... smile.gif

$ qcop QPE/TaskBar 'showInputMethod()'

this shows the InputMethod nicely while a hideInputMethod hides it. smile.gif

There's no toggle, though I presume there should be a query call for the current state ... still looking through qtopia documentation.

There is one showInputMethod(QString) thingie which allows you to show the input method you want, but I cannot figure out what to put into QString ... I tried showInputMethod('MurphyTalk') but it returns a Syntax error in parameter type

http://zaurus-ja.sourceforge.jp/imkit/README-0.4.0.txt
http://doc.trolltech.com/qtopia1.6/html/global.html
http://doc.trolltech.com/qtopia2.0/html/qcop.html

EDIT:
I figure out I can call using

$ qcop QPE/TaskBar 'showInputMethod(QString)' XYZ

... I just don't know what to use for XYZ to indicate MurphyTalk ... tried murphytalk, MurphyTalk, murphypinyin etc ... ideas?
Go to the top of the page
 
+Quote Post
bam
post Jul 22 2006, 06:50 PM
Post #9





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



what is murphytalk? an application?
Go to the top of the page
 
+Quote Post
Stubear
post Jul 23 2006, 03:21 AM
Post #10





Group: Members
Posts: 1,164
Joined: 17-December 03
From: Melbourne, AUSTRALIA
Member No.: 1,219



There is an app that will watch the qcop messages and write the to a log for you as they are being called by button/screen clicks etc.

Sorry can't remember the name right now - but something like qcoptest or qcopwatch - There have been posts about it in these forums before

Stu
Go to the top of the page
 
+Quote Post
chyang
post Jul 23 2006, 03:33 AM
Post #11





Group: Members
Posts: 271
Joined: 19-June 03
From: Beijing,China
Member No.: 156



From the README.txt you gave:
showInputMethod(QString)
activate specified IM (only Qtopia 1.6 or later)
e.g.)
qcop QPE/TaskBar 'showInputMethod(QString)' qhandwriting

It seems that current Qtopia on Z seems to be not high enough to support this functionality. I checked my C3000, it's only 1.5.4.
Go to the top of the page
 
+Quote Post
chyang
post Jul 23 2006, 03:50 AM
Post #12





Group: Members
Posts: 271
Joined: 19-June 03
From: Beijing,China
Member No.: 156



just find one:
qcop QPE/TaskBar 'rotateInputMethod()'
qcop QPE/InputHelper 'mouse(QString)' "click 600 410 left"

You will be able to activate the software keyboard.
qcop QPE/InputHelper 'mouse(QString)' "click 600 350 left"
It will hide the keyboard.
smile.gif
Go to the top of the page
 
+Quote Post
chyang
post Jul 23 2006, 03:52 AM
Post #13





Group: Members
Posts: 271
Joined: 19-June 03
From: Beijing,China
Member No.: 156



Issue:
qcop QPE/InputHelper 'mouse(QString)' "click 120 450 left"

will show the inputmethod selection. smile.gif
Go to the top of the page
 
+Quote Post
Snappy
post Jul 26 2006, 09:48 PM
Post #14





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



QUOTE(chyang @ Jul 23 2006, 07:52 PM)
Issue:
qcop QPE/InputHelper 'mouse(QString)' "click 120 450 left"

will show the inputmethod selection. smile.gif
*


Actually qcop QPE/TaskBar 'showInputMethod()' would show the inputmethod selection already. smile.gif
Go to the top of the page
 
+Quote Post

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: 23rd May 2013 - 06:04 AM