FunKey-OS/board/funkey/patches/linux/0010-remapped-buttons.patch
2019-03-22 13:58:51 +01:00

35 lines
937 B
Diff

From fb026dd5d01a07b3fb2b172647924ddad2f2f863 Mon Sep 17 00:00:00 2001
From: Michel Stempin <michel.stempin@wanadoo.fr>
Date: Tue, 19 Mar 2019 22:53:38 +0100
Subject: [PATCH 5/9] remapped buttons
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
---
arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
index 1c263c2..94657bd 100644
--- a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
+++ b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts
@@ -105,14 +105,14 @@
button@600 {
label = "Select";
- linux,code = <KEY_SELECT>;
+ linux,code = <KEY_O>;
channel = <0>;
voltage = <600000>;
};
button@800 {
label = "Start";
- linux,code = <KEY_OK>;
+ linux,code = <KEY_P>;
channel = <0>;
voltage = <800000>;
};
--
2.7.4