yashsingh1/xdaforums huggingface dataset:
[Touch HD Themes and Apps] Tirinoarim:
Its all on my to-do list!

* Landscape mode

* Button enable/disable

* Application by exe name

* Configuration via UI

The "Allowed" list current works using GetWindowTitle() which can be a little unreliable. I'm going to change/fix it when I find the mobile equivalent of GetWindowModuleFileName(). NOTE: GPad shows the last active window title at the top for easy identification for adding to the config file. You will notice sometimes though that its empty/blank hence the need to use exe name rather than window title.

Thanks for your patience, its getting there... slowly!
[Touch HD Themes and Apps] optiquest:
Greatest work i have found today, thaks ^_^
[Touch HD Themes and Apps] Tirinoarim:
Another new version in post #1 - Application allowed list now uses application name rather than window title.
[Touch HD Themes and Apps] Daniel H.:
Hi

I also have the Touch HD and I had to try this. I installed the app. and ran it, but it was moving only up. I thought, that the calibration of the G-Sensor is bad, but it is OK. And it looks centered, when the device is 45° inclined.

Anyone else having this problem, too??
[Touch HD Themes and Apps] Tirinoarim:
Its not a problem, its configured that way because most people dont "use" their phones flat. If you prefer it to work that way, edit the config.xml file and change "CenterY" to 0.
[Touch HD Themes and Apps] jacare:
A Suggestion:

Instead g-pad being monitoring by the "relative" position, why doesn't G-Pad monitor only the acceleration applied to the device?

One practical example in Opera:

One slow movement (down -> up) would make the page go down slowly... a fast one would go faster....

This way the position you use the device would not make a difference... only the acceleration a person would apply.
[Touch HD Themes and Apps] LordDeath:
We need an easy and fast way to enable and disable this. A hardwarebutton would be cool, but the HD hasn't enough. Or maybe a little switch somewhere in the taskbar? And in the moment you turn it on the current position becomes the default and you can use the tilt scrolling in every individual situation.

Do you have any idea how this could work?
[Touch HD Themes and Apps] abeery:
Momentary Enable

I know several of you are calling for a toggle to turn on and off... I would argue (respectfully of course) that this would provide an inadequate solution... This might sound trival but I only want the scrolling to occur when I want the scrolling to occur If the app is only active WHILE I'm holding down the BACK ARROW then an accidental movement when I'm holding the device will not cause an accidental scroll... also since most d=pads work by touching a button this would be a very natural thing to do... hold button, flick device in direction you want to scroll, release button...

Worst case maybe this could be an optional mode of operation along with the ON ALWAYS for a given application... just ideas
[Touch HD Themes and Apps] DaveShaw:
How about a shake to enable option, or something similar (if possible) :)

Sorry Rich :p

Dave
[Touch HD Themes and Apps] Tirinoarim:
There's plenty of ideas there, thanks guys. The original idea was just to run it before running certain apps (particularly games). I never considered people would use it in "proper" app (like Opera).

I'll have a think/play with some ideas for toggling on/off this weekend. I have one or two ideas myself... ;)
[Touch HD Themes and Apps] abeery:
You're doing a great job with this and obviously spending some time on it... I hope you will consider putting up a paypal link at some point so I can buy you a beer for your efforts
[Touch HD Themes and Apps] frmariam:
For now to get a per app behavior I think MortScript may do the trick.

If you never used it, you can create scripts with a notepad and then you must change the file extention to .mscr before running it on the pda.

Something like this:

Run( "\A minha memória\GPad.exe" )
WaitFor( "GPad", 20 )
RunWait( "\Cartão de memória\Notepad.exe" )
MouseClick( "GPad", 0,400 )

Just replace:

1- In the first line and between "" put the path where GPad.exe is

2- In the second line, if not enough time to load GPad, replace 20 (number of seconds) with a higher number

3- In the third line and between "" is the path to the app you wish to use GPad with (for instance a path to a game)

4- In the fourth line, the first number represents x and the second y. 0,0 is the first pixel in the upper left of your screen. This script tries to press "Exit" which is in the lower left corner. I have an Omnia so while in portrait mode my screen res is 240x400 (that's why I use 0,400).

Customizing the example script I just gave will be able to load GPad just for the selected app and close it when that app is closed. It's not the perfect solution (or script...) but works.

You may then replace the shortcuts to the app with others to the desired scripts if you want.
[Touch HD Themes and Apps] abeery:
Fantastico... Obrigado!
[Touch HD Themes and Apps] thinkxtreme:
it's not working on my touch hd.

though i can see moving cross on the white screen, with win [service.exe].

i've 'minimized' the white screen, and test it in mobile word. doesn't seem to work.

is it conflicting with my gyrator?

pls advise
[Touch HD Themes and Apps] Daniel H.:
Yes I have changed it and now it is OK. Thanks
[Touch HD Themes and Apps] maati:
That sounds great. I support that idea, that would probably make it perfect.

There should be an option to either monitoring the position or the acceleration. Because in games, you often "long press" a key and in order to do that, G-Pad must monitor the relative position instead of the acceleration.
[Touch HD Themes and Apps] Zepiii:
i agree, only acceleration instead of the relative positive would be really better..

v0.4 with that plzz !
[Touch HD Themes and Apps] maati:
but don't remove the relative position option (for apps that require long keypress)
[Touch HD Themes and Apps] Tirinoarim:
Sorry guys (and gals?), not been feeling great today so no progress I'm afraid. I'll try and add in the "Accelleration" instead of "Position" option tomorrow. I'll set it up on a per-app basis rather than global option. Whilst acelleration will work better in opera, it would be useless for games!
[Touch HD Themes and Apps] Wolfenzi:
Are there any games which works with this ? Only thing which works for me is file explorer.
[Touch HD Themes and Apps] maati:
Any game should work, you have to add the .exe file of the program you like to control to the settings .xml file.
[Touch HD Themes and Apps] Wolfenzi:
I cant get any game to work... Tell me some game which surely works.
[Touch HD Themes and Apps] Pytagoras:
I tried now with MorphGear, didn't work. If you can get it to work with all applications, especially emulators / games, then this got incredible much potential!

Also opened Office Word, tried to move the text cursor, nothing happened. The only thing that I tested and that worked, was selecting files etc in the File explorer.
[Touch HD Themes and Apps] Wolfenzi:
Same here, only file explorer. Nothing else works.
[Touch HD Themes and Apps] Tirinoarim:
As discussed previously, the Config.XML file needs changing to add applications you want to control. For example, if you want it to work for cursor control in word, add the executable name (PWORD.EXE) into the Applications section:-

<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Applications>
<string>GPAD.EXE</string>
<string>SHELL32.EXE</string>
<string>FEXPLORE.EXE</string>
<string>PWORD.EXE</string>
</Applications>
<Threshold>50</Threshold>
<CenterX>0</CenterX>
<CenterY>150</CenterY>
</Configuration>

Restart GPad and it should work (it does on my HD!).

NOTE: GPad displays the last executable it "saw" at the top of the screen. If you run GPad, then your application, then exit your application, GPad should show the executable name at the top. Simply add that to the config file (as above) to control that application.

Sorry not much progress on this over the last couple of days, been a little busy! Next on the list is accelleration based control (per app), then config via the UI.
[Touch HD Themes and Apps] kubeb:
I've installed it and it works good on the file explorer.

I've tried to add apps using the config.xml but it is not working where I want it to work.

the apps that I added are :

<string>S2U2.EXE</string>

<string>ILOCK.EXE</string>

<string>AdobeReaderLE.exe</string>

<string>AlbumSearcher.exe</string>

<string>calendar.exe</string>

<string>HTCAlbum.exe</string>

<string>HTCMessage.exe</string>

<string>poutlook.exe</string>

the scrolling only works on file explorer and the programs+settings screen (the WM not the TF3D)

How can I add the scrolling in CALENDAR,CONTACTS, CALL HISTORY (+dialer call history) TF3D moving between tabs (scrolling in the tabs such as call history, contacts, album)

thanks
[Touch HD Themes and Apps] Tirinoarim:
Apologies!

Ah, I figured it out. Its due to the case-matching of the XML and the application name. If you change the application names in your XML to uppercase, it should all work fine. Alternatively (and better), download the new 0.4 version I put in the first post and it should all work now.

Sorry, a bit of slack coding on my part :o
[Touch HD Themes and Apps] Pytagoras:
It works now in Word etc. But not in MorphGear while playing.

Well, it works when I am remapping buttons. For instance, I want to remap UP button, so when I tilt the HD up, it recognizes it as UP-button. But it don't work while playing, only in the menu etc. Tried to disable on-screen D-Pad aswell, no change.

Great job btw, hope you continue your work!
[Touch HD Themes and Apps] Tirinoarim:
Guys & Guy-ettes, new version in first post. Changed the config file format a little because it now supports Acceleration mode. This is a first stab at this method so apologies if this mode seems "Clunky".
[Touch HD Themes and Apps] kubeb:
I've installed Ver 0.5.

Can you (or someone else) point the right file so I can add for these:

CALENDAR,CONTACTS, CALL HISTORY (+dialer call history) TF3D moving between tabs (scrolling in the tabs such as call history, contacts, album)
[Touch HD Themes and Apps] Tirinoarim:
I've got a new version going up in a mo but the following should get you started.

Calendar & Contacts = "POUTLOOK.EXE"

Call History = "CPROG.EXE"
[Touch HD Themes and Apps] Tirinoarim:
New Version

New version in first post. Minor bug fix for displaying last run/recognised application.

Sorry for all the updates today, I just keep trying to do as much as I can every time I get a little spare time! Can you please start PM-ing me apps/games that do/dont work and I'll try to keep an up-to-date list in the first post.

I'll also try figuring out why some dont work!
[Touch HD Themes and Apps] rhtizzy:
No worries, I'm sure everyone's just thrilled with the work you've released so far and I know I'm not the only one sitting on the edge of my seat to see what's next! Thanks again and keep up the excellent work!
[Touch HD Themes and Apps] Mishael:
So guys, is there any way to control manilla tabs with this app?
[Touch HD Themes and Apps] Mishael:
Ok, I figured out how to make this work with manila tabs.

This app is almost perfect!

There is only one thing that should be changed.

Is it possible to seperate single-clicks from constant scrolling. What I mean is that scrolling should be activated only by bigger deflections and smaller deflections would work like single-clicks on dpad.
[Touch HD Themes and Apps] Guus_:
I tried it with FinalBurn+Dodonpachi, it works a little bit, but it's unplayable. :eek:

It looks like that D-pad only sends data every ~0.5 sec. So the ship moves shocked, moves a bit every 0.5 sec.

It would be awesome to get this thing working completely, would be the best thing for the HD, Dodonpachi, ESPrade, Dimahoo, Progear would be great to play on the HD!

Thanks for the work! I'm looking forward to the next release.
[Touch HD Themes and Apps] abeery:
I love where this thing is going but I'll make another push for a temporary activation by holding down the BACK ARROW button so that control is more natural and not subject to inadvertent scrolling even in an application that should have g-scrolling. (Again congrats on some great work)
[Touch HD Themes and Apps] Mishael:
Great idea. If both ideas would be implemented, it would be the most versatile dpad ever :D
[Touch HD Themes and Apps] Tirinoarim:
Great ideas ppl, just got to figure out how to implement them!

Guus_, which mode were you playing those games in, Tilt or Accel? At "Full Press", the dpad should tick every 0.1s.

As for the single press, how about you tilt in the given direction (thats 1 press) then you have to "center" and tilt again for a second press? Sound workable?
[Touch HD Themes and Apps] AndyCr15:
I'm with you. Tbh, I don't think I'll install this until it's implemented. Surely you can use it while it activates all the time? Isn't the cursor bouncing around all the time?
[Touch HD Themes and Apps] Tirinoarim:
Button-To-Activate

Hey all,

Just to reassure those that have requested it, I am working on being able to enable/disable GPad via a hardware button. I'm just trying to figure out how to intercept the button press. I can pick it up easy enough but then I need to somehow "remove" the button press so the other app doesnt pick it up.

For example, if you have GPad running then up file explorer, if you then press "Back" button to activate GPad, that will work but then file explorer also picks up the button press and closes.

As for "The cursor always jiggling about", there is a "dead zone" where no action occurs. This is configurable in the xml (Threshold). You can see this in action if you change GPad itself to be a Tilt app, whilst you see a dot on the screen, no button press events will be fired, only when it becomes a cross does that happen.

I hope that helps/reassures you all.

BTW: If anyone knows how to intercept/remove hardware button presses, please let me know!!
[Touch HD Themes and Apps] AndyCr15:
Not that it's any use to you, but AEB Plus manages, is there any way to find how it does it?

Although not a final solution, can you maybe post a cab with the back button actioning it, those of us with AEB Plus can remove it actually going back, that could be bound to double press or something.

Mind you, would us unbinding back key stop yours from picking it up? I assume not?
[Touch HD Themes and Apps] Tirinoarim:
I'll look into it. I'll also have a go at running them in parallel to see if that works. I'll let you know the results as soon as I have them! Cheers for the info Andy
[Touch HD Themes and Apps] stepw:
Hello,

I'm primarily using Virtual D-Pad with my ebook reader (alreader2) and it works perfectly. Thank you for your great work!

At the moment I'm using MobileMagic to map virtual D-Pad execution to double press of "back" key on my Touch HD and that works well too, except that:

1. Exit soft-key has to be pressed in virtual D-Pad to exit, so I can't toggle it easily

2. It takes a few seconds for Virtual D-Pad to start up, so there's a noticeable delay

3. Virtual D-Pad starts maximized and becomes the active window, so it has to be minimized before I can use the target application

So one feature that I believe could be handy in Virtual D-Pad is command line parameters to disable/enable it or to close a running instance. I can probably script it or make a wrapper to do that, but if it's implemented natively, it will be a lot more efficient.

Another feature that some people might find useful is axis lock-down, where D-Pad only operates in one dimension, e.g. up/down (X axis) or left-right (Y axis) under certain conditions (e.g. configured per application or triggered by an event, such as key press). Personally I couldn't find a sensitivity threshold which allows me to use D-pad effectively in applications that require cursor to be moved in 2 dimensions, accidentally I would tilt a bit to the right when tilting down and the result is not as expected.

AEB Plus referenced above is closed source and unless you contact the developer, who may or may not be willing to collaborate, determining the approach used by the author to intercept hardware key presses might require reversing, which is pretty time consuming.

It could be very productive for you to join efforts with another person actively working in this area - Yerry, who is working on his MobileMagic application, see

http://xdaforums.com/showthread.php?t=449654

Yerry is researching various hardware keypress interception approaches to find a reliable and robust solution to the same problem you have faced.

IMO, if functionality of Virtual D-Pad and Mobile Magic can be implemented in a single application, it will be a very prominent achievement.
[Touch HD Themes and Apps] Tirinoarim:
Hi StepW,

First off, thanks for the detailed and constructive response. Its good to hear someone is using it "in the real world"! Onto your points...

As discussed, I am working on a solution to enable/disable via a hardware key. I sort of have it working in principal with the "End Call" key but the "Back" key is proving a little more troublesome!

Hmm, I'm afraid its written in .Net so thats probably the startup overhead. I'll look at rewriting in C++ in the future.

I'll add a "minimise on startup" option (as per Gyrator).

Fair enough, I'll add it to my "To-Do" list!

I should be able to quite easily add that configed per app but a keypress will be more difficult (mainly because we are running out of keys!)

I'll look into that. By increasing "Threshold" in the config, you should have the desired effect. Sounds like that may not be working correctly.

Indeed, although I am making some progress. It would seem that the "Back" button is actually a key-combo (much like the End Call key) of Win + 0x405C. I'm working on that now!

I'll take a look at that, thanks for the heads-up. I'll send Yerry a PM when I get a spare min.

Thanks again!
[Touch HD Themes and Apps] Fawaz_DJ:
Hey Tirinoarim great job thes what I was looking for :)

But seems I can't get it work on Omnia could you do some

adjustments so it work on Omnia I really want this software work

thanxxx
[Touch HD Themes and Apps] stepw:
Hi Tirinoarim,

Wow, thanks for a detailed response and taking my suggestions seriously.

I'm not very versed with .NET et al, but if you want, feel free to PM me if I could be of assistance with research, development or testing of G-Pad...

Best of luck!
[Touch HD Themes and Apps] Fawaz_DJ:
Ok, I figured out how to make this work :')

This app is almost perfect!

There is only one thing that should be changed

D-pad only sends data every ~0.5 sec

If there any way to change the data sender speed

well be nice

>> EDIT: to make this work you need to add the application name manually to the config.xml file

it should be added by the D-pad program automatically by copying the application name from

program main screen that’s will help

thanxxx
[Touch HD Themes and Apps] Toggs:
This App Rocks!

First Off Tirinoarim, I gotta say a big thanks for this app and the effort you've put in.

This is going to be the "must have app" for the HD.

I use it already for Mobibook and it works fine.

I have a observation and suggestion, hope it agrees with you.

I ntice in Opera9 when I tilt it jumps around the page in big chunks. In the minimised view of Opera it jumps to the various links. Could we (you) get it to act naturally like scrolling around a page with your finger on the screen?

A bit like the Teeter game that comes with the HD - you tilt a bit it moves slow and smooth, tilt a bit more and it accelerates a bit more etc.

Anyway, whatever, Like I said before - This App is/is going to be the best thing on the Touch HD

Toggs:D
[Touch HD Themes and Apps] Tirinoarim:
Hmm strange, according to an earlier post (see #22) it does work on omnia. I guess I need to find someone who has one so I can test it!
[Touch HD Themes and Apps] Tirinoarim:
Thats how the "Tilt" method is *supposed* to work. I have to admit that I havent tried it with Opera. I'll give it a go and see what the score is.

Does anyone have a phone with Opera and a real D-Pad to see how it should react?
[Touch HD Themes and Apps] Tirinoarim:
The "Ticker" in GPad is set to 0.1s so not sure why your experiencing 0.5s. You tried tilting your phone more!? :D

As for adding the name within the app, its on the to-do list (along with pretty much everything else in this thread!)
[Touch HD Themes and Apps] frmariam:
It's design for HTC sensor. It works on Omnia if you have the right .dlls in the same dir as the GPad (or in the windows folder... not sure).

May not work with what you want to use it with but the app does work.

I don't remember where I got it from so I'll attach it...
[Touch HD Themes and Apps] Fawaz_DJ:
ok that was quick :)

I download all of your update 0.3 is the best one working on my Omnia

just add the game name to the config.xml file

for The "Ticker" is set to 50 i think it equal to 0.5 sec ??? Is that right

i changed to 20

>>>> 0.6 work but it frezz so jumpy and Unstabl

these is my settings for version 0.3

</Applications>

<Threshold>20</Threshold>

<CenterX>0</CenterX>

<CenterY>85</CenterY>

</Configuration>

thanxxx

i got thes emu file long time ago

thanxxx
[Touch HD Themes and Apps] Tirinoarim:
Ah, no, the "ticker" is hard-coded at 0.1s. What you have changed there is the "Threshold". This is the size of the "dead zone" (i.e. how much you have to tilt the phone before it registers).
[Touch HD Themes and Apps] Tirinoarim:
Its time...

Sorry all, probably not going to be any updates for a couple of days because its come to that time where the app needs re-writing. GPad was originally a beta/proof of concept but now it needs to be a "proper" application.

Please be patient whilst I get the rewrite done.
[Touch HD Themes and Apps] Kizmet:
Take your time, dude. With a nice easy UI and some tweaking you have a potentially killer app on your hands. Good work. :-)
[Touch HD Themes and Apps] Fawaz_DJ:
o man that's just awful its pretty slow need more speed :confused:

one more thing to add to do thing list:)

auto start like if i start a game the G-pad start with the game

and the same for exit

thanxxx:cool:
[Touch HD Themes and Apps] tomasn:
I also think this is an excellent suggestion and hope the author of this promising software can implement it for the next version. I use AE Button Plus and could then easily just assign the enabling and disabling to the buttons of my choice. If its hardcoded into the GPad it would probably interfere with AE Button Plus anyway and I would not like that.
[Touch HD Themes and Apps] AndyCr15:
Hmm, I dropped it in, ran it, opened up Word... doesn't work :(

Am I supposed to have configured anything first, or does it work right out of the box?
[Touch HD Themes and Apps] Mishael:
You have to add an application to .xml file.
[Touch HD Themes and Apps] AndyCr15:
Ok, thanks. How do I make it work in text messages though? What is the app name for that?
[Touch HD Themes and Apps] DaveShaw:
TMail.exe.

Dave
[Touch HD Themes and Apps] Tirinoarim:
Lol - Cheers Dave, I'll make you a brew in the morning!

:D
[Touch HD Themes and Apps] DaveShaw:
Key's under the door matt, Kettles in the Kitchen, Wake me up when ready. :D

P.S. is the back button working OK now, I'm on IRC at the mo.

Dave
[Touch HD Themes and Apps] edwinlinkt:
Tried v0.6 on PocketGBA... no success... won't map on direction buttons... can't tilt to move characters... :(

Hope future version can work on PocketGBA :)
[Touch HD Themes and Apps] AndyCr15:
Okay, a couple of questions/suggestions?

I want a bigger dead zone on verticle movement. I use left right cursor more than up and down, when I shake one way, quite often it jumps up.

I want a bit tighter control. Can it me set to only move one space per movement, no matter how big the movement? If I made a mistike typing a word, I dont want to be rocking my HD back and forth trying to position the cursor, let me tilt it once per cursor press.

Thanks. :)
[Touch HD Themes and Apps] Traasje:
i added the AOEPPC.EXE to the xml but no effect ;-(