I have to show the keys with println that I pressed if I use the functions keyPressed(), mousePressed() and mouseDragged(). I used println and key. It’s showing up the keys I clicked on my keyboard for keyPressed() but it’s just showing 0 for mousePressed() and mouseDragged(). Do I have to use something else then “key” to get the number of the mousekey I pressed?
Thanks in advance!