In order to block the key presses it starts getting complicated I made a hooking DLL in FASM assembly that worked decently but not perfectly I don't remember exactly where I was in this code so don't expect too much The problem is that you need to delay keypresses until the device is known and windows registers a keypress prior to filling the info in GetRawInputData this makes it unsuitable imo.   Next I tried my own low level keyboard driver but then you need to turn