Map Hotkey to a controller button

I run Retroarch with 4 controllers connected. I want to map F2 and F4 to controller 4 buttons 1 and 2.

I have setup Max Users = 4 and User Device Index to point each user to a specific controller

But when i choose Input HotKey Binds and try to change for example F2 to an unused controller button Retroarch ignores input from the controllers and only accepts keyboard input. So i can’t map F2 to a controller button.

I also tried with a Core loaded - same behavior!

(Note: Binding player keys to each user’s controller works fine - only the Hotkey Binds do not accept controller input)

I use Xpadder for this.

For instance, my hotkeys for Save/Load states are F2 & F4.

Then I set Xpadder to push the F2 and F4 keys when I hold Select+LT or Select+RT.

This will work for all players.

This is actually how I setup all my controllers. It side-steps relying on RetroArch to ‘auto-config’ anything. If you’ve already got that working though, you could just add Xpadder to run in the background for just your hotkeys.