Skip to content

Problem Supermodel.ini keyboard works only with characters, but no ALT, SHIFT, CTRL, SPACE, buttons working #228

@Giandj

Description

@Giandj

On myLinux Mint 22.1 XFCE 64 bit the supermodel emulator works fine, but
in my "Supermodel.ini" I have tryed to reconfigure standard KEY_A, KEY_D, KEY_S, KEY_F, for fighting games, to act instead with these SDL commands:

KEY_LCTRL ("Left Control" Key , on my keyboard)
KEY_LALT ("Left Alt" Key , on my keyboard)
KEY_LSHIFT ("Left Shift" Key , on my keyboard)
KEY_SPACE ("Spacebar" Key , on my keyboard, this works!)

ORIGINAL (supermodel.ini) WORKING:
; Fighting game buttons
InputPunch = "KEY_A,JOY1_BUTTON1"
InputKick = "KEY_S,JOY1_BUTTON2"
InputGuard = "KEY_D,JOY1_BUTTON3"
InputEscape = "KEY_F,JOY1_BUTTON4"
InputPunch2 = "JOY2_BUTTON1"
InputKick2 = "JOY2_BUTTON2"
InputGuard2 = "JOY2_BUTTON3"
InputEscape2 = "JOY2_BUTTON4"

MODIFIED BY ME (supermodel.ini), NOT WORKING :
; Fighting game buttons
InputPunch = "KEY_LCTRL,JOY1_BUTTON1"
InputKick = "KEY_LALT,JOY1_BUTTON2"
InputGuard = "KEY_LSHIFT,JOY1_BUTTON3"
InputEscape = "KEY_SPACE,JOY1_BUTTON4"
InputPunch2 = "JOY2_BUTTON1"
InputKick2 = "JOY2_BUTTON2"
InputGuard2 = "JOY2_BUTTON3"
InputEscape2 = "JOY2_BUTTON4"

Where is my error ?, maybe KEY_LCTRL and other SDL key command does not exists ?

Another question:
Is there a SDL methot to map ESC key (the "exit" from emulator), to another button (for example, if i want to press JOY10 ?, for exiting emulation),
in "supermodel.ini" ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions