summaryrefslogtreecommitdiffstats
path: root/include/utils/FileMap.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-12-02 13:50:46 -0800
committerAlex Ray <aray@google.com>2013-07-30 13:56:55 -0700
commit1d618d63c1bb99728b5b0afe320f5a6afa95436c (patch)
tree063d271af206fc8f3e098fe77aea64e96c045b62 /include/utils/FileMap.h
parent04cbbc1c47c68e805d2674d9fc702fc44385805f (diff)
downloadsystem_core-1d618d63c1bb99728b5b0afe320f5a6afa95436c.zip
system_core-1d618d63c1bb99728b5b0afe320f5a6afa95436c.tar.gz
system_core-1d618d63c1bb99728b5b0afe320f5a6afa95436c.tar.bz2
Improve support for external keyboards.
Use Vendor ID, Product ID and optionally the Version to locate keymaps and configuration files for external devices. Moved virtual key definition parsing to native code so that EventHub can identify touch screens with virtual keys and load the appropriate key layout file. Cleaned up a lot of old code in EventHub. Fixed a regression in ViewRoot's fallback event handling. Fixed a minor bug in FileMap that caused it to try to munmap or close invalid handled when released if the attempt to map the file failed. Added a couple of new String8 conveniences for formatting strings. Modified Tokenizer to fall back to open+read when mmap fails since we can't mmap sysfs files as needed to open the virtual key definition files in /sys/board_properties/. Change-Id: I6ca5e5f9547619fd082ddac47e87ce185da69ee6
Diffstat (limited to 'include/utils/FileMap.h')
0 files changed, 0 insertions, 0 deletions