Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone ScummVM and the D-PAD #235

Open
mariocron opened this issue Apr 14, 2024 · 1 comment
Open

Standalone ScummVM and the D-PAD #235

mariocron opened this issue Apr 14, 2024 · 1 comment

Comments

@mariocron
Copy link

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants