mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-07 01:54:26 +01:00
Merged upcoming 1.0.4
Merge remote-tracking branch 'arduino/master' into ide-1.5.x
This commit is contained in:
commit
85976278e7
@ -21,8 +21,6 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// set pin numbers for the five buttons:
|
|
||||||
|
|
||||||
// set pin numbers for the five buttons:
|
// set pin numbers for the five buttons:
|
||||||
const int upButton = 2;
|
const int upButton = 2;
|
||||||
const int downButton = 3;
|
const int downButton = 3;
|
||||||
@ -66,7 +64,7 @@ void loop() {
|
|||||||
Mouse.move(40, 0);
|
Mouse.move(40, 0);
|
||||||
break;
|
break;
|
||||||
case 'm':
|
case 'm':
|
||||||
// move mouse right
|
// perform mouse left click
|
||||||
Mouse.click(MOUSE_LEFT);
|
Mouse.click(MOUSE_LEFT);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user