Page 1 of 1

FreePIE Input Denial

Posted: Sun Nov 15, 2015 5:41 pm
by Relaxation

Code: Select all

xoutput[0].Up = keyboard.getKeyDown(Key.LeftShift)

bob = 2
if bob > 1:
	xoutput[0].Up = 0

diagnostics.watch(xoutput[0].Up)
diagnostics.watch(bob)
this button denial works but the problem is, games will take keyboard&controller inputs so if I wanted to deny keyboard input like with keyboard.setKeyUp(Key.LeftShift), afaik, there isn't a way to this.
attribute 'LeftShift' of 'Key' object is read-only if I tried to Key.LeftShift = 0

Re: FreePIE Input Denial

Posted: Sun Nov 22, 2015 10:17 am
by CyberVillain
FreePIE does not support blocking of keys. If someone would do this i would gladly pull that code