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:
Mathias Kresin
2016-11-27 09:47:51 +01:00
parent 4780e7e994
commit 18c64f41c7
22 changed files with 27 additions and 26 deletions

View File

@@ -41,7 +41,7 @@
mode {
label = "mode";
gpios = <&gpio0 20 1>;
linux,code = <ABS_MT_WIDTH_MAJOR>;
linux,code = <BTN_0>;
};
};
};

View File

@@ -41,7 +41,7 @@
mode {
label = "mode";
gpios = <&gpio0 20 1>;
linux,code = <ABS_MT_WIDTH_MAJOR>;
linux,code = <BTN_0>;
};
};
};

View File

@@ -47,7 +47,7 @@
mode {
label = "mode";
gpios = <&gpio0 20 1>;
linux,code = <ABS_MT_WIDTH_MAJOR>;
linux,code = <BTN_0>;
};
};
};

View File

@@ -84,7 +84,7 @@
mode {
label = "mode";
gpios = <&gpio0 7 1>;
linux,code = <ABS_MT_WIDTH_MAJOR>;
linux,code = <BTN_0>;
};
};
};

View File

@@ -61,7 +61,7 @@
mode {
label = "mode";
gpios = <&gpio0 7 1>;
linux,code = <ABS_MT_WIDTH_MAJOR>;
linux,code = <BTN_0>;
};
};
};

View File

@@ -84,7 +84,7 @@
mode {
label = "mode";
gpios = <&gpio0 7 1>;
linux,code = <ABS_MT_WIDTH_MAJOR>;
linux,code = <BTN_0>;
};
};
};

View File

@@ -84,7 +84,7 @@
mode {
label = "mode";
gpios = <&gpio0 7 1>;
linux,code = <ABS_MT_WIDTH_MAJOR>;
linux,code = <BTN_0>;
};
};
};