summaryrefslogtreecommitdiff
path: root/modules/input/evdev/InputMapper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Code layout cleanupTim Kilbourn2015-06-091-0/+2
| | | | | | | | - Fwd declare where possible - List .h first in the .cpp to verify proper includes - Remove hacky -internal.h file and move testBitInRange to a new component Change-Id: I442248c4b32738c6c2af250f45d4c8822c862e08
* Initial InputMappers for evdev input HAL.Tim Kilbourn2015-06-091-0/+28
The previous design of the InputHost wrapper classes made it very painful to do testing, so this change also reverts to a more classical C++ pattern for non-copyable objects. The InputHost classes still simply call through to the input_host_t and callbacks as before. Updated unittests to use gmock for mocking the InputHost interactions. Change-Id: I4b70df2c89ed48af77446b8f5b87a4bde94510bf