summaryrefslogtreecommitdiff
path: root/modules/input/evdev/EvdevModule.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Only log when actually receiving actual switch events.Michael Wright2015-11-251-1/+1
| | | | | | | | Also, turn off debug logging in a couple other classes and fix an incorrect format specifier. Bug: 25497538 Change-Id: I72af9492415fa6910af90caf03a7884c6cb1a0b1
* Initial InputMappers for evdev input HAL.Tim Kilbourn2015-06-091-5/+6
| | | | | | | | | | | 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
* Configure device classes for evdev devices.Tim Kilbourn2015-06-011-1/+1
| | | | Change-Id: Ia75b71253771d9d558c59411e27f8a51e352fb8b
* Clarify usage of smart pointersTim Kilbourn2015-04-291-4/+4
| | | | | | | | | | - Members should be smart (shared or unique) - Prefer function args to be bare, unless the arg is intended to be stored by the callee - Function args that are smart should be const refs to avoid an extra copy Change-Id: I8052fa432bcffbabff9d67a8d568640cac64d4ad
* Input event hub for evdev input HAL module.Tim Kilbourn2015-03-301-6/+74
| | | | | | | | | InputHub monitors paths for device changes and input events. InputDeviceManager creates InputDevices and routes input events to them. InputDevices currently just log these events during development. InputHost represents a wrapper around the HAL interface. Change-Id: Ic47d574498eb07bcdcd17812a648539fdf1c69d6
* Add input HAL header.Michael Wright2015-02-231-0/+66
Change-Id: Ia959dd1d1adf024459d2423fc9d59a811466e53c