I have a function and I want to bind this function to "ctrl"+"alt". I already used pynput, but it reacts even on typical "ctrl" or "alt". How to realize it in..
def pressLetter(charIn): val = getKeyValue(charIn) PressKey(val) return def KeyboardEvents(): from pynput import keyboard with keyboard.Even
I'm trying to measure time between key presses and time between a key press and key release. This is the code I have so far: import pynput from pynput.keyboard