RetroFE forums

General Category => Feature Requests / Suggestions => Topic started by: progets on January 24, 2017, 10:20:13 AM

Title: Multiple Inputs - Keyboard & Gamepad
Post by: progets on January 24, 2017, 10:20:13 AM
Only one set of inputs is very limiting.
Title: Re: Multiple Inputs - Keyboard & Gamepad
Post by: Pieter Hulshoff on January 24, 2017, 10:54:27 AM
I currently have two implementations of this that I need to compare, and merge with the code base. It's coming. 😀

Sent from my SM-G920F using Tapatalk

Title: Re: Multiple Inputs - Keyboard & Gamepad
Post by: KMetalMind on February 04, 2017, 08:43:54 AM
This totally works on last version  :D
Title: Re: Multiple Inputs - Keyboard & Gamepad
Post by: progets on February 05, 2017, 10:04:36 AM
How is it done?
Title: Re: Multiple Inputs - Keyboard & Gamepad
Post by: Pieter Hulshoff on February 05, 2017, 10:56:19 AM
Simply separate the key commands using a , (no whitespace), e.g.:
left = Left,joy0Button7
right = Right,joy0Button5
Title: Re: Multiple Inputs - Keyboard & Gamepad
Post by: PinealServo on February 05, 2017, 04:31:35 PM
My patch for this borrowed a function from the config reader that would strip beginning and ending spaces from each element in the string without removing middle ones.  I'll try that out again later today.
Title: Re: Multiple Inputs - Keyboard & Gamepad
Post by: cassette on February 17, 2017, 02:51:28 AM
I'm jumping on this thread since it's a similar request: I'd like a combination of inputs to do something. Particularly, it's such a small detail but it bothers me that this is the only program I have that I can't close with Alt+F4. I set it to exit to "F4", but I know for a fact that I don't need to press Alt+F4 to close it, just F4, so that bothers my OCD haha...

And also sometimes I pick up the mouse and instinctively rotate the wheel expecting it to do something, but then I remember there's no input called "WheelUp" / "WheelDown"... so that would be a nice addition I think.
Title: Re: Multiple Inputs - Keyboard & Gamepad
Post by: Pieter Hulshoff on February 17, 2017, 07:05:26 AM
I'll have a look. 😀

Sent from my SM-G920F using Tapatalk

Title: Re: Multiple Inputs - Keyboard & Gamepad
Post by: cassette on February 17, 2017, 07:57:37 AM
Thanks!
Title: Re: Multiple Inputs - Keyboard & Gamepad
Post by: walknight on April 21, 2020, 04:20:17 PM
Sorry to dig an old thread...but I want to see if there's any update to the last request, specifically allowing key combos.

I like the MAME way of configuring keys. There you could have OR and AND to specify key bindings, like ESC OR Q OR Joy_Left AND Joy_Button0 AND Joy_Button9, in that way if I'm on a cab without a keyboard, I could exit by using the Left + Button0 + Button9 combo which has little chance to be triggered by accident.