FreePIE Input Denial

Official forum for open source FreePIE discussion and development.
Post Reply
Relaxation
One Eyed Hopeful
Posts: 11
Joined: Sat Oct 10, 2015 12:53 pm

FreePIE Input Denial

Post 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
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: FreePIE Input Denial

Post by CyberVillain »

FreePIE does not support blocking of keys. If someone would do this i would gladly pull that code
Post Reply

Return to “FreePIE”