void VirtualKey::VK_MOUSEKEY::FixedDistanceScroll::initialize(IOWorkLoop& workloop) { delta1_ = 0; delta2_ = 0; counter_ = 0; autogenId_ = AutogenId(0); physicalEventType_ = PhysicalEventType::DOWN; fire_timer_.initialize(&workloop, nullptr, VirtualKey::VK_MOUSEKEY::FixedDistanceScroll::fire_timer_callback); }
void VirtualKey::VK_MOUSEKEY::reset(void) { move_down_ = false; move_left_ = false; move_right_ = false; move_up_ = false; scale_ = 1; scrollmode_ = false; highspeed_ = false; currentAutogenId_ = AutogenId(0); lastPhysicalEventType_ = PhysicalEventType::DOWN; fire_timer_.cancelTimeout(); FixedDistanceScroll::reset(); }
void VirtualKey::VK_MOUSEKEY::initialize(IOWorkLoop& workloop) { move_down_ = false; move_left_ = false; move_right_ = false; move_up_ = false; scale_ = 1; scrollmode_ = false; highspeed_ = false; currentAutogenId_ = AutogenId(0); lastPhysicalEventType_ = PhysicalEventType::DOWN; fire_timer_.initialize(&workloop, nullptr, VirtualKey::VK_MOUSEKEY::fire_timer_callback); FixedDistanceScroll::initialize(workloop); }
static AutogenId maxValue(void) { // 1234567812345678 return AutogenId(0xffffffffffffffff); }
DropKey(AutogenId autogenId) : RemapFuncBase(BRIDGE_REMAPTYPE_DROPKEY, autogenId), dropKey_(false), dropConsumerKey_(false), dropPointingButton_(false), modifierMatched_(false), dropTargetAutogenId_(AutogenId(0)) {}