|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Run this app in the background to use the G-Sensor as a DPad. Seems to work with cursor (in word etc) and, start menu, list boxes etc.
Comments/feedback appreciated (but please remember it is a work in progress!) Version History Added sample full config with descriptions Added <VK_DPAD> option in config xml to increase compatibility. Version 0.9:- Bug fix to tilt logic Added more override options for individual applications (e.g. MaxX/Y, DeadZoneX/Y) Uploaded XSD for config file (contains some documentation) Version 0.8:- Added hardware key toggle to config file Version 0.7:- Moved all settings into config file Improved UI New "Switch" mode added New "KeySend" methods added (SendMessage & KeybdEvent) Version 0.6:- Minor bug fix Version 0.5:- New config file format, to support... Acceleration mode! Version 0.4:- Better matching of exe names (oops!) Version 0.3:- Allowed list now works from exe name (rather than window title) Version 0.2:- Config file Proportional directions Non-flat center/neutral point (config - CenterX/CenterY) "Dead Zone" (config - Threshold) Restriction by program (config - Application) Have a play and let me know your thoughts.
__________________
Rich Phone Touch HD Energy Rom 2.5 My Stuff GPad - Virtual D-Pad iGO8 HD Skins Feel free to Donate! Last edited by Tirinoarim; 15th December 2009 at 01:46 PM.. Reason: Full config sample |
| Sponsored Links |
|
#2
|
|||
|
|||
|
I'll give her a look see --- not happy with the virtual SIP solution I've been trying to code. I was wondering if I could detect a hardware key (like the back arrow) and then use the g_sensor for scrolling if and only if that button was being held. That way apps aready using the g-sensor could continue to use it and users could have greater control over what was scrolled and when. Since you already have taken this this far I throw the idea your way to run with it if you want to... if not that is fine too.
Blessings my friend in the new year! PS-If you want to collaborate in coding send me a PM |
|
#3
|
|||
|
|||
|
Seems to work as intended... The single-hardware button "hold to enable - release to disable" would make this a real solution... Are use using Dutta's Unified Sensor API "My Brain Hurts website"?
Good work so far |
|
#4
|
|||
|
|||
|
how do you install this??
|
|
#5
|
|||
|
|||
|
exactly what I was looking for, great job!
I'll test it in some games unusable without d-pad and report. thanks ! |
|
#6
|
|||
|
|||
|
I copied the files to my SD card and ran the exe... switching to another application then uses g-sensor as directional arrows... stopping EXE kills behavior... at least that's what worked for me
|
|
#7
|
|||
|
|||
|
I tried it out and this seems promising. Below are some things I would like to see added to make this truly useful.
1. You do not want to have it active all the time so you need an easy ability to activate/deactivate it as already stated above. Either by pressing and holding a hardware button or by pressing and holding a certain area/corner of the screen. 2. When I hold the phone in my hand the neutral position is almost never the completely flat position. I think the position of the phone when you activate it according to 1. above should be taken as the neutral position. Any relative movements from that position should then be interpreted as left,right,up and down. 3. Make the speed of the scrolling configarable. 4. Make the speed of the scrolling proportional to the movement from the neutral position. If I move only slightly from the neutral position it should scroll slowly and if I move it a lot it should scroll faster. 5. A per application filter would also be really useful. For each application you should be able to specify ig G-Pad is active always, never or when activated according to 1. above. The default for unlisted applications should be to activate it according to 1. above. Don't hesitate to ask if you have any questions regarding my suggestions. I don't think any of them should be really hard to implement. Keep up the good work. I look forward to the next version of this. Last edited by tomasn; 31st December 2008 at 06:17 PM.. |
|
#8
|
|||
|
|||
|
Wow, so many responses! Like I said initially, its a work in progress. On the "ToDo" list is :-
1. Config File! * Threshold setting (how much to tilt before registering * Center (i.e. what angle is neutral instead of flat) * Application list 2. Proportional control I'll add the other suggestions to my list. Cheers
__________________
Rich Phone Touch HD Energy Rom 2.5 My Stuff GPad - Virtual D-Pad iGO8 HD Skins Feel free to Donate! |
|
#9
|
|||
|
|||
|
Great work! The most wanted for me is the possibility to map it to a button, so by pressing the button your program is enabled, by pressing it once again, it is disabled again.
Another idea would be that it is just enabled while you are pressing the button, whereas it is disabled when you are not pressing the specified button. But its up to you . |
|
#10
|
|||
|
|||
|
Quote:
Keep up the excellent efforts! |
![]() |
| Tags |
| blackstone, dpad, gpad, virtual pad |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|