Searched refs:switches (Results 1 - 3 of 3) sorted by relevance

/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DTabletProtocolHandler.cpp88 TRACE("tablet device with %" B_PRIu32 " buttons, %" B_PRIu32 " switches,"
282 uint32 switches = 0; local
289 switches |= (dswitch->Data() & 1) << (dswitch->UsageID()
330 if (switches != 0) {
339 fLastSwitches = switches;
351 info->switches = switches;
/haiku/headers/private/input/
H A Dkeyboard_mouse_driver.h111 uint32 switches; member in struct:__anon5
/haiku/src/add-ons/input_server/devices/tablet/
H A DTabletInputDevice.cpp330 movements.buttons |= (movements.switches & B_TIP_SWITCH);
331 movements.buttons |= (movements.switches & B_BARREL_SWITCH) >> 1;
332 bool eraser = (movements.switches & B_ERASER) != 0;

Completed in 41 milliseconds