We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c28a70 commit 89a9fa4Copy full SHA for 89a9fa4
1 file changed
slowbongo/Main.qml
@@ -292,9 +292,9 @@ Item {
292
stdout: SplitParser {
293
onRead: data => {
294
if (data.includes("EV_KEY") && data.includes("value 1")) {
295
- // Detect spacebar for double slap (both paws)
296
- const isSpace = data.includes("KEY_SPACE");
297
- root.onKeyPress(isSpace);
+ // Detect spacebar/enter for double slap (both paws)
+ const isBigHit = data.includes("KEY_SPACE") || data.includes("KEY_ENTER");
+ root.onKeyPress(isBigHit);
298
}
299
300
0 commit comments