yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] noname81:
Is the problem with "lightsout" solved/is xdaShutdown working for this purpose? Or do we still need a LMT internal command?
[Windows Mobile Software Development] ephestione:
downloading that this moment to test ;)

EDIT: works with the /lightsout switch, for the time being I associated it to longpress sendkey. In a testrun outside in the yard, with navicomputer, /lightsout keeps the gps tracking going with a smooth path, while oldschool powerbutton screenoff just turns off the antenna, and when I wake up from that on the track I see a straight line going from the last recorded fix before lock, to the first fix got after wakeup.

On S2U2 I have to turn off "lock when screen blank" and "lock when backlight off" to avoid standby with xdashutdown /lightsout, but I have to keep "lock when device wakes up" or the whole purpose of S2U2 will be defeated as the lockscreen will never appear (not even after pressing power button): this way, turning backlight off with xdashutdown will keep gps antenna working, but a random keypress in the pocket would make the lockscreen appear, and from there, either you unlock the device immediately and turn backlight off again, or when S2U2 turns off the device automatically from the lockscreen, then GPS antenna is shut down for good.

You can't have it all I presume... and even if LMT had its own ScreenOff command (which I still think wouldn't be a bad idea :D), xdaShutdown is a pretty workaround, and it has the same shortcomings with S2U2 that a ScreenOff function in LMT would have.

EDIT2: @noname81 by the way, how do you like the idea of 2 more diamond gestures, one starting top and clockwise, the other starting top and counterclokwise? ;)
[Windows Mobile Software Development] gnash.s:
Hello again,

I just read rest of the messages in this thread and found the xdaShutdown app. The command line option of XdaShutDown totally works and answers my question about turning off the backlight using a gesture.

Thanks guys!
[Windows Mobile Software Development] zalaros:
No answer for this? I thought it was a good idea :(
[Windows Mobile Software Development] ephestione:
I thought I replied to you sooner but I think I never got around to it... probably noname81 could very well do that, just like he can pickup the open applications with NexApp and PrevApp, he could very well implement a CloseAll command that cycles through them and closes them all... yet you probably would be better off associating a gesture with a taskmanager, and then use that taskmanager to do a closeall.

I use MMTaskManager which is a brilliantly small tool, and has a big Close All button on the top, I associated it to Diamond for quick one hand access :)
[Windows Mobile Software Development] noname81:
As ephestione said, it is a good idea to link a gesture to a powerfull taskmanager which can close all running apps at once. But ephestione is also right when he says, that the implementation for "closeAll" is easy. So I just hacked some lines of code and implemented that feature (will be part of v0.9) :D
[Windows Mobile Software Development] noname81:
Just read some posts about LMT in the FPSEce forum and the ability to have mt support in FPSEces free version. I just want to add this: FPSEce is a great piece of sw and you should also donate to that project, when using the free version with LMT...
[Windows Mobile Software Development] noname81:
hey ephestione, do you still need more gestures??? :) I already tested "diamond top cw". It interferes with the square gesture from time to time. But "diamond top ccw" should be possible...
[Windows Mobile Software Development] ephestione:
tee-hee :p

Well the need stemmed from my habit of sometimes reading manga with just one hand.

Since I have double swype left/right associated to dpad left and right, I use them to turn pages, yet when I'm using a single hand I still can do double swypes by arranging a tap and hold gesture... just with utter difficulty and very often I trigger double swype up/down instead.

So I was thiking about a one-hand gesture which could be easy to mirror for right-left action, and diamond topcw and topccw came to mind as it's very fast to do when I need to launch taskmanager.

Anything else which can be easily mirrored really could do the job, the first thing that comes off my mind is something like double swype left and then right, and double swype right and then left... just with one hand, and to not interfere with normal swype actions, you could make it so it's a more complex action, example:

one finger swype left then right then left (left command)

one finger swype right then left then right (right command)

Both of these would be made on the same line, if there is more than a slight skew from the consecutive linked swypes, then LMT won't trigger, to avoid as much as possible to interfere either with other gestures or with normal touch activity.
[Windows Mobile Software Development] ephestione:
nevermind

in the process of updating the rom, I got a very good scare when I noticed that LMT didn't work anymore.

An uninstall and reinstall with selected registyr backup solved it, phew :cool:
[Windows Mobile Software Development] noname81:
:-) I hope that HTC won't change the internal architecture of the touch driver in the future. Otherwise I have to do all that IDAing again to get LMT working... :D
[Windows Mobile Software Development] ephestione:
I've reached the point where I'd prefer staying on a older ROM version where LMT is working, than updating to newer and flashier one with no LMT support.

I have grown quite dependent on it, next step, eye-gestures! :D
[Windows Mobile Software Development] ephestione:
new feature request: chained commands

Idea: allow for multiple (random number) commands to be associated to one gesture and to be executed serially.

For example the value of the key for gesture X could be:

1) "\Program Files\HD2 Connections\Wifi.exe";"\Program Files\Opera\Opera10.exe";"\Program Files\blah\blah.exe";Rotate

2) "\Program Files\HD2 Connections\WiFi.exe";CloseApp

3) "\Program Files\Morphgear\Morphgear.exe" somerom.zip;Controller

4) "path to file";internalcommand;internalcommand;"path to file" parameters;"path to file" parameters

Do you get the picture? :D
[Windows Mobile Software Development] noname81:
Ah, that's a nice feature. So I just implemented and tested it. It works as you suggested (but without the quotes for the processes). Will be part of LMT v0.9... :D
[Windows Mobile Software Development] ephestione:
yabbadabbadoo :D
[Windows Mobile Software Development] Spl4tt:
didnt work on mine ;( installed it, then the multitouch gestures worked.. but singletouch didnt work anymore, what means that i needed to hardreset the phone.. couldnt unlock anymore, or do anything else, not even kill the process cause i cant tap on the screen, just use the gestures xD

well, not that bad, cause i needed a hardreset anyway

so it really only work on 6.5 roms and no 6.5.x roms? ;(

it should be really an amazing app.. cause it starts programms very fast and works fantastic.. ( i tried it till the screen shutted down, then couldnt unlock anymore xD..)
[Windows Mobile Software Development] noname81:
It should work on both rom versions. If you still want to install LMT :-) we can try to find out what went wrong on your device. At first, you could do the following:

- install LMT on internal memory

- after installation remove LMT from autostart (So you can do further tests and fix your device with a softreset)

- list the entries in the registry under HKCU\Software\LMT

edit: Please provide additional infos like ROM version, installed apps, etc.
[Windows Mobile Software Development] Spl4tt:
awsome, ty for the fast help :)

u see the rom in my sig, its 6.5.5 based on 1.66707.1

running background apps are mostly AEButtonPlus, WkTask and the LeoExtendedNotifications (for the flashing button lights^.^)

how can i remove apps from the autostart? >.< i dont find any folder, or am i blind? xD

ty again
[Windows Mobile Software Development] noname81:
Just go with your preferred file explorer to folder "\windows\startup\" and delete the LMT shortcut.
[Windows Mobile Software Development] ephestione:
Check this post of the thread: http://xdaforums.com/showpost.php?p=6558225&postcount=553

Apparently reinstalling will solve it, somehow.

On my latest 6.5.x rom I have to reinstall it as well, if I put LMT tegether with the bunch of CABs that sashimi processes, LMT will just not work (picks up only a handful of gestures, and only a few of those working gestures actually do something), but when I uninstall and reinstall it goes flawlessly.

Tried twice already and went the same way in both occasions (I had several BIG collateral problems with the new ROM so I needed to hard reset 3 or 4 times).
[Windows Mobile Software Development] Spl4tt:
ooh stupid me, i only searched for autostart ^.^ found it now, installed it again and deleted the shortcut

u need any special reg keys? cause there are many >.<!
[Windows Mobile Software Development] ephestione:
what you can do is opening the registry with totalcommander, and "copy" the \\plugins\registry\hkcu\software\LMT path to the sd, for example, and it will create a .reg file, then you can just dump the contents of that .reg file into a "code" tag in here
[Windows Mobile Software Development] noname81:
Perhaps a screenshot or a regdump! :-) Is LMT now running fine (see post from ephestione above)? Otherwise can you also provide the reg values for "HKLM\Hardware\DEVICEMAP\TOUCH\LockTouch" and "HKLM\Hardware\DEVICEMAP\TOUCH\MultiTouchDemo"?
[Windows Mobile Software Development] Spl4tt:
ok, done^.^

here is the regdump from HKCU\Software\LMT

[HKEY_CURRENT_USER\Software\LMT]
"WhiteListBack"=hex(7):5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,5C,00,4F,00,70,00,65,\
00,72,00,61,00,39,00,2E,00,65,00,78,00,65,00,00,00,5C,00,50,00,72,00,6F,00,\
67,00,72,00,61,00,6D,00,20,00,46,00,69,00,6C,00,65,00,73,00,5C,00,4F,00,70,\
00,65,00,72,00,61,00,20,00,4D,00,6F,00,62,00,69,00,6C,00,65,00,20,00,31,00,\
30,00,5C,00,4F,00,70,00,65,00,72,00,61,00,31,00,30,00,2D,00,61,00,72,00,6D,\
00,76,00,34,00,69,00,2E,00,65,00,78,00,65,00,00,00,00,00
"TapAndHoldGestureSupport"=dword:00000000
"SwipeUpDownDouble"="Down"
"SwipeUpDouble"="CloseApp"
"SwipeRightLeftDouble"="Left"
"SwipeRightDouble"="nextApp"
"SwipeLeftRightDouble"="Right"
"SwipeLeftDouble"="prevApp"
"SwipeDownUpDouble"="Up"
"SwipeDownDouble"="\\Windows\\TaskMgr.exe"
"SquareDouble"="CloseLMT"
"Square"="Controller"
"SingleTouchGestureSupport"=dword:00000001
"ShowOverlay"=dword:00000001
"QuestionmarkDouble"="Learn"
"DiamondDouble"="Back"
"Diamond"="Rotate"
"Delete"="Lock"
"ControllerVibrate"=dword:00000000
"ControllerKeys"="40,38,37,39,13,12,96,97,98,99,100,101"
"BlackListSwitch"=hex(7):73,00,68,00,65,00,6C,00,6C,00,33,00,32,00,2E,00,65,00,78,00,65,00,00,\
00,72,00,65,00,70,00,6C,00,6C,00,6F,00,67,00,2E,00,65,00,78,00,65,00,00,00,\
63,00,70,00,72,00,6F,00,67,00,2E,00,65,00,78,00,65,00,00,00,6D,00,61,00,6E,\
00,69,00,6C,00,61,00,2E,00,65,00,78,00,65,00,00,00,00,00
"BlackListClose"=hex(7):5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,5C,00,6D,00,61,00,6E,\
00,69,00,6C,00,61,00,2E,00,65,00,78,00,65,00,00,00,5C,00,57,00,69,00,6E,00,\
64,00,6F,00,77,00,73,00,5C,00,73,00,68,00,65,00,6C,00,6C,00,33,00,32,00,2E,\
00,65,00,78,00,65,00,00,00,5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,\
5C,00,67,00,77,00,65,00,73,00,2E,00,65,00,78,00,65,00,00,00,5C,00,57,00,69,\
00,6E,00,64,00,6F,00,77,00,73,00,5C,00,73,00,65,00,72,00,76,00,69,00,63,00,\
65,00,73,00,2E,00,65,00,78,00,65,00,00,00,00,00
"BlackListAll"=hex(7):00,00,00,00

the value from HKLM\Hardware\DEVICEMAP\TOUCH\MultiTouchDemo is 1

but LockTouch doesnt exist.. >.<

EDIT: OMG WAIT xD it works now Oo just started it again and its working... >.<!

checked the HKLM\Hardware\DEVICEMAP\TOUCH\LockTouch again too, its there now Oo stringvalue 0,0,480,800

but yea, it works now, and im enjoying it O.O amazing app truly

thank u very much for ur help, doing some softresets now to watch if it still works after it..
[Windows Mobile Software Development] noname81:
Good to hear that it works now! I think the problem was the missing LockTouch value! Without this registry value, LMT will not work properly...
[Windows Mobile Software Development] Spl4tt:
but it just appeared Oo well, doesnt matter, atleast it works now =D thank u very much :) its an awsome app
[Windows Mobile Software Development] cakira:
Hi!

Even though noname81 has already implemented this feature, do you know Mostscript? Using it, it would be possible to implement this feature and much more (Mortscript can simulate clicks on the screen).

As a problem, I guess MortScript woldn't be able to execute LMT's internal commands. But that could be solved by noname81 allowing command line options to LMT.
[Windows Mobile Software Development] ephestione:
you're right ;)

In fact I know mortscript, and once I was thinking about programming a task scheduler with it because there's no free software that does that, but the thought of using it to associate lmt to .mscr files didn't pass my mind.

Yet, as you said, yeah you cannot really have commandline access to lmt commands, YET... hey noname81... HINT!! :p

How about having a LMT.exe /closeAPP or LMT.exe /Controller and so on? :D (good idea cakira ;))
[Windows Mobile Software Development] noname81:
hm, I don't know if that is a good idea. LMT is a background process and is only started once. So LMT should not be able to start a new LMT instance to perform a short task. It would be better to outsource all internal commands and provide an addional app for that!?
[Windows Mobile Software Development] ephestione:
true, I actually didn't realise that LMT.exe is always running so calling it again would be troublesome, silly me :p

Yet, having LMT always call an "external" app also for "internal commands" is contradictory. Think for example about the controller, it's an internal feature that in order to be activatred would still need the external exe to "backfire" at LMT.exe

So nevermind :D Having chained commands into reg keys serves the purpose in the best way, and I think that the "general purpose" internal commands that could be useful to other applications are already available through toggle exe's.

By the way, having wifi and BT toggles as internal commands wouldn't be bad tho, if they're easy to add :) Maybe even softreset and/or shutdown and/or vibrate toggle, in other words the usual stuff that gets normally shipped as single exe toggles
[Windows Mobile Software Development] kane159:
This app is very cool :D

I like it, and I had make a setting gui tools, if any one like it you can dl it and use ;)
[Windows Mobile Software Development] ephestione:
great tool ;)

I already have my manual settings in a reg export that I bring with me from one flash to another with sashimi, yet your program will greatly advantage those who install LMT for the first time and have no clue how to do things.

Few ideas about how to improve it, make it possible to also set the questionmarkdouble gesture, and and up/down/left/right in the possible actions, also keep in mind that "alt tab" is really divided into nextapp/prevapp... and to top it off for superleetness, set a file selection dialogue (best if associated with filedlgchanger.cpl on the user's setup) to pick the exe file, and maybe add the needed commandline parameters is a separate text field :)
[Windows Mobile Software Development] kane159:
thanks for your advice ;)

ok, this is new one , but i think the questionmarkdouble gesture we should leave it as default

and up, dowm, right, left is useless and there's no enough space to use

the new version

also I disable the message box, it's useless,couse this program is very fast,

preview
[Windows Mobile Software Development] ephestione:
cool, even the import/export settings, way to go :D

Personally, I think that you should never limit what the users can do, as long as there are other things you can allow them to do, otherwise we would all be using iphones instead of hd2's ;)

I thought the program window will automatically become scrollable if you added more items, but then again I am only semiproficient in php and mysql and have no idea of how wince programming works, but just for the chatting, I personally have set questionmarkdouble to open controller, and I have up/down/left/right set to doubleswypes since I need them in TCPMP as no dpad can be a huge limitation in some programs :)

Props for the work!
[Windows Mobile Software Development] Pera55:
LMT crashes my HD2

Microsoft Visual C++ Debug Library

Debug Assertion Failed

Program:

\Programme\LMT.exe

File: C:\Program

Files\Microsoft Visual Studio

9.0\VV\ce\include\vector

Line: 779

Expression: vector subscipt

out of range

(Press Retry to debug the

application)

Um abzuweisen, tippen Sie auf "X".

Frozen Windows logo is shown, :eek:

no soft reset, only a hardreset will awake my "baby":(

So I am forced to miss this nice features? :mad:
[Windows Mobile Software Development] noname81:
Please see this post: http://xdaforums.com/showpost.php?p=6539693&postcount=536 to reanimate your HD2.

After that you could install LMT in "safe mode" (remove it from autostart). See this post for details: http://xdaforums.com/showpost.php?p=6558225&postcount=553

This seems to be a problem with missing reg values after first installation! But I don't know, why the setup is not able to write the values in some cases...!?
[Windows Mobile Software Development] ephestione:
probably it would be better to ask l3v5y to add in first post in big red letters that right after install it's always a good idea to manually check the presence of the regkeys, and maybe also make 0.9 not add itself to startup applications, but rather show a startup dialog box where it explains "LMT will now be started after pressing OK (else, Cancel), if you cannot use your system anymore please reset the device and blah blah"
[Windows Mobile Software Development] reijkelhof:
camera or recorder

hello

I am using LMT and really like it, but I am running into a weird problem.

I use double swipe left to goto the camera, and double swipe right to goto recorder.

This does not seem to work?

Sometimes, a double swipe left will open the camera, but often, the recorder is opened instead?

Same with double swipe right. Sometimes opening the recorder, but other times the camera.

50/50 or close to it.

Is there any way I can get it to work flawlessly?

edit:

I checked my registry, and both doubleswipe left and doubleswipe right point to camera.exe.

So what do I do to make it work the way I intended?
[Windows Mobile Software Development] ephestione:
open doubleswyperight key and insert a value of \Windows\Recorder.exe (check first if that's the exe you need)
[Windows Mobile Software Development] reijkelhof:
Thank you for wanting to help.

I am afraid have been incomplete in explaining my problem.

I found recorder.exe, but that leads to a voice recorder, which is not what I meant, for that I am sorry.

I am trying to set the swipes for photo camera and camcorder (video) on my HTC HD2 phone.

But trying to set it up with learning mode (double questionmark) ends up with both right and left swipes leading to /windows/camera.exe.

I would not know what I need to do, or enter in the registry, to make double swipe left goto photo camera, and double swipe right, to video camera (camcorder).
[Windows Mobile Software Development] ephestione:
ooo THAT's what you meant by recorder! :D

For fotocamera, use "\Windows\Camera.exe" /i

for video recorder, "\Windows\Camera.exe" /v

Alas, you absolutely need to edit registry, since learn mode has no way to distinguish the "mode" that camera.exe is in... either that, or simply use app linked in this post http://xdaforums.com/showpost.php?p=6793215&postcount=629
[Windows Mobile Software Development] reijkelhof:
Almost :)

The answer also was partly in the first post and I had looked over it.

The solution to my problem was to insert:

"\Windows\Camera.exe,/i"

"\Windows\Camera.exe,/v"

Working fine now

Thank you for pointing me in the right direction with using /i and /v.
[Windows Mobile Software Development] zalaros:
@kane159

Unfortunatelly your program doesn't work properly on my Hd mini :( The program starts fine but it doesn't change anything. Any ideas?
[Windows Mobile Software Development] noellenchris:
Thx, very nice work!:D
[Windows Mobile Software Development] appelflap:
Hi noname81,

Still no single-touch mode ? :p:D
[Windows Mobile Software Development] noname81:
What feature do you mean? More single touch gestures?
[Windows Mobile Software Development] flame10:
Looks an indespensable app.. will try on my hd2

Hurray.. now I can play flash games on my HD2 thanks to LMT

Update: Works wonderful with LMT, yes in landscape view too, the controller works perfectly . Here's what I do, I start the controller in rotated mode, instead of starting it before rotation.
[Windows Mobile Software Development] Spl4tt:
i got a bit delay when i use the LMT controller in morphgear.. is that normal? >.<
[Windows Mobile Software Development] noname81:
Hi, sorry for the late reply. I don't have that delay. Did you install morphgear and LMTs gamepad as described in the first post? Do you also have that delay with FPSEce?
[Windows Mobile Software Development] Spl4tt:
didnt try it in FPSEce, only morphgear..

well, i did it like that, only thing is that morphgear is in the storagecard.. cause suxx when i hardreset or install new rom, i need to make all settings again when its in the internal storage.. is it really this? maybe i just have to try it..
[Windows Mobile Software Development] noname81:
You can export all morphgear related registry settings (HKCU\Software\morphgear\*). Then, after flashing a new rom, install morphgear, import the settings and everything should be restored...

Btw: Do you encounter that problem with different roms? Also with the stock rom?
[Windows Mobile Software Development] poagester:
my issues with lmt installed on hd2

I installed the cab file initially, however, the application did not work. I read a few posts and thought I had not thought of reinstalling the app, :eek: !! So, I reinstalled the app and wollah :D it worked!
[Windows Mobile Software Development] ephestione:
this same thing happens to me everytime I flash a new rom. If I stream it with all the other cabs using sashimi it just doesn't work, it's messy and whatnot.

I just need to run the cab once more and voilà it's back at its full glory
[Windows Mobile Software Development] dan138zig:
Trying to play FPSEce with LMT is frustrating :(

OK guys, this is gonna be a total newbie-ish question, so bear with me :(

Yesterday I installed FPSEce but for the life of me couldn't get past the controller setup step. HD2 only has 5 hardware keys anyway. Today I found out that LMT launcer can provide soft controller for FPSEce. Great, I thought. So I followed the instruction:

* install FPSEce on internal memory

* before first start replace the existing fpse.ini with the attached one

* now start FPSEce

* load a rom, start LMTs controller and have fun!

The first three steps are easy of course :D But then comes the mindboggling thing (for me). When I try to press the LMT buttons it doesn't have any effect at all :( How do I assign PSX buttons to the LMT buttons? And how to make the controller landscape to play the game in full screen? Trust me I've read the manual and all that. I've never been this frustrated about an app. I'm actually a fast learner :D But this is just tiring. So please, if anyone wililng to help I'll be so so thankful.
[Windows Mobile Software Development] ephestione:
rotating the controller to landscape is as easy at to press the R button, as afaik the ini file provided is enough to make the controller be useable... yet if pressing the buttons does nothing for you, then it's probably a matter that noname81 himself should address :)
[Windows Mobile Software Development] noname81:
If you still have that problem, can you please post your reg value "HKCU\Software\LMT\ControllerKeys" and your fpse.ini? Also delete the game specific FPSEce configs (fpsece folder\cfg) and restart FPSEce.