We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I coded one println and typed Ctrl+1 to Ctrl+0. other prints key==keyCode ==ascii number but only Ctrl+6 key is 65536. I want to know reason and way to get which key is pressed when ctrl and key is both pressed.
found this while making simple shortcut system...
Answers
maybe look here
https://forum.processing.org/two/discussion/13928/reading-ctrl-z-in-keypressed
https://forum.processing.org/two/discussion/24000/how-do-i-test-a-double-key-press-such-as-alt-and-j
(oh 1 month!!) ok...so I can use keyCode and java awt's contstants to check what key is pressed. but why only Ctrl+6's key is different?
Look at the 2 links I posted
I guess it‘s because ctrl is some kind of a special key
It’s handed differently