![]() ![]() |
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. |
|
|
|
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.
|
|
|
|
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 ...
|
|
|
|
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.
|
|
|
|
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? I'm figuring that its keyhelper.xml but could not find any documentation anywhere. EDIT: Scratch that ... found some articles on that qcop thingie ... reading ... |
|
|
|
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.
|
|
|
|
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 |
|
|
|
|
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 ...
$ qcop QPE/TaskBar 'showInputMethod()' this shows the InputMethod nicely while a hideInputMethod hides it. 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? |
|
|
|
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?
|
|
|
|
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 |
|
|
|
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. |
|
|
|
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. |
|
|
|
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. |
|
|
|
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 |
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 06:04 AM |