benownzu93 Posted May 3, 2010 Share Posted May 3, 2010 (edited) Everyone like blinking lights :P, I was playing about with the keyboard LED's and I found that the mouse doesn't work for about half a second after you press the lock keys. I used Num Lock for this, because Caps lock would kinda mess up the typing. void setup(){} void loop(){ numlock(); delay(500); } void numlock(){ Keyboard.set_key1(KEY_NUM_LOCK); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } let me know what you think. --Edit-- just tried it in my XP box and it doesn't work. So IDK what systems it will work for Edited May 3, 2010 by benownzu93 Quote Link to comment Share on other sites More sharing options...
vulg4h Posted May 4, 2010 Share Posted May 4, 2010 Ayee, nice idea here. Also, you can just stick their mouse to the top left corner with: void setup() { } void loop() { while(1) { Mouse.move(-9000,-9000); } } Quote Link to comment Share on other sites More sharing options...
Jerico_Tyler Posted May 4, 2010 Share Posted May 4, 2010 Ayee, nice idea here. Also, you can just stick their mouse to the top left corner with: void setup() { } void loop() { while(1) { Mouse.move(-9000,-9000); } } You don't even need the while statement if this is the only program on the ducky Quote Link to comment Share on other sites More sharing options...
benownzu93 Posted May 4, 2010 Author Share Posted May 4, 2010 void setup() { } void loop() { while(1) { Mouse.move(-9000,-9000); } } Won't the mouse still move a bit, the user will kinda fight with it. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted May 4, 2010 Share Posted May 4, 2010 (edited) Only one way to find out... lol. That and this little processor is looping a small bit of code really really fast. With no delays in that small mouse move code, i doubt they could fight it. The only thing they could do is use the keyboard to navigate. So add a click in there and they cant navigate at all practically. To make Vista/7 users really angry, move mouse to bottom right corner of the screen to hide/ghost all windows, or click to minimize all :P Edited May 4, 2010 by Mr-Protocol Quote Link to comment Share on other sites More sharing options...
vulg4h Posted May 4, 2010 Share Posted May 4, 2010 You don't even need the while statement if this is the only program on the ducky Ah yeah you're right, was running low on sleep, my bad. Quote Link to comment Share on other sites More sharing options...
benownzu93 Posted May 4, 2010 Author Share Posted May 4, 2010 Won't the mouse still move a bit, the user will kinda fight with it. Nah I Was wrong by the time you get it past the first icon it is back again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.