From 1bb9d13e5d8e5f7957caf76b08b5bc09968a048e Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 11 May 2022 20:44:00 +0200 Subject: [PATCH] feat: add more keys --- sonic-radiance.love/datas/inputs.lua | 19 +++++++++++++++++-- sonic-radiance.love/datas/keys.lua | 22 +++++++++++++++++++++- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/sonic-radiance.love/datas/inputs.lua b/sonic-radiance.love/datas/inputs.lua index 053f97c..202d071 100644 --- a/sonic-radiance.love/datas/inputs.lua +++ b/sonic-radiance.love/datas/inputs.lua @@ -6,11 +6,26 @@ return { ["right"] = "right", ["up"] = "up", ["down"] = "down", + + ["dleft"] = "k", + ["dright"] = "m", + ["dup"] = "o", + ["ddown"] = "l", + ["A"] = "a", ["B"] = "z", - ["C"] = "e", + ["X"] = "e", + ["Y"] = "r", + + ["C"] = "n", + ["start"] = "return", - ["select"] = "space" + ["select"] = "space", + + ["R1"] = "w", + ["R2"] = "q", + ["L1"] = "x", + ["L2"] = "s", } } } diff --git a/sonic-radiance.love/datas/keys.lua b/sonic-radiance.love/datas/keys.lua index 7467ebe..3eca23a 100644 --- a/sonic-radiance.love/datas/keys.lua +++ b/sonic-radiance.love/datas/keys.lua @@ -1 +1,21 @@ -return {"up", "down", "left", "right", "A", "B", "C", "start", "select"} +return { + "up", + "down", + "left", + "right", + "dup", + "ddown", + "dleft", + "dright", + "A", + "B", + "X", + "Y", + "C", + "start", + "select", + "R1", + "R2", + "L1", + "L2", +}