This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
TheOddByte's profile picture

New function: keys.setRepeat

Started by TheOddByte, 05 July 2015 - 01:52 PM
TheOddByte #1
Posted 05 July 2015 - 03:52 PM
I know this can be implemented on the Lua side, because I've kind of already done that here, but it would still be easier to have it built in and it could be pretty useful aswell.
It could work something like this

keys.setRepeat( false )
I'd love to hear what others think about this idea.
MKlegoman357 #2
Posted 05 July 2015 - 04:08 PM
With CC 1.74 update the 'key' event got an upgrade. Read about the second parameter here.
TheOddByte #3
Posted 05 July 2015 - 04:11 PM
- Snip -
Well I'll be damned, didn't know that that was added, thanks for telling me. ^^
theoriginalbit #4
Posted 06 July 2015 - 12:22 AM
yep, no more discussion needed