summaryrefslogtreecommitdiff
path: root/Ports/gltron/patches/0005-Scripting-Fix-default-keybindings.patch
blob: 949abdae6b8c812a9e95490fb4cb9aca3a79777d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
From d2a56ba682814f2d2451fc0729ada79290de2939 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Mon, 9 May 2022 00:36:08 +0200
Subject: [PATCH 5/6] Scripting: Fix default keybindings

These constants referred to the wrong keys.
---
 scripts/config.lua | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/scripts/config.lua b/scripts/config.lua
index 3c9e6d2..4755678 100644
--- a/scripts/config.lua
+++ b/scripts/config.lua
@@ -90,18 +90,18 @@ settings.musicVolume = 0.5
 
 settings.keys = { 
    { -- player 1
-      left = 97, -- lower case 'a'
-      right = 115, -- lower case 's'
-      glance_left = 113, -- lower case 'q'
-      glance_right = 119, -- lower case 'w'
-			boost = 101, -- lower case 'd'
+      left = 65, -- lower case 'a'
+      right = 83, -- lower case 's'
+      glance_left = 81, -- lower case 'q'
+      glance_right = 87, -- lower case 'w'
+			boost = 68, -- lower case 'd'
    },
    { -- player 2
-      left = 106, -- lower case 'j'
-      right = 107, -- lower case 'k'
-      glance_left = 117, -- lower case 'u'
-      glance_right = 105, -- lower case 'i'
-			boost = 108, -- lower case 'l'
+      left = 74, -- lower case 'j'
+      right = 75, -- lower case 'k'
+      glance_left = 85, -- lower case 'u'
+      glance_right = 73, -- lower case 'i'
+			boost = 76, -- lower case 'l'
    },
    { -- player 3
       left = 276, -- cursor left
-- 
2.34.1