Dolphin, the GameCube and Wii emulator - Forums

Full Version: [Patch] PadSimple Per-Key Half-Press Keybindings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(08-31-2009, 03:59 AM)Daco Wrote: [ -> ]wouldn't it be better to have a key that indicated half press
like in njoy?

There's already a key that enables half-press on R/L/Main/C at the same time; the reason for my patch is so that you can half-press some things but not others. The more I think about it, the more it makes sense to split the preexisting button into one modifier each for Main and C, leave R/L the way they are (with their own dedicated half-press keys) and get rid of the A/B half-press buttons. That would make it a lot more button efficient and intuitive.
Here's a version made the way I said in the previous message. I haven't yet tested it in Windows (I'm currently on a computer with Intel graphics) or built it in Linux, but I will later--I'm pretty sure I updated everything properly. (Also, some of the files I patched for the Linux build changed recently, so that patch doesn't work anymore.)

http://www.mediafire.com/?ynny2zlmivb

[Image: dolphinperkeyhalfpress4.th.png]

EDIT: I tested (without graphics) in Ubuntu, and noticed and fixed a few careless mistakes. Build works in Windows 32 and Linux 64.

http://www.mediafire.com/?jizjim0jzem

MarioMadness

(08-31-2009, 09:29 AM)kainino Wrote: [ -> ]Here's a version made the way I said in the previous message. I haven't yet tested it in Windows (I'm currently on a computer with Intel graphics) or built it in Linux, but I will later--I'm pretty sure I updated everything properly. (Also, some of the files I patched for the Linux build changed recently, so that patch doesn't work anymore.)

http://www.mediafire.com/?ynny2zlmivb

[Image: dolphinperkeyhalfpress4.th.png]

EDIT: I tested (without graphics) in Ubuntu, and noticed and fixed a few careless mistakes. Build works in Windows 32 and Linux 64.

http://www.mediafire.com/?jizjim0jzem

Looks Good Now Big Grin Nice Work.
I carelessly failed to fix one of the careless mistakes (in the Windows code--I had only fixed it in X11/Cocoa). New version:

http://www.mediafire.com/?ldnydhkvdqj

Anyways, is it possible to get this patch added to the project, and, if so, how would I go about doing that? (What happens if I tell it to commit?)

Thanks.
you should make it so tht you press the number 1 and all keys go to half but use the same keys...and then press the number 1 again and all the keys go back to full....if you can understand tht...lol Tongue
(09-01-2009, 01:06 AM)hansenderek Wrote: [ -> ]you should make it so tht you press the number 1 and all keys go to half but use the same keys...and then press the number 1 again and all the keys go back to full....if you can understand tht...lol Tongue

You mean adding half-press toggle as well? I think that would be a bit excessive, and pretty hard to program, since I would have to make it save a state variable while running, but not while not running... I have no idea how to do that.
lol ok...lol it was just an idea...lol Tongue
you configure your stuff weird...lol on the numpad for the dpad is 8456....then the arrows is the analog L-w R-e Z-q A-a B-s X-d Y-f
C stick Left -z right -x up- c down -v
(09-01-2009, 02:46 AM)hansenderek Wrote: [ -> ]lol ok...lol it was just an idea...lol Tongue
you configure your stuff weird...lol on the numpad for the dpad is 8456....then the arrows is the analog L-w R-e Z-q A-a B-s X-d Y-f
C stick Left -z right -x up- c down -v

No problem Smile don't take it personally. (And I would do it if I could--it's just that I would have to put a lot of effort into it and I've already done a pretty lot of work.)

Yeah I change all the defaults completely, because I'm used to using the defaults in Project64, which were mapped more like this. But since the GameCube has more keys, it comes out kind of weird. It makes sense to me.
lol ok...lol thts how i configure pj64 too...lol and zsnes...i hav lots of broked systems for sum reason :S
Pages: 1 2