Skip to content

KeyboardState

Canonical path: NemAll_Python_Utility.KeyboardState

Test the keyboard state

IsAltKeyPressed staticmethod

IsAltKeyPressed() -> bool

Check for a pressed alt key

Returns:

  • bool

    alt key is pressed: True/False

IsCtrlKeyPressed staticmethod

IsCtrlKeyPressed() -> bool

Check for a pressed ctrl key

Returns:

  • bool

    ctrl key is pressed: True/False

IsShiftKeyPressed staticmethod

IsShiftKeyPressed() -> bool

Check for a pressed shift key

Returns:

  • bool

    shift key is pressed: True/False

__init__

__init__()

Initialize

Placeholder