rg35xx-cfw / rg35xx-cfw.github.io

RG35XX Custom Firmware Documentation
418 stars 3 forks source link

Standalone ScummVM and the D-PAD #235

Open mariocron opened 2 months ago

mariocron commented 2 months ago

Using RG35xx H joysticks I finally managed to get the d-pad to work both on the RG355xx (I did not test it on the plus version - I do not own one, but I'm sure it will work also on the plus version) and on the RG35xx H. Two steps are required:

  1. assign ALL keymap_gui_XXX to any other key
  2. assign ALL keymap_global_XXX to JOY_XXX. so the scummvm.ini config section for the keymapper should look like this: [keymapper] keymap_gui_RIGHT=JOY_RIGHT_SHOULDER keymap_gui_DOWN=JOY_RIGHT_SHOULDER keymap_gui_LEFT=JOY_RIGHT_SHOULDER keymap_gui_UP=JOY_RIGHT_SHOULDER keymap_gui_CLOS=JOY_RIGHT_SHOULDER keymap_global_VMOUSEDOWN=JOY_DOWN keymap_global_VMOUSEUP=JOY_UP keymap_global_VMOUSERIGHT=JOY_RIGHT keymap_global_VMOUSELEFT=JOY_LEFT

The above definitions allow to move the mouse pointer using the d-pad in the scummvm gui and in any widows game. DOS games require additional (per game) setup: assigning keymap_engine-default_XXX to any other key (it can be done using the ScummVM gui), for example: [ft] description=Full Throttle (Version A/English) ..... keymap_engine-default_UP=JOY_RIGHT_TRIGGER keymap_engine-default_DOWN=JOY_LEFT_TRIGGER keymap_engine-default_RIGHT=JOY_RIGHT_SHOULDER keymap_engine-default_LEFT=JOY_LEFT_SHOULDER

Could you please add the keymaper section to the scummvm.ini file (system.config\summvm\scummvm.ini) in future koriki releases ? There is also no shortcut to the standalone scummvm version (I run it using Dingux Commander).

acmeplus commented 2 months ago

Good finding @mariocron I'll test it and check on the Plus and H. and then add it to the default configuration that gets copied during the first boot.