From e7b36f2be954a3ecafa7dfa9ac9c5e30e1b39ea5 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sat, 4 Jan 2014 11:15:52 +0100 Subject: Input devices configs Signed-off-by: Paul Kocialkowski --- usr/idc/melfas_ts.idc | 24 ++++++++++++++++++++++++ usr/idc/sec_touchscreen.idc | 26 ++++++++++++++++++++++++++ usr/keylayout/gpio-keys.kl | 4 ++++ usr/keylayout/sec_touchkey.kl | 2 ++ usr/keylayout/sii9234_rcp.kl | 28 ++++++++++++++++++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 usr/idc/melfas_ts.idc create mode 100644 usr/idc/sec_touchscreen.idc create mode 100644 usr/keylayout/gpio-keys.kl create mode 100644 usr/keylayout/sec_touchkey.kl create mode 100644 usr/keylayout/sii9234_rcp.kl (limited to 'usr') 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 -- cgit v1.1