summaryrefslogtreecommitdiff
path: root/modules/input
AgeCommit message (Collapse)Author
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardwareBob Badour
Added SPDX-license-identifier-Apache-2.0 to: modules/audio/Android.bp modules/audio_remote_submix/Android.bp modules/audio_remote_submix/tests/Android.bp modules/camera/3_0/Android.bp modules/consumerir/Android.bp modules/fingerprint/Android.bp modules/gralloc/Android.mk modules/hwcomposer/Android.bp modules/input/evdev/Android.bp modules/local_time/Android.bp modules/nfc-nci/Android.bp modules/nfc/Android.bp modules/power/Android.bp modules/radio/Android.bp modules/sensors/Android.bp modules/sensors/Android.mk modules/sensors/dynamic_sensor/Android.bp modules/sensors/dynamic_sensor/HidUtils/Android.bp modules/soundtrigger/Android.bp modules/thermal/Android.bp modules/tv_input/Android.bp modules/usbaudio/Android.bp modules/usbcamera/Android.bp modules/vibrator/Android.bp modules/vr/Android.bp tests/camera3/Android.bp tests/fingerprint/Android.bp tests/hardware/Android.bp tests/hwc/Android.bp tests/input/evdev/Android.bp tests/nusensors/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: Android.bp modules/camera/3_4/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I28924363e6c478f5d0b465b63534c4efd041c770
2020-08-05Update codeMap for v5.8 kernel update.Christopher Ferris
This also allows the previous kernels to still use the previous values. Test: Builds and boots. Change-Id: I12b5a5f15d198de642e8582bc2320fe6b1409bcf
2020-05-27Add jni_headers to libinput_evdevOrion Hodson
Preparation for removing implicit include paths for jni.h from soong. Bug: 152482542 Test: apply soong change and 'm checkbuild' Change-Id: I0a021d293f53fdb78b37452b5aa873d809e6ca81 Merged-In: I0a021d293f53fdb78b37452b5aa873d809e6ca81 Exempt-From-Owner-Approval: build clean-up (cherry picked from commit a49fa1c8a9bd71eeab4971b7572e6a81b233f162)
2019-12-10Update for increased SW input codes.Christopher Ferris
The new android-mainline kernel has increase the maximum number of SW input codes to 33, so update the code to handle more than 32 values. Test: Builds. Change-Id: I344de37569c1d2c4ff94b8025a7339147ac9afe7
2019-08-13Remove custom timestamp from hw/libhw/inputSiarhei Vishniakou
These are no longer used by EventHub, and should not be carried forward. Bug: 116601048 Test: presubmit only Merged-In: I35129484d9945dcd4d291e0f2fac894e07c53c04 Change-Id: I35129484d9945dcd4d291e0f2fac894e07c53c04
2018-12-12Fix performance-for-range-copy warningsChih-Hung Hsieh
Bug: 30413223 Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance* Change-Id: I800b659c039c54fd52a927a88904d642604722f7
2017-12-27Convert to Android.bpDan Willemsen
See build/soong/README.md for more information Test: mmma hardware/libhardware Change-Id: Ibb7e2af9d55f581e951d8996cea5e52cd0766b04
2017-12-19Fix compiler warnings.Chih-Hung Hsieh
* Remove unused local variables, functions, and private fields. Bug: 66996870 Test: normal build Change-Id: I3a5d6035a61be1b846dc8df3807088d2ca5dc4a3
2017-12-06Merge "Use -Werror in hardware/libhardware/modules"Chih-Hung Hsieh
am: 298fc4f6f5 Change-Id: I3c23dc4ce4609ec27402cae52b71ef79067c8e73
2017-12-01Use -Werror in hardware/libhardware/modulesChih-Hung Hsieh
* Remove unused local variables. * Remove or comment out unused static functions. * Fix trivial bugs found by unused value warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I99389b883c89551850180d25241a35a40bb77b26
2017-08-24Merge "C++14 is the default now." am: c85724298e am: d53231a511Elliott Hughes
am: 9e2569e26a Change-Id: I48ddbdbefd272e37e05c3fe577fe62aae2cc9bc7
2017-08-23C++14 is the default now.Elliott Hughes
Bug: http://b/32019064 Test: builds Change-Id: Iacc91f1150cdab2df40db3e33f5b57933ff79824
2017-07-17Unmark input.evdev.default from vendor libJiyong Park
This HAL is using android/input.h which is not available to vendors. Unmark this HAL back to platform lib so that the header is accessible. Note that this does not block our effort of splitting system/vendor builds since this HAL is not used in any Treble-enabled device. Bug: 37342627 Test: BOARD_VNDK_VERSION=current m -j input.evdev.default Change-Id: I4f900cb58802bccf8d06f995a4e52c3b450f4799
2017-03-07Move default HAL libraries to vendorPo-Chien Hsueh
Libraries under /hardware/libhardware/modules should go to /vendor/. These are conventionl HALs for default implementations, most of them are not used. Camera and thermal are already moved in other CLs. Bug: 35907904 Test: Compiled and checked install path. Verified on Sailfish with $ lsof | grep default. Change-Id: Ibde574001c01cbfea014a20a0fbbb3265e6cdc8a
2016-06-30InputHub: Fix compiler warningsGreg Kaiser
Change-Id: I3508b2d0c97baf167894917f2980d761e6169441
2015-11-25Only log when actually receiving actual switch events.Michael Wright
Also, turn off debug logging in a couple other classes and fix an incorrect format specifier. Bug: 25497538 Change-Id: I72af9492415fa6910af90caf03a7884c6cb1a0b1
2015-07-28MouseInputMapperTim Kilbourn
Maps relative movements of a mouse or scroll wheel and mouse button presses. All other logic from CursorInputMapper will be handled in the host. Change-Id: I00a966a6194d4810b7b6ac5cc815287ecf7dfb84
2015-06-09Code layout cleanupTim Kilbourn
- 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
2015-06-09Initial InputMappers for evdev input HAL.Tim Kilbourn
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
2015-06-01Configure device classes for evdev devices.Tim Kilbourn
Change-Id: Ia75b71253771d9d558c59411e27f8a51e352fb8b
2015-04-29Clarify usage of smart pointersTim Kilbourn
- 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
2015-04-16Add input HAL methods for getting device properties.Tim Kilbourn
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
2015-03-30Input event hub for evdev input HAL module.Tim Kilbourn
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
2015-02-23Add input HAL header.Michael Wright
Change-Id: Ia959dd1d1adf024459d2423fc9d59a811466e53c