Skip to content

Commit

Permalink
Add handling for 'space' in keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
demonnic committed Nov 15, 2023
1 parent 766faf2 commit 7b83a44
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = 1.0.1
version = 1.0.2
3 changes: 2 additions & 1 deletion src/main/groovy/muddler/mudlet/items/Key.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ def generateModifierCode(ArrayList modifiers) {
'f16': '16777279',
'f17': '16777280',
'f18': '16777281',
'space': '32',
'!': '33',
'"': '34',
'#': '35',
Expand Down Expand Up @@ -231,7 +232,7 @@ def generateModifierCode(ArrayList modifiers) {
'?': '63',
'@': '64',
'a': '65',
's': '66',
'b': '66',
'c': '67',
'd': '68',
'e': '69',
Expand Down
4 changes: 4 additions & 0 deletions testmuddle/anitimers/src/keys/AnimatedTimers/keys.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
{
"name": "demo",
"keys": "ctl+clear+alt+shift+keypad"
},
{
"name": "demo2",
"keys": "ctl+shift+space"
}
]

0 comments on commit 7b83a44

Please sign in to comment.