Searched refs:UsageID (Results 1 - 10 of 10) sorted by relevance

/haiku/src/add-ons/kernel/drivers/input/usb_hid/
H A DJoystickProtocolHandler.cpp49 if (item->UsageID() > INT16_MAX)
62 if (fMaxButton < item->UsageID())
63 fMaxButton = item->UsageID();
69 if (item->UsageID() == B_HID_UID_GD_HAT_SWITCH) {
84 if (item->UsageID() >= B_HID_UID_GD_X
85 && item->UsageID() <= B_HID_UID_GD_WHEEL) {
86 // axis = item->UsageID() - B_HID_UID_GD_X;
87 } else if (item->UsageID() >= B_HID_UID_GD_VX
88 && item->UsageID() <= B_HID_UID_GD_VNO) {
89 // axis = item->UsageID()
[all...]
H A DHIDCollection.h22 uint16 UsageID();
H A DHIDReportItem.h28 uint16 UsageID();
H A DTabletProtocolHandler.cpp58 && item->UsageID() - 1 < B_MAX_MOUSE_BUTTONS) {
109 switch (collection.UsageID()) {
124 switch (collection.UsageID()) {
274 buttons |= (button->Data() & 1) << (button->UsageID() - 1);
H A DMouseProtocolHandler.cpp48 && item->UsageID() - 1 < B_MAX_MOUSE_BUTTONS) {
72 switch (collection.UsageID()) {
218 buttons |= (button->Data() & 1) << (button->UsageID() - 1);
H A DKeyboardProtocolHandler.cpp94 && item->UsageID() >= B_HID_UID_KB_LEFT_CONTROL
95 && item->UsageID() <= B_HID_UID_KB_RIGHT_GUI) {
142 switch (item->UsageID()) {
186 switch (collection.UsageID()) {
198 switch (collection.UsageID()) {
511 << (modifier->UsageID() - B_HID_UID_KB_LEFT_CONTROL);
H A DProtocolHandler.cpp87 collection->UsagePage(), collection->UsageID());
H A DHIDReportItem.cpp49 HIDReportItem::UsageID() function in class:HIDReportItem
H A DHIDCollection.cpp71 HIDCollection::UsageID() function in class:HIDCollection
H A DHIDReport.cpp214 && fItems[i]->UsageID() == usageID)

Completed in 96 milliseconds