void remap_ScrollWheelEventCallback(const Params_Base& paramsBase) { auto params = paramsBase.get_Params_ScrollWheelEventCallback(); if (!params) return; RemapParams remapParams(*params); RemapClassManager::prepare(remapParams); RemapClassManager::remap(remapParams); if (!remapParams.isremapped) { EventOutputQueue::FireScrollWheel::fire(*params); RemapFunc::PointingRelativeToScroll::cancelScroll(); } }
void remap_ScrollWheelEventCallback(const Params_Base& paramsBase) { auto params = paramsBase.get_Params_ScrollWheelEventCallback(); if (!params) return; PhysicalEventType physicalEventType = PhysicalEventType::DOWN; RemapParams remapParams(*params, physicalEventType); RemapClassManager::prepare(remapParams); RemapClassManager::remap(remapParams); if (!remapParams.isremapped) { EventOutputQueue::FireScrollWheel::fire(*params, AutogenId::maxValue(), physicalEventType); RemapFunc::PointingRelativeToScroll::cancelScroll(); } }