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

Capitals with key event?

Started by Geforce Fan, 15 May 2014 - 11:04 PM
Geforce Fan #1
Posted 16 May 2014 - 01:04 AM
Plain and simple, I need to know how to make capital letters when the user uses shift then presses a key with the key event.
Lyqyd #2
Posted 16 May 2014 - 01:38 AM
Use the char event instead.
Geforce Fan #3
Posted 16 May 2014 - 01:41 AM
I would, but in my case I also need to check for enter or backspace.
Is there another way to do it?
Lyqyd #4
Posted 16 May 2014 - 01:43 AM
Use both, then. You don't have to provide a filter when you call os.pullEvent.
Geforce Fan #5
Posted 16 May 2014 - 01:46 AM
I know that. I didn't think of that for some reason.
Thanks