Concept
Keyboard Mods in Pygame
Keyboard mods, short for modifiers, are an attribute of the EventType object stored in a keyboard event. They represent the modifying key, if any, pressed by the user. Modifying keys are keys like left shift or left control which modify the output of a normal keypress. These are denoted by 'KMOD_' followed by the key name, like 'KMOD_LSHIFT' for left shift.
0
1
Updated 2021-07-28
Tags
Python Programming Language
Data Science