Is it possible to configure control+mouse scroll->zoom function on karabiner elements?

Author: yongquan-huCreated Dec 24, 2021Updated Sep 11, 2026

I am a user who switched from Win to Mac, and I very much hope to be able to configure this function in the complex modifications part of Karabiner: control+scroll up-->zoom in, control+scroll down-->zoom out.

I tried to write configuration files like this but they didn't work:

"description": "mouse scroll to zoom", "manipulators": [ { "type": "basic", "from": { "mouse_key": { "vertical_wheel": 2 }, "modifiers": { "mandatory": ["left_control"] } }, "to": [ { "key_code": "=", "modifiers": ["command"] } ] }

Wondering if anyone knows how to implement this function correctly?

Source: pqrs-org/Karabiner-Elements