Skip to content

Commit

Permalink
Merge pull request #249 from kodi-game/amstrad-keyboard
Browse files Browse the repository at this point in the history
Update Amstrad keyboard keys, strings, and fix enter symbol
  • Loading branch information
garbear authored Sep 6, 2023
2 parents 17df32a + c47fef0 commit 1494386
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 61 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ msgid "-"
msgstr ""

msgctxt "#30042"
msgid "="
msgid ""
msgstr ""

msgctxt "#30043"
Expand All @@ -217,7 +217,7 @@ msgid "Return"
msgstr ""

msgctxt "#30047"
msgid "Backspace"
msgid "Clear"
msgstr ""

msgctxt "#30048"
Expand Down Expand Up @@ -297,33 +297,55 @@ msgid "Caps Lock"
msgstr ""

msgctxt "#30067"
msgid "Num Enter"
msgid "Num Intro"
msgstr ""

msgctxt "#30068"
msgid "Delete"
msgstr ""

msgctxt "#30069"
msgid "End"
msgid "Stop tape"
msgstr ""

msgctxt "#30070"
msgid "Page Up"
msgid "Rewind tape"
msgstr ""

msgctxt "#30071"
msgid "Page Down"
msgstr ""
#empty string with id 30071

msgctxt "#30072"
msgid "Insert"
msgid "Switch cursor"
msgstr ""

msgctxt "#30073"
msgid "Home"
msgid "Play tape"
msgstr ""

msgctxt "#30074"
msgid "Copy"
msgstr ""

msgctxt "#30075"
msgid "Virtual keyboard"
msgstr ""

msgctxt "#30076"
msgid "Main GUI"
msgstr ""

msgctxt "#30077"
msgid ":"
msgstr ""

msgctxt "#30078"
msgid "/"
msgstr ""

msgctxt "#30079"
msgid "\\"
msgstr ""

msgctxt "#30080"
msgid "]"
msgstr ""
108 changes: 57 additions & 51 deletions addons/game.controller.amstrad.keyboard/resources/layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<layout label="30000" image="layout.png">
<category name="keys" label="35167">
<!-- International key mappings -->
<key name="at" symbol="grave" label="30043"/>
<key name="1" symbol="1" label="30001"/>
<key name="2" symbol="2" label="30002"/>
<key name="3" symbol="3" label="30003"/>
Expand All @@ -12,69 +13,74 @@
<key name="8" symbol="8" label="30008"/>
<key name="9" symbol="9" label="30009"/>
<key name="0" symbol="0" label="30010"/>
<key name="minus" symbol="minus" label="30041"/>
<key name="hat" symbol="equals" label="30042"/>
<key name="del" symbol="backspace" label="30068"/>
<key name="tab" symbol="tab" label="30045"/>
<key name="q" symbol="q" label="30027"/>
<key name="w" symbol="w" label="30033"/>
<key name="e" symbol="e" label="30015"/>
<key name="r" symbol="r" label="30028"/>
<key name="t" symbol="t" label="30030"/>
<key name="y" symbol="y" label="30035"/>
<key name="u" symbol="u" label="30031"/>
<key name="i" symbol="i" label="30019"/>
<key name="o" symbol="o" label="30025"/>
<key name="p" symbol="p" label="30026"/>
<key name="openbracket" symbol="leftbracket" label="30044"/>
<key name="closebracket" symbol="rightbracket" label="30080"/>
<key name="backslash" symbol="backslash" label="30079"/>
<key name="capslock" symbol="capslock" label="30066"/>
<key name="a" symbol="a" label="30011"/>
<key name="b" symbol="b" label="30012"/>
<key name="c" symbol="c" label="30013"/>
<key name="s" symbol="s" label="30029"/>
<key name="d" symbol="d" label="30014"/>
<key name="e" symbol="e" label="30015"/>
<key name="f" symbol="f" label="30016"/>
<key name="g" symbol="g" label="30017"/>
<key name="h" symbol="h" label="30018"/>
<key name="i" symbol="i" label="30019"/>
<key name="j" symbol="j" label="30020"/>
<key name="k" symbol="k" label="30021"/>
<key name="l" symbol="l" label="30022"/>
<key name="m" symbol="m" label="30023"/>
<key name="n" symbol="n" label="30024"/>
<key name="o" symbol="o" label="30025"/>
<key name="p" symbol="p" label="30026"/>
<key name="q" symbol="q" label="30027"/>
<key name="r" symbol="r" label="30028"/>
<key name="s" symbol="s" label="30029"/>
<key name="t" symbol="t" label="30030"/>
<key name="u" symbol="u" label="30031"/>
<key name="v" symbol="v" label="30032"/>
<key name="w" symbol="w" label="30033"/>
<key name="x" symbol="x" label="30034"/>
<key name="y" symbol="y" label="30035"/>
<key name="semicolon" symbol="semicolon" label="30040"/>
<key name="colon" symbol="quote" label="30077"/>
<key name="return" symbol="enter" label="30046"/>
<key name="shift" symbol="leftshift" label="30064"/>
<key name="z" symbol="z" label="30036"/>
<key name="space" symbol="space" label="30037"/>
<key name="x" symbol="x" label="30034"/>
<key name="c" symbol="c" label="30013"/>
<key name="v" symbol="v" label="30032"/>
<key name="b" symbol="b" label="30012"/>
<key name="n" symbol="n" label="30024"/>
<key name="m" symbol="m" label="30023"/>
<key name="comma" symbol="comma" label="30038"/>
<key name="period" symbol="period" label="30039"/>
<key name="semicolon" symbol="semicolon" label="30040"/>
<key name="minus" symbol="minus" label="30041"/>
<key name="equals" symbol="equals" label="30042"/>
<key name="at" symbol="at" label="30043"/>
<key name="openbracket" symbol="leftbracket" label="30044"/>
<key name="tab" symbol="tab" label="30045"/>
<key name="return" symbol="return" label="30046"/>
<key name="backspace" symbol="backspace" label="30047"/>
<key name="esc" symbol="escape" label="30048"/>
<key name="dot" symbol="period" label="30039"/>
<key name="slash" symbol="slash" label="30078"/>
<key name="control" symbol="leftctrl" label="30065"/>
<key name="copy" symbol="leftalt" label="30074"/>
<key name="space" symbol="space" label="30037"/>
<key name="up" symbol="up" label="30049"/>
<key name="right" symbol="right" label="30050"/>
<key name="down" symbol="down" label="30051"/>
<key name="left" symbol="left" label="30052"/>
<key name="num0" symbol="kp0" label="30053"/>
<key name="num1" symbol="kp1" label="30054"/>
<key name="num2" symbol="kp2" label="30055"/>
<key name="num3" symbol="kp3" label="30056"/>
<key name="num4" symbol="kp4" label="30057"/>
<key name="num5" symbol="kp5" label="30058"/>
<key name="num6" symbol="kp6" label="30059"/>
<key name="num7" symbol="kp7" label="30060"/>
<key name="num8" symbol="kp8" label="30061"/>
<key name="num9" symbol="kp9" label="30062"/>
<key name="numperiod" symbol="kpperiod" label="30063"/>
<key name="shift" symbol="leftshift" label="30064"/>
<key name="ctrl" symbol="leftctrl" label="30065"/>
<key name="capslock" symbol="capslock" label="30066"/>
<key name="numenter" symbol="kpenter" label="30067"/>
<key name="delete" symbol="delete" label="30068"/>
<key name="end" symbol="end" label="30069"/>
<key name="pageup" symbol="pageup" label="30070"/>
<key name="pagedown" symbol="pagedown" label="30071"/>
<key name="ins" symbol="insert" label="30072"/>
<key name="home" symbol="home" label="30073"/>
<key name="copy" symbol="leftalt" label="30074"/>
<key name="right" symbol="right" label="30050"/>
<key name="f0" symbol="kp0" label="30053"/>
<key name="f1" symbol="kp1" label="30054"/>
<key name="f2" symbol="kp2" label="30055"/>
<key name="f3" symbol="kp3" label="30056"/>
<key name="f4" symbol="kp4" label="30057"/>
<key name="f5" symbol="kp5" label="30058"/>
<key name="f6" symbol="kp6" label="30059"/>
<key name="f7" symbol="kp7" label="30060"/>
<key name="f8" symbol="kp8" label="30061"/>
<key name="f9" symbol="kp9" label="30062"/>
<key name="intro" symbol="kpenter" label="30067"/>
<key name="fdot" symbol="kpperiod" label="30063"/>
<key name="esc" symbol="escape" label="30048"/>
<key name="clr" symbol="delete" label="30047"/>
<!-- Virtual events -->
<key name="play" symbol="home" label="30073"/>
<key name="rewind" symbol="pageup" label="30070"/>
<key name="stop" symbol="end" label="30069"/>
<key name="mousetoggle" symbol="insert" label="30072"/>
<key name="vkbtoggle" symbol="f9" label="30075"/>
<key name="gui" symbol="f10" label="30076"/>
</category>
</layout>

0 comments on commit 1494386

Please sign in to comment.