We are about to switch to a new forum software. Until then we have removed the registration on this forum.
How to Detect CAPS LOCK Press in Processing? keyCode doesn't seem to be able to check this.
If you're in Java mode, you can use Java code in your Processing sketch. Googling "java detect caps lock" returns a ton of results.
You might use the getLockingKeyState() function:
boolean capsLocked = Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK);
Answers
If you're in Java mode, you can use Java code in your Processing sketch. Googling "java detect caps lock" returns a ton of results.
You might use the getLockingKeyState() function:
boolean capsLocked = Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK);