Emulator Issues #2986
closedAllow hotkeys to be mapped to gamepads
Added by wespipes69 over 14 years ago.
0%
Description
It would be great if we could map things to gamepads like Pause emulation, wiimote connecting and whatever else gets added. It can only be mapped to keyboard buttons atm.
Updated by Billiard26 over 14 years ago
- Status changed from New to Questionable
- Priority set to Low
- Issue type set to Feature request
Updated by nakeee over 14 years ago
Why questionable? it sounds like a cool feature:)
Updated by luisr142004 over 14 years ago
i think this is a weird issues, cuz you would be using your gamepad buttons for the game mapping normally o.o
Updated by wespipes69 over 14 years ago
Well, one example would be I would rather have "Pause emulation" mapped to my gamepad while "Home" is simply mapped to the keyboard (if even).
Also,I don't really map the stick buttons (360 pad) to any controller actions - so I could use that for adding or removing wiimotes.
I'm just big on gamepads and would perfer to only use that device when I'm interacting with games - and not continuously switch between the 2 devices for actions.
Updated by lpfaint99 over 14 years ago
this would be nice for my uses would include save/load state, enable/disable cheats and
frameskipping/framelimiter (quick and easy fastforwarding through the boring parts)
Updated by RobertSMartinJr almost 13 years ago
This would be great. I use this is ZSNES all the time. I was really surprised that hotkeys couldnt be mapped to my controller. It seems only natural that the user should have that as an option.
Updated by wespipes69 almost 13 years ago
I have almost all my other emus set up to do save states on my x360 pad. Hoping we can get that ability here soon! I use them alot...I don't like having to repeat things. :)
Updated by ReidJordan123 almost 13 years ago
I also vote for this issue of mapping a key to my gamepad. Right now the left bumper on my xbox360 controller is empty, I would love to map that button to be either a save state or a frameskipper (turbo).
Updated by ludovic.migneault over 12 years ago
I agree too,
I'm usually playing on my tv, far away on my bed lol,
and I've lost hours of time because I couldn't save states and game crashed :S
so it looks like very usefull to me.
I'm actually gonna try to add it my self.
I'm a developper but more in java, haven't touched c++ yet :S
anyway, I'm gonna try it, and I'll tell if I get any results ^^,
Updated by skidau over 12 years ago
Issue 5426 has been merged into this issue.
Updated by the.md5encryption over 12 years ago
Sorry about that, being a developer for a very large project I know how annoying duplicates are, but unfortunately in this case a search for hotkey didn't seem to return this issue (or I missed it)
So +1 to this feature. Doesn't sound difficult to implement, I could probably make a Pull Request if need be (first need to brush up on my c++) :P
Thanks
md_5
Updated by wespipes69 over 11 years ago
Any chance we can have this looked into soon? This feature is on most emus and it's inconvenient having to get up (from a comfortable reclined position) to press a key on the keyboard constantly (tough game or something) instead of pressing a button my finger is already on top of. Surely, this shouldn't be too massive of a implementation?
Updated by skidau over 11 years ago
- Status changed from Questionable to Accepted
Dolphin assumes that all controller input belongs to the game (GC hardware). The GUI currently accepts only keyboard input. The enhancement sounds easy, but it is definitely no five minute job.
Updated by michael.jenney over 10 years ago
any progress?
I actually had dove into the code, and found that it was pretty tricky (as skidau mentioned) to do this. I ended up hacking a build for my purposes, later accidentally blowing away my dev area, and now am looking to re implement (at least the hack).
My use case was wanting to exit/stop emulation on a combo gamepad keypress. My goal was to integrate dolphin in "-b batch" mode into steam Big Picture and control everything with the gamepad with no keyboard usage at all.
Updated by skidau almost 10 years ago
- Status changed from Accepted to Work started
- Category set to controls
I have created a pull request which implements this feature. I am looking for feedback on whether it works or not.
https://github.com/dolphin-emu/dolphin/pull/1949
Windows build:
http://dl.dolphin-emu.org/prs/pr-1949-dolphin-latest-x64.7z
OSX build:
http://dl.dolphin-emu.org/prs/pr-1949-dolphin-latest.dmg
Updated by rukariosake almost 10 years ago
That will not work on real peripherals but I guess you could say it is intended. (I wish Gamecube controller over adapter for Wii U will work!)
Works for my DS3 controller on Xinput wrapper BTW.
Updated by skidau almost 10 years ago
- Status changed from Work started to Fixed
Updated by matrimcauthon0 over 9 years ago
Unless I am doing something wrong, I can't have any keyboard hotkeys if I want any gamepad hotkeys and vice versa. This makes the feature much less useful in my opinion.
Is it possible to fix this in the code?
Updated by skidau over 9 years ago
To set up a mix of keyboard and gamepad shortcuts, follow these steps:
- In the main hotkey config, change the Device to Keyboard
- Right click the hotkey button that you wish to map to your gamepad
- In the window that pops up, change the Device to your gamepad
- Press the Clear button
- Press Detect and press the button on your gamepad that you want to map
- Press Select
- Press OK
To map a combo hotkey, e.g. Shift F5, follow these steps
- Follow steps 1-4 above
- Press Detect and the modifier button (e.g. Shift)
- Press Select
- Press Detect and the button which isn't the modifier (e.g. F5)
- Press the "& AND" button
- Press OK
Updated by matrimcauthon0 over 9 years ago
I followed your steps and I got it to work. Thanks!