r/processing • u/tiltingroyale • Feb 26 '26
Help request I have this piece of code that processing says is deprecated and I dont know what to switch it with
I would like to keep the code and just change the part that says
keysIn.remove(new Character(key));
6
Upvotes
5
u/simon-or-something Feb 26 '26
You dont need to do
new Character(key)ifkeyis insidekeysIn. You can replace the line withkeysIn.remove(key);3
u/therocketeer1 Feb 26 '26 edited Feb 26 '26
Never failed me:
within your program, whenever checking for specific key presses, examples: