Home
last modified time | relevance | path

Searched refs:INPUT_COLLECTION_ID_MOUSE (Results 1 – 3 of 3) sorted by relevance

/hardware/libhardware/modules/input/evdev/
DMouseInputMapper.cpp54 getInputReportDefinition()->addCollection(INPUT_COLLECTION_ID_MOUSE, 1); in configureInputReport()
62 getInputReportDefinition()->declareUsage(INPUT_COLLECTION_ID_MOUSE, INPUT_USAGE_AXIS_X, in configureInputReport()
64 getInputReportDefinition()->declareUsage(INPUT_COLLECTION_ID_MOUSE, INPUT_USAGE_AXIS_Y, in configureInputReport()
67 getInputReportDefinition()->declareUsage(INPUT_COLLECTION_ID_MOUSE, in configureInputReport()
71 getInputReportDefinition()->declareUsage(INPUT_COLLECTION_ID_MOUSE, in configureInputReport()
86 getInputReportDefinition()->declareUsages(INPUT_COLLECTION_ID_MOUSE, usages, numUsages); in configureInputReport()
154 getInputReport()->setBoolUsage(INPUT_COLLECTION_ID_MOUSE, codeMap[bit].usage, in sync()
160 getInputReport()->setIntUsage(INPUT_COLLECTION_ID_MOUSE, INPUT_USAGE_AXIS_X, mRelX, 0); in sync()
163 getInputReport()->setIntUsage(INPUT_COLLECTION_ID_MOUSE, INPUT_USAGE_AXIS_Y, mRelY, 0); in sync()
166 getInputReport()->setIntUsage(INPUT_COLLECTION_ID_MOUSE, INPUT_USAGE_AXIS_VSCROLL, in sync()
[all …]
/hardware/libhardware/tests/input/evdev/
DMouseInputMapper_test.cpp53 const auto id = INPUT_COLLECTION_ID_MOUSE; in TEST_F()
70 EXPECT_CALL(reportDef, addCollection(INPUT_COLLECTION_ID_MOUSE, 1)); in TEST_F()
97 const auto id = INPUT_COLLECTION_ID_MOUSE; in TEST_F()
/hardware/libhardware/include/hardware/
Dinput.h401 INPUT_COLLECTION_ID_MOUSE, enumerator