Skip to main content

Mouse keys

To enable mouse cursor and/or mouse buttons control from the keyboard add this module to list:

from kmk.modules.mouse_keys import MouseKeys


MB_LMBLeft mouse button
MB_RMBRight mouse button
MB_MMBMiddle mouse button
MW_UPMouse wheel up
MW_DOWN, MW_DNMouse wheel down
MS_UPMove mouse cursor up
MS_DOWN, MS_DNMove mouse cursor down
MS_LEFT, MS_LTMove mouse cursor left
MS_RIGHT, MS_RTMove mouse cursor right