This is a patch for the PadSimple plugin that adds dedicated half-press key bindings for all half-press-able keys (A, B, L, R, Main Stick, and C-Stick), as well as uses the Escape key to erase keybindings (currently you have to use a glitch [right-ctrl in Windows] or manual ini-file editing). I figured this would be the best choice since it already isn't very functional as a pad key during game play in the main window. It is still possible to bind to the escape key by editing pad.ini.
As you can see in the screenshot, I edited the waiting-for-key message to indicate the usage of the escape key ("Press Key/Esc"), but the buttons are barely large enough--I can't figure out how to change their size. There might be a better way to do this, but this seemed the clearest and least disruptive
Also, while I was bug-testing my edits, I noticed that the pad configuration dialog gets buggy if it is closed and reopened without restarting Dolphin; I went back to the unmodified version and realized that the problem was still there. I also checked r3404, which worked properly, but I couldn't figure out what edit caused the problem (I'm guessing the issue is on this Google code diff page).
I haven't been able to test it on anything except 32-bit Windows XP (I have Mac OS and Linux, but I have trouble compiling on them). I edited the code for those systems, but I'm not sure if it works. I also don't have a game controller, so I'm unable to test to make sure that that still works. I would appreciate it if someone could test these things.
Honestly, I don't know of any uses for this other than half-press-R in Super Mario Sunshine, but it works well for that. However, please let me know any issues or comments you have.
DolphinPerKeyHalfPress4089.patch
As you can see in the screenshot, I edited the waiting-for-key message to indicate the usage of the escape key ("Press Key/Esc"), but the buttons are barely large enough--I can't figure out how to change their size. There might be a better way to do this, but this seemed the clearest and least disruptive
Also, while I was bug-testing my edits, I noticed that the pad configuration dialog gets buggy if it is closed and reopened without restarting Dolphin; I went back to the unmodified version and realized that the problem was still there. I also checked r3404, which worked properly, but I couldn't figure out what edit caused the problem (I'm guessing the issue is on this Google code diff page).
I haven't been able to test it on anything except 32-bit Windows XP (I have Mac OS and Linux, but I have trouble compiling on them). I edited the code for those systems, but I'm not sure if it works. I also don't have a game controller, so I'm unable to test to make sure that that still works. I would appreciate it if someone could test these things.
Honestly, I don't know of any uses for this other than half-press-R in Super Mario Sunshine, but it works well for that. However, please let me know any issues or comments you have.
DolphinPerKeyHalfPress4089.patch
Macbook 3,1. Core 2 Duo, 2.2 GHz. Intel GMA X3100. 4GB RAM. Windows XP (x86), Mac OS X 10.5.