treewide: fix button keys codes used in dts
Use keycodes that matches the intended use case based on the label. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
mode {
|
||||
label = "mode";
|
||||
gpios = <&gpio0 20 1>;
|
||||
linux,code = <ABS_MT_WIDTH_MAJOR>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
mode {
|
||||
label = "mode";
|
||||
gpios = <&gpio0 20 1>;
|
||||
linux,code = <ABS_MT_WIDTH_MAJOR>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
mode {
|
||||
label = "mode";
|
||||
gpios = <&gpio0 20 1>;
|
||||
linux,code = <ABS_MT_WIDTH_MAJOR>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
mode {
|
||||
label = "mode";
|
||||
gpios = <&gpio0 7 1>;
|
||||
linux,code = <ABS_MT_WIDTH_MAJOR>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
mode {
|
||||
label = "mode";
|
||||
gpios = <&gpio0 7 1>;
|
||||
linux,code = <ABS_MT_WIDTH_MAJOR>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
mode {
|
||||
label = "mode";
|
||||
gpios = <&gpio0 7 1>;
|
||||
linux,code = <ABS_MT_WIDTH_MAJOR>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
mode {
|
||||
label = "mode";
|
||||
gpios = <&gpio0 7 1>;
|
||||
linux,code = <ABS_MT_WIDTH_MAJOR>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user