diff options
-rwxr-xr-x | BoardConfig.mk | 3 | ||||
-rwxr-xr-x | configs/sec_touchscreen.idc | 56 | ||||
-rwxr-xr-x | galaxynote.mk | 12 | ||||
-rwxr-xr-x | gpswrapper/gps.c | 2 |
4 files changed, 64 insertions, 9 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index a1c6e1f..96a68f3 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -80,9 +80,6 @@ BOARD_HAVE_FM_RADIO := true BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO BOARD_FM_DEVICE := si4709 -# GPS -BOARD_USES_GPSWRAPPER := true - # WiFi (BCM4330) WPA_SUPPLICANT_VERSION := VER_0_8_X BOARD_WPA_SUPPLICANT_DRIVER := WEXT diff --git a/configs/sec_touchscreen.idc b/configs/sec_touchscreen.idc new file mode 100755 index 0000000..d258f04 --- /dev/null +++ b/configs/sec_touchscreen.idc @@ -0,0 +1,56 @@ +# 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 Calibration File for the Crespo 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 calibration documentation for more details. +# + +# Basic Parameters +touch.deviceType = touchScreen +touch.orientationAware = 1 + +# Touch Size +touch.touchSize.calibration = pressure + +# Tool Size +# Driver reports tool size as an area measurement. +# +# Based on empirical measurements, we estimate the size of the tool +# using size = sqrt(22 * rawToolArea + 0) * 9.2 + 0. +touch.toolSize.calibration = area +touch.toolSize.areaScale = 22 +touch.toolSize.areaBias = 0 +touch.toolSize.linearScale = 9.2 +touch.toolSize.linearBias = 0 +touch.toolSize.isSummed = 0 + +# Pressure +# Driver reports signal strength as pressure. +# +# A normal thumb touch typically registers about 100 signal strength +# units although we don't expect these values to be accurate. +touch.pressure.calibration = amplitude +touch.pressure.source = default +touch.pressure.scale = 0.01 + +# Size +touch.size.calibration = normalized + +# Orientation +touch.orientation.calibration = none + diff --git a/galaxynote.mk b/galaxynote.mk index 7204ef1..88a2b4a 100755 --- a/galaxynote.mk +++ b/galaxynote.mk @@ -14,7 +14,7 @@ DEVICE_PACKAGE_OVERLAYS := device/samsung/galaxynote/overlay # This device is hdpi. -PRODUCT_AAPT_CONFIG := normal xhdpi +PRODUCT_AAPT_CONFIG := normal hdpi xhdpi PRODUCT_AAPT_PREF_CONFIG := xhdpi PRODUCT_LOCALES += xhdpi @@ -39,7 +39,9 @@ PRODUCT_COPY_FILES += \ # Touchscreen PRODUCT_COPY_FILES += \ - device/samsung/galaxynote/configs/sec_ts_ics_bio.idc:system/usr/idc/sec_ts_ics_bio.idc + device/samsung/galaxynote/configs/sec_ts_ics_bio.idc:system/usr/idc/sec_ts_ics_bio.idc \ + device/samsung/galaxynote/configs/sec_ts_ics_bio.idc:system/usr/idc/sec_touchscreen.idc \ + device/samsung/galaxynote/configs/sec_ts_ics_bio.idc:system/usr/idc/sec_e-pen.idc \ # Keylayout PRODUCT_COPY_FILES += \ @@ -79,8 +81,8 @@ PRODUCT_COPY_FILES += \ # Packages PRODUCT_PACKAGES := \ - audio.primary.smdkv310 \ - gps.smdkv310 \ + audio.primary.smdkv310 \ + gps.smdkv310 \ smdkv310_hdcp_keys \ com.android.future.usb.accessory @@ -142,7 +144,7 @@ PRODUCT_COPY_FILES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.opengles.version=131072 \ - ro.sf.lcd_density=284 \ + ro.sf.lcd_density=320 \ hwui.render_dirty_regions=false \ hwui.disable_vsync=true diff --git a/gpswrapper/gps.c b/gpswrapper/gps.c index dd3746f..d921e27 100755 --- a/gpswrapper/gps.c +++ b/gpswrapper/gps.c @@ -200,4 +200,4 @@ const struct hw_module_t HAL_MODULE_INFO_SYM = { .name = "GPS HAL Wrapper Module",
.author = "Kolja Dummann",
.methods = &gps_module_methods,
-};
+};
\ No newline at end of file |