[APP][24JUN2010]VolDpad: Use the volume buttons as a d-pad; New: Source code avail. - Windows Mobile Apps and Games

I have changed my Diamond bay a Touch HD and what I miss more is the d-pad.
I really need it because I read a lot on my device and it is necessary to turn pages, etc. So I searched for a solution.
I've using remaping keys programs for some days, but they are big and have some limitations so I've done my own program with a very simple behaviour:
-Volume UP is remaped to d-pad UP. Can be hold for autorepeat.
-Volume DOWN is remaped to d-pad DOWN. Can be hold for autorepeat.
-Double click Volume UP is remaped to d-pad LEFT. Does not support autorepeat.
-Double click Volume DOWN is remaped to d-pad RIGHT. Does not support autorepeat.
-Double click with hold in Volume UP is remaped to d-Pad RETURN with Hold.Does not support autorepeat.
-Double click with hold in Volume DOWN is remaped to d-Pad RETURN.Does not support autorepeat.
-If a call is being established or is active the volume keys will behave normally.
-Running the file a second time will close the resident with a small tone.
The program is small (7Kb) and remain resident without making use of CPU, it is simply a keyboard hook.
To install it copy the file werever you want and execute it. If you want it to start automatically after a Soft Reset make a link (DO NOT PUT THE FILE DIRECTLY) under \Windows\Startup or your locale equivalent.
REVISIONS
June 24, 2009: I've liberated the source code in order to allow other developers to improve the concept!!
August 28,2009:
-Soved the Back Arrow issue on HTC devices.
-Added support for unloading the program
-First try to add suport for Return-Hold (Context menus)
IMPORTANT
Some users are having issues with VolDpad on HD2 and Diamond 2. This one solves the issue:
http://forum.xda-developers.com/showpost.php?p=8062091&postcount=4
Hope it will be useful
If you like it and want to give me a buck please use this button:
Thanks to the following donators:
Johannes B., Federico, Mike P., Marie-Françoise H.,
DOWNLOADS
Download VolDpad from my site.

really nice app
but does it work in touch pro 2 ?

I've tested it only on a Diamond and on a Touch HD.
But the technology should be the same for the TP2

well this is brilliant! and it works great on my blackstone.
few suggestions:
- it would be a good idea to have command-line support so that you can turn it on and off easily by creating shortcuts or assigning hardware buttons to enable or disable it, or having a status check so that if it's on, next time you run it will turn it off and vice versa.
-it would be great to have both the "ok" button support and the "hold ok" button support so that you can load "right click" menus.. (you can have the upper vol button function as "ok" and lower vol button function as "hold ok")
wonderful work

it works perfectly on my HD!

Virtual button interrupt on HD?
hi all,
installed this on my HD and it works well, but i notice that when i try to use the virtual button to go <Back> (looks like a left arrow <-- ), now it goes up instead.
anyone else have this issue?

This is a fantastic app, will be useful specially for those who play games on their phone. One query; is there a way to remap the vol key buttons? For example can volume up key be mapped to left key, and volume down key mapped to right key. I say this because in Diamond and Touch Pro the Up and Down key on D-Pad functions normally, its only the left key and the right key that has a problem.

I just check - program works good on samsung i780. Is it possible to disable left/right/return function, but remain only up/down? Could you please add (in future version) any configuration file?
Best regards
Tomasz

lifeisaparody said:
hi all,
installed this on my HD and it works well, but i notice that when i try to use the virtual button to go <Back> (looks like a left arrow <-- ), now it goes up instead.
anyone else have this issue?
Click to expand...
Click to collapse
Same here on the Diamond 2, otherwise, fantastic stuff! If we can either get the Back Arrow button to act like the OK, or return it to its former glory, we are good to go!

Brillant, and I agree with the ML idea

fantastic. been looking for something like this for my touch hd

Awesome app! It works great with mobipocket. You can easily start/kill it with mortscripts (put links in the start menu, and you can do it with voice command). Edit the path as necessary.
kill("\Program Files\VolD-Pad\VolDpad.exe")
run("\Program Files\VolD-Pad\VolDpad.exe")

well done job

Nice work thx

vol buttons as a d-pad
Hi....anyone got it working for worms world party?? Kinda miss that game after changing from a kaiser to a blackstone....
thanks in advance.

Great App! Thanks!

Great stuff. I would add my vote to remove the left/right functionality and replace with 'OK' and 'context menu' support. I miss my Kaiser scroll wheel

It is difficult to do smething that will be perfect for all
I'll try to add support for exiting the program (easy) and for context menus (more difficult).
I also revise the issues with the back key.
EDIT: Done
One thing, What context menu can be reached with holding return? I wish to know for testing it

Thanks
Usefull app, I will get use to it.

Does not work for the TG01! After soft-reset it hijacks the bluetooth, switching it on and removing the BT link from the comm manager. It will not allow delete from any folder where it is copied! even the shortcut will not delete. (Had to manually disable the BT, then it auto deletes the shortcut, andyou can delete from a secondary folder. After soft-reset it will again delete from Primary folder, releasing control of the BT!)

Related

Disable volume button and enable audio note taking instead?

Is it possible to disable the volume button and enable it instead to start/stop audio note taking?
Thanks
I want todo this exact thing. Any luck with responses?
No.
greatest invention
This is the greatest thing I've been told. Go get a pda, and make notes while your driving etc..
And then they go and remove the function. And replace it with a volume button that doesn't even work properly!!
Martin
Try this...
I dont't know if it will work but maybe you could try this little button mapping tool:
http://romfour.free.fr/adrom/products/btmap.htm
Give us an update if it worked!
No it doesn't. They seem to have removed the mapping id for the volume button. You used to be able to map it through control pannel in really old versions.
Anyone know what it used to be?
Workaround
Hi,
AFAIK it's not possible to use the volume button for other functions, but you'd be able to use another button for this.
I like to have the most common things within some klicks, so I used the calendar-button for audio-recording (you can switch to the calendar by clicking your appointments on the today-screen anyways).
Settings -> Buttons: Set Button 1 to Recording (not sure if the translation is correct, I'm using the german XDA)
Thanks
Thanks for the workaround, yes it works fine, even if I was expecting a start/stop function rather than a push and hold. But now I'm using it I prefer this method.
Mame can remap the volume button so it must be possible.

Can individual keys be remapped on the fuze?

I was wondering if anyone knows how to remap one of the fuze's keyboard keys to function as the TAB key, like in the TP. I've read a few threads about changing an english keyboard to a foreign language keyboard, but nothing on changing individiual keys. It looks too complicated for me to understand too. I think I can spare the Windows key if I can use it for the TAB function. Thank you in advance.
This would be great. I'd change the right shift key.
You could try Mobiion's MagiKB lite
This would be awesome, i want to switch the OK and the Fn keys on the left side and the Wifi and T9 keys on the opposite.
Thanks for your suggestion, wonghyf. I looked into Mobiion's MagiKB lite, but the program is not very intuitive. In fact, I couldn't really figure it out. Do you know if there is a good tutorial? Thanks again
ganglion5 said:
Thanks for your suggestion, wonghyf. I looked into Mobiion's MagiKB lite, but the program is not very intuitive. In fact, I couldn't really figure it out. Do you know if there is a good tutorial? Thanks again
Click to expand...
Click to collapse
Here is the link to magiKB lite's help: http://www.mobiion.com/mgkblguide.html
I think this section is particularly useful:
Fake Key: Replace the original key with a new one, so that when the base key is pressed, the fake key will be sent instead of the original one. This option is only available when the key type is VKey
This is how I map the fake keys:
Select [Edit Key-Mapping]>[Add New...], and then follow the instructions below:
1. Change its type to [Vkey]
2. Set focus to field [Key Code]
3. Select [Menu]>[Get key code...]
4. Now press the key you want to remap FROM
5. Tick "Fake this key with"
6. Set focus to field just right to "Fake this key with"
7. Select [Menu]>[Get key code...] and press the key you want to map TO; or select from predefined codes>
8. Press OK (left soft key)
You have to install hookmgr.cab as well to make magikb lite work. But still on my Touch Pro, some keys can't be mapped properly because the original key will be triggered as well (e.g. the SMS/MMS button), don't know why.

[Q] Mapping volume keys to HOME, BACK and possibly more

My HD2 "Frankenphone" (it's built from no less than 3 other HD2's) has no working hardware keys on the front of the phone. The volume keys, however, do still work. I therefore want to cook a rom based on an existing one that has Volume up/down mapped to HOME/Back.
Furthermore, I was wondering if I could somehow get the MENU button implemented as well. I understand that this is not possible through the SDK, but perhaps it can be done by writing native C code. E.g. a longpress Volume-up could be menu, a long-press Volume-down could be search.
I'm not asking for someone to do this for me, I'd like to do this myself. What I'm looking for are a few quick pointers to how to start this endeavor. I have previous experience cooking custom roms using toolchains under linux, and also experience writing C (non-gui) code under linux. So useful pointers would be :
* Where can I find the key mappings? I suppose this is part of the kernel/user space?
* How would I go about implementing the long-press feature? Or can you hint towards another possible solution that does not involve the front hardware keys (touchscreen snooping for gestures? accellerometer? Any other sensor?)
Take a look here:
http://source.android.com/porting/keymaps_keyboard_input.html
Hope that helps.
One thing I do in most builds is change my call key to a search key.
Hi!
Take a look at the following thread! http://forum.xda-developers.com/showthread.php?t=740629
paalkr said:
Hi!
Take a look at the following thread! http://forum.xda-developers.com/showthread.php?t=740629
Click to expand...
Click to collapse
Awesome, thanks! That worked like a charm. Mounted the system.ext2 loopback, patched the keys, and tadaah, working home + back. That at least makes the phone usable again.
Can anyone recommend a solution to get a working MENU action? It looks like long-press back is handled by apps individually (e.g. in the browser it will show a history), while long-press home displays a task switcher. I could live with long-press back being handled by android itself to implement the menu function.
(edit) looks like this is possible, e.g. here it mentions "including some special features to support the virtual hard keys that are appearing on recent devices such as Droid." Now how did they do that?

[Q] Virtual D-pad application

Hi,
I'm search for some d-pad app, which can show me virtual d-pad on screen. I found some, but it doesn't met my needs. I need d-pad for example for edit of searched value. This can be done by "arrow" or trackball - but we have nothing of these.
I also tried remap UP/DOWN d-pad keys on volume UP/DOWN but I can't set up volume during call, mute, configure volume...
My requirements
- I don't want see d-pad all the way. I would like bring-up virtual d-pad by some hw key (long/short search button press for example) or for example from notify or by tiny persisted virtual key on display
- it should be possible move d-pad on screen
I found only one app which is really is close to my requirements, but it works strange and have sometime FCs. It is called softkeys.
I do not understand, why for windows mobile exist so much virtual d-pads, services for handling key shortcuts even gravity control "d-pad" but for android nothing?

[MOD][ZIP]Joycons but with Home button and capture button programable

What's up people, I bring you a zip for some, the best thing is that I usually use Xbox Game Pass and PS Play remote and there is no Xbox Guide function or simply PS button, what I did is remap Home button and Capture button in case you want to use it like me.
To add the Home function as before I advise you Button Mapper Add the link, this way you have Button mode (Normal button, Double tap> example Home button> Long press > Turn off screen) Also with the capture Capture button (Normal button> Double tap Screenshot> Long Press> Play / pause music (?))
https://play.google.com/store/apps/details?id=flar2.homebutton&hl=es&gl=US
hi... thanks for your explanation, but can you go into a little more detail please?
Also, can you create the same zip file but with the A/B, X/Y buttons reversed, so that they mimic the xbox layout?
Thanks
Chaleman said:
hi... thanks for your explanation, but can you go into a little more detail please?
Also, can you create the same zip file but with the A/B, X/Y buttons reversed, so that they mimic the xbox layout?
Thanks
Click to expand...
Click to collapse
This is already a thing - you can find it here. https://download.switchroot.org/android-10/extras/joycon-xbox.zip
Chiveta said:
What's up people, I bring you a zip for some, the best thing is that I usually use Xbox Game Pass and PS Play remote and there is no Xbox Guide function or simply PS button, what I did is remap Home button and Capture button in case you want to use it like me.
To add the Home function as before I advise you Button Mapper Add the link, this way you have Button mode (Normal button, Double tap> example Home button> Long press > Turn off screen) Also with the capture Capture button (Normal button> Double tap Screenshot> Long Press> Play / pause music (?))
https://play.google.com/store/apps/details?id=flar2.homebutton&hl=es&gl=US
Click to expand...
Click to collapse
THIS!!! I use Steamlink and I run into this issue everyday!
Chiveta said:
What's up people, I bring you a zip for some, the best thing is that I usually use Xbox Game Pass and PS Play remote and there is no Xbox Guide function or simply PS button, what I did is remap Home button and Capture button in case you want to use it like me.
To add the Home function as before I advise you Button Mapper Add the link, this way you have Button mode (Normal button, Double tap> example Home button> Long press > Turn off screen) Also with the capture Capture button (Normal button> Double tap Screenshot> Long Press> Play / pause music (?))
https://play.google.com/store/apps/details?id=flar2.homebutton&hl=es&gl=US
Click to expand...
Click to collapse
hello, in gamepass with hori split pad also the dpad is buggy, could you help us to remap them?
gp.triple said:
hello, in gamepass with hori split pad also the dpad is buggy, could you help us to remap them?
Click to expand...
Click to collapse
I don't have the hori controller, but I guess it wouldn't be the same. even so. if you are affected with the d-pad it is probably a problem of S.O. or controller keymap.
Hi @Chiveta,
I installed the March 2022 OTA update and now the capture button of my Hori Split Pad Pro doesn't work properly. I can't program it anymore. All the other buttons work without any problems. I haven't tested it yet with other joy cons because I'm on holiday and I don't have them with me.
Can you please have a look and maybe update your script?
Thank you very much!
Update:
I edited the mapping files (changed the capture button to Z, C and 4) but it doesn't work.
I use a gamepad test app and it seems that the capture button is recognized longer than the other buttons, like it's kind of stuck.
Update 2:
I saw in the changelog that there's a new function to turn off RSMouse with the screenshot button. I think that's why I can't remap the button anymore.
The original zip file from Chiveta does not work anymore, but we can modify the Xbox Joycon Layout Zip file from "[ROM][UNOFFICIAL] switchroot Android 10". Just modify
\vendor\usr\keylayout\Vendor_057e_Product_2008.kl
and
\vendor\usr\keylayout\Vendor_057e_Product_2009_Version_8001.kl
to whatever key you want, and repack the zip file, and flash it in TWRP.
You can find all keys that Android supports from the official Android website:
https://developer.android.com/reference/android/view/KeyEvent
For example, I figured out "KEYCODE_BUTTON_MODE" will trigger Xbox Guide Button Long Press (pop up the screen to turn OFF the Xbox). So if you would like to map the screenshot button for this, just changed this line "key 309 MEDIA_PAUSE" to "key 309 BUTTON_MODE"
Remember, you do not need the "KEYCODE_" portion shown in the official Android website.
Or you can just use my zip file.
I have not figured out which button will trigger Xbox Guide Button Short Press (pop up user screen). If anyone figures it out, please let me know. Thanks.

Categories

Resources