Keyboard Button hold

Official forum for open source FreePIE discussion and development.
Post Reply
PCGamer88
One Eyed Hopeful
Posts: 17
Joined: Sun Nov 15, 2015 1:56 pm

Keyboard Button hold

Post by PCGamer88 »

Hello,

I'm trying to write your own script. Is there a keyboard function to a button to hold permanently? For me keyboard.setKeyDown does not want or is there some other functions that? Keyboard.setPressed suppressed but only once on the button or am I wrong about?

Looking forward to your answers.

PCGamer
FrenchyKiel
One Eyed Hopeful
Posts: 47
Joined: Thu Oct 03, 2013 7:10 am

Re: Keyboard Button hold

Post by FrenchyKiel »

keyboard.setKeyDown is the function to permanently push the key... while you dont send the setKeyUp, the key is down
Post Reply

Return to “FreePIE”