diablodiab / libretro-scummvm-backend

libretro backend for scummvm
6 stars 8 forks source link

Arrow keys missing for mapping games like Grim Fandango #19

Open schmurtzm opened 2 years ago

schmurtzm commented 2 years ago

Hi, I use a Miyoo Mini with the current dev build of ScummVM thanks to your work :) The Miyoo Mini is a little handhanded, the number of button is similar to a PS1 controller.

Grim Fandango is playable with keyboard arrows and not with the cursor mouse.

My problem is to remap correctly the D-Pad for Grim Fandango I don't have enough keyboard keys available to map directions on the D-Pad.

Is it possible to create more keys in this section to extend the possible choices ? https://github.com/diablodiab/libretro-scummvm-backend/blob/17c60f535fb6066e54ad8a8c5de82f00798edce4/libretro.cpp#L340

A more complex problem would be to be able to switch the controls with a hotkey to transform the D-Pad in mouse cursor mover or just control again the cursor with D-PAD when scummvm menu is activated but this is another story ;) Having more keys available would be a good start.

Similar to https://github.com/libretro/scummvm/issues/199

Thank you.