Skip to content

Instantly share code, notes, and snippets.

@ha1t
Last active November 3, 2016 15:50
Show Gist options
  • Select an option

  • Save ha1t/7d9c5ca17d2a3b07ea1e to your computer and use it in GitHub Desktop.

Select an option

Save ha1t/7d9c5ca17d2a3b07ea1e to your computer and use it in GitHub Desktop.
マウスカーソルをぷるぷるさせる
// 1.6.10 だと動かない.1.6.11でうごいた
#include <Mouse.h>
void setup() {
Mouse.begin();
}
void loop() {
Mouse.move(2, 2);
delay(25);
Mouse.move(0, 0);
delay(25);
Mouse.move(-2, -2);
delay(25);
Mouse.move(0,0);
delay(25);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment