Emulator Issues #2986
Allow hotkeys to be mapped to gamepads
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.
#4 Updated by wespipes69 almost 10 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.
#10 Updated by ludovic.migneault about 8 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 ,
#13 Updated by the.md5encryption about 8 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
#14 Updated by wespipes69 about 7 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?
#16 Updated by michael.jenney about 6 years ago
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.
#17 Updated by skidau over 5 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.
#19 Updated by skidau over 5 years ago
- Status changed from Work started to Fixed
#21 Updated by skidau over 5 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
1. Follow steps 1-4 above
2. Press Detect and the modifier button (e.g. Shift)
3. Press Select
4. Press Detect and the button which isn't the modifier (e.g. F5)
5. Press the "& AND" button
6. Press OK