mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Jelle Raaijmakers <jelle@gmta.nl>
|
|
Date: Mon, 9 May 2022 00:36:08 +0200
|
|
Subject: [PATCH] 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
|