summaryrefslogtreecommitdiff
path: root/modules/input/evdev/InputHost.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Initial InputMappers for evdev input HAL.Tim Kilbourn2015-06-091-40/+45
| | | | | | | | | | | 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-3/+13
| | | | Change-Id: Ia75b71253771d9d558c59411e27f8a51e352fb8b
* Add input HAL methods for getting device properties.Tim Kilbourn2015-04-161-0/+26
| | | | | | | | | | A property map holds the collection of the properties for a given device identifier. HAL modules allocate and release these property maps to control the lifetime of the data. The host will typically open and read the corresponding idc file on allocation, and release these resources when it is freed. Change-Id: Ia13ec7b7abf1a79eeed87dc744c174a37f1fb8a9
* Input event hub for evdev input HAL module.Tim Kilbourn2015-03-301-0/+78
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