summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-01-04 11:15:52 +0100
committerPaul Kocialkowski <contact@paulk.fr>2014-01-04 12:51:47 +0100
commite7b36f2be954a3ecafa7dfa9ac9c5e30e1b39ea5 (patch)
tree05d65c5f97d5f3b4839bb6dcb40afb4066770031 /usr
parentdcd9fbbf0e285659b2f98fb86605f581db9cc4ec (diff)
downloaddevice_samsung_i9300-e7b36f2be954a3ecafa7dfa9ac9c5e30e1b39ea5.zip
device_samsung_i9300-e7b36f2be954a3ecafa7dfa9ac9c5e30e1b39ea5.tar.gz
device_samsung_i9300-e7b36f2be954a3ecafa7dfa9ac9c5e30e1b39ea5.tar.bz2
Input devices configs
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'usr')
-rw-r--r--usr/idc/melfas_ts.idc24
-rw-r--r--usr/idc/sec_touchscreen.idc26
-rw-r--r--usr/keylayout/gpio-keys.kl4
-rw-r--r--usr/keylayout/sec_touchkey.kl2
-rw-r--r--usr/keylayout/sii9234_rcp.kl28
5 files changed, 84 insertions, 0 deletions
diff --git a/usr/idc/melfas_ts.idc b/usr/idc/melfas_ts.idc
new file mode 100644
index 0000000..703e73b
--- /dev/null
+++ b/usr/idc/melfas_ts.idc
@@ -0,0 +1,24 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# Input Device Configuration File for the Atmel Maxtouch touch screen.
+#
+# These calibration values are derived from empirical measurements
+# and may not be appropriate for use with other touch screens.
+# Refer to the input device configuration documentation for more details.
+#
+
+# Basic Parameters
+touch.deviceType = touchScreen
diff --git a/usr/idc/sec_touchscreen.idc b/usr/idc/sec_touchscreen.idc
new file mode 100644
index 0000000..bf1f147
--- /dev/null
+++ b/usr/idc/sec_touchscreen.idc
@@ -0,0 +1,26 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# Input Device Configuration File for the Atmel Maxtouch touch screen.
+#
+# These calibration values are derived from empirical measurements
+# and may not be appropriate for use with other touch screens.
+# Refer to the input device configuration documentation for more details.
+#
+
+# Basic Parameters
+touch.deviceType = touchScreen
+touch.orientationAware = 1
+
diff --git a/usr/keylayout/gpio-keys.kl b/usr/keylayout/gpio-keys.kl
new file mode 100644
index 0000000..7014d5c
--- /dev/null
+++ b/usr/keylayout/gpio-keys.kl
@@ -0,0 +1,4 @@
+key 115 VOLUME_UP WAKE
+key 114 VOLUME_DOWN WAKE
+key 116 POWER WAKE
+key 172 HOME WAKE
diff --git a/usr/keylayout/sec_touchkey.kl b/usr/keylayout/sec_touchkey.kl
new file mode 100644
index 0000000..7d79415
--- /dev/null
+++ b/usr/keylayout/sec_touchkey.kl
@@ -0,0 +1,2 @@
+key 158 BACK VIRTUAL
+key 139 MENU VIRTUAL
diff --git a/usr/keylayout/sii9234_rcp.kl b/usr/keylayout/sii9234_rcp.kl
new file mode 100644
index 0000000..ae6c6a2
--- /dev/null
+++ b/usr/keylayout/sii9234_rcp.kl
@@ -0,0 +1,28 @@
+key 1 ENTER WAKE_DROPPED
+key 2 DPAD_UP WAKE_DROPPED
+key 3 DPAD_DOWN WAKE_DROPPED
+key 4 DPAD_LEFT WAKE_DROPPED
+key 5 DPAD_RIGHT WAKE_DROPPED
+key 10 MENU WAKE_DROPPED
+key 14 BACK WAKE_DROPPED
+
+key 33 0
+key 34 1
+key 35 2
+key 36 3
+key 37 4
+key 38 5
+key 39 6
+key 40 7
+key 41 8
+key 42 9
+
+key 45 DEL
+
+key 69 MEDIA_PLAY_PAUSE WAKE
+key 70 MEDIA_STOP WAKE
+key 71 MEDIA_PLAY_PAUSE WAKE
+key 73 MEDIA_REWIND WAKE
+key 74 MEDIA_FAST_FORWARD WAKE
+key 76 MEDIA_NEXT WAKE
+key 77 MEDIA_PREVIOUS WAKE