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

Update buttonmap and topology for new Amstrad Keyboard layout #9

Merged
merged 2 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion game.libretro.cap32/addon.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<requires>
<import addon="game.libretro" version="1.0.0"/>
<import addon="game.controller.amstrad.joystick" version="1.0.0"/>
<import addon="game.controller.amstrad.keyboard" version="1.0.0"/>
<import addon="game.controller.amstrad.keyboard" version="1.0.28"/>
<import addon="game.controller.mouse" version="1.0.0"/>
</requires>
<extension point="kodi.gameclient"
Expand Down
55 changes: 30 additions & 25 deletions game.libretro.cap32/resources/buttonmap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<feature name="button1" mapto="RETRO_DEVICE_ID_JOYPAD_A"/>
<feature name="button2" mapto="RETRO_DEVICE_ID_JOYPAD_X"/>
<feature name="run" mapto="RETRO_DEVICE_ID_JOYPAD_B"/>
<feature name="vkbdtoggle" mapto="RETRO_DEVICE_ID_JOYPAD_Y"/>
<feature name="vkbtoggle" mapto="RETRO_DEVICE_ID_JOYPAD_Y"/>
<feature name="return" mapto="RETRO_DEVICE_ID_JOYPAD_START"/>
<feature name="mousetoggle" mapto="RETRO_DEVICE_ID_JOYPAD_SELECT"/>
<feature name="up" mapto="RETRO_DEVICE_ID_JOYPAD_UP"/>
Expand Down Expand Up @@ -60,41 +60,46 @@
<feature name="z" mapto="RETROK_z"/>
<feature name="space" mapto="RETROK_SPACE"/>
<feature name="comma" mapto="RETROK_COMMA"/>
<feature name="period" mapto="RETROK_PERIOD"/>
<feature name="semicolon" mapto="RETROK_SEMICOLON"/>
<feature name="dot" mapto="RETROK_PERIOD"/>
<feature name="colon" mapto="RETROK_SEMICOLON"/>
<feature name="minus" mapto="RETROK_MINUS"/>
<feature name="equals" mapto="RETROK_EQUALS"/>
<feature name="hat" mapto="RETROK_EQUALS"/>
<feature name="at" mapto="RETROK_LEFTBRACKET"/>
<feature name="openbracket" mapto="RETROK_RIGHTBRACKET"/>
<feature name="tab" mapto="RETROK_TAB"/>
<feature name="return" mapto="RETROK_RETURN"/>
<feature name="backspace" mapto="RETROK_BACKSPACE"/>
<feature name="del" mapto="RETROK_BACKSPACE"/>
<feature name="esc" mapto="RETROK_ESCAPE"/>
<feature name="up" mapto="RETROK_UP"/>
<feature name="right" mapto="RETROK_RIGHT"/>
<feature name="down" mapto="RETROK_DOWN"/>
<feature name="left" mapto="RETROK_LEFT"/>
<feature name="num0" mapto="RETROK_KP0"/>
<feature name="num1" mapto="RETROK_KP1"/>
<feature name="num2" mapto="RETROK_KP2"/>
<feature name="num3" mapto="RETROK_KP3"/>
<feature name="num4" mapto="RETROK_KP4"/>
<feature name="num5" mapto="RETROK_KP5"/>
<feature name="num6" mapto="RETROK_KP6"/>
<feature name="num7" mapto="RETROK_KP7"/>
<feature name="num8" mapto="RETROK_KP8"/>
<feature name="num9" mapto="RETROK_KP9"/>
<feature name="numperiod" mapto="RETROK_KP_PERIOD"/>
<feature name="right" mapto="RETROK_RIGHT"/>
<feature name="f0" mapto="RETROK_KP0"/>
<feature name="f1" mapto="RETROK_KP1"/>
<feature name="f2" mapto="RETROK_KP2"/>
<feature name="f3" mapto="RETROK_KP3"/>
<feature name="f4" mapto="RETROK_KP4"/>
<feature name="f5" mapto="RETROK_KP5"/>
<feature name="f6" mapto="RETROK_KP6"/>
<feature name="f7" mapto="RETROK_KP7"/>
<feature name="f8" mapto="RETROK_KP8"/>
<feature name="f9" mapto="RETROK_KP9"/>
<feature name="intro" mapto="RETROK_KP_ENTER"/>
<feature name="fdot" mapto="RETROK_KP_PERIOD"/>
<feature name="clr" mapto="RETROK_DELETE"/>
<feature name="shift" mapto="RETROK_LSHIFT"/>
<feature name="ctrl" mapto="RETROK_LCTRL"/>
<feature name="control" mapto="RETROK_LCTRL"/>
<feature name="capslock" mapto="RETROK_CAPSLOCK"/>
<feature name="numenter" mapto="RETROK_KP_ENTER"/>
<feature name="delete" mapto="RETROK_DELETE"/>
<feature name="end" mapto="RETROK_END"/>
<feature name="pageup" mapto="RETROK_PAGEUP"/>
<feature name="pagedown" mapto="RETROK_PAGEDOWN"/>
<feature name="ins" mapto="RETROK_INSERT"/>
<feature name="home" mapto="RETROK_HOME"/>
<feature name="copy" mapto="RETROK_LALT"/>
<feature name="slash" mapto="RETROK_SLASH"/>
<feature name="backslash" mapto="RETROK_BACKQUOTE"/>
<feature name="semicolon" mapto="RETROK_QUOTE"/>
<feature name="closebracket" mapto="RETROK_BACKSLASH"/>
<feature name="vkbtoggle" mapto="RETROK_F9"/>
<feature name="gui" mapto="RETROK_F10"/>
<feature name="play" mapto="RETROK_HOME"/>
<feature name="stop" mapto="RETROK_END"/>
<feature name="rewind" mapto="RETROK_PAGEUP"/>
<feature name="mousetoggle" mapto="RETROK_INSERT"/>
</controller>
</buttonmap>
1 change: 1 addition & 0 deletions game.libretro.cap32/resources/topology.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</port>
<port type="controller" id="1">
<accepts controller="game.controller.amstrad.joystick"/>
<accepts controller="game.controller.amstrad.keyboard"/>
</port>
<port type="controller" id="2">
<accepts controller="game.controller.amstrad.joystick"/>
Expand Down