Skip to content
Advertisement

Tag: keyboard-events

Rules for determining the order of keyboard events? (Python)

I currently have a situation like this: Through trial I’ve found that the on_press_key() events always happen first (and the logic of my program is dependent on it) but I have no idea why, or if it’s a hardware- or OS- specific thing that could be inconsistent and break if used on other systems (?). I’ve tried searching but couldn’t

Advertisement