mouseDragged() not working if CONTROL key is hold
in
Programming Questions
•
5 months ago
Hi, I was assigning some drag behaviors depending on which key you are pressing, and just found that if you hold CONTROL the whole function is not working... like the drag is internally not detected, here some easy code:
- void setup() {
- size(500, 500);
- }
- void mouseDragged() {
- println(frameCount);
- }
- void draw() {
- background(0);
- }
You can try to hold any key and drag the mouse, and it will print to terminal the framecount, but if you hold CONTROL it will print nothing.
Any way to solve this? I actually would like to use CONTROL while dragging...
1