というわけで、GenericTouch.idcベースに変更してみる
ICSで変更されているから確認せよとのこと。
kinneko@BuildSV:~/ICSx86$ grep -B1 GenericTouch.idc device/common/generic_x86/device.mk PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/GenericTouch.idc:system/usr/idc/GenericTouch.idc \
これはICSに前から入れてあったのね。
んで、Honeycombにも適用されたと。
ファイルもある。
kinneko@BuildSV:~/ICSx86$ cat device/common/generic_x86/GenericTouch.idc # Copyright (C) 2011 The Android-x86 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. # Basic Parameters touch.deviceType = touchScreen #touch.orientationAware = 1 # Touch Size touch.touchSize.calibration = default # Tool Size touch.toolSize.calibration = default # Pressure touch.pressure.calibration = default # Size touch.size.calibration = default # Orientation touch.orientation.calibration = none device.internal = 1
device.internal = 1がおざなりに追記されている。
仕込みは終わっていたけど、EventHubの変更されてなかったから動いてなかったってことか... orz
Honeycombをチェック。
ファイルコピーと、EventHubはパッチされたけど、GenericTouch.idcがないのじゃない?
確認する。
Honeycombではgeneric_x86はbuild/target/board/にあって、ICSではdevice/commonにある。
GenericTouch.idcは、Honeycombでもすでに入っていた。
ファイルあるのに使えるようにしてなかったってことは、EventHubに手を入れるのをためらっていたのだろうか?
いろいろあるPCで無理なく動くようにするには、汎用対応がいいのだけれど、デバイスごとに設定置かないと、x86から入った人が一般的な作法がわかんなくなっちゃうような...
Honeycombをビルド。
ちゃんと動きます。
ICSをビルド。
あれ?ビルドエラーだ。
ここのところのパッチがなにか悪さしているのかな?