renames files (to match sketch naming scheme) and updates makefile to be used on arch linux
Arduino.mk was taken from https://github.com/sudar/Arduino-Makefile and installed into /usr/share/arduino/makefile (https://repo.oe7drt.net/dominic/Arduino-Makefile)
This commit is contained in:
parent
13885acf05
commit
7bdf4dc91b
4 changed files with 6 additions and 4 deletions
4
Makefile
4
Makefile
|
@ -1,8 +1,10 @@
|
|||
ARCHITECTURE=avr
|
||||
BOARD_TAG = leonardo
|
||||
|
||||
USER_LIB_PATH = ./libraries
|
||||
ARDUINO_LIBS = HID Keyboard
|
||||
AVRDUDE_CONF = /etc/avrdude.conf
|
||||
|
||||
include /usr/local/share/arduino-makefile/Arduino.mk
|
||||
# include /usr/local/share/arduino-makefile/Arduino.mk
|
||||
include /usr/share/arduino/makefile/Arduino.mk
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ void disableTampering() {
|
|||
Keyboard.release('x');
|
||||
delay(400);
|
||||
|
||||
// Viren- und Bedrohungsschutz
|
||||
// Viren- und Bedrohungsschutz (just hit ENTER)
|
||||
Keyboard.press(KEY_RETURN);
|
||||
delay(KEY_DELAY);
|
||||
Keyboard.release(KEY_RETURN);
|
||||
|
@ -86,14 +86,14 @@ void disableTampering() {
|
|||
Keyboard.press(' ');
|
||||
delay(KEY_DELAY);
|
||||
Keyboard.release(' ');
|
||||
delay(KEY_DELAY);
|
||||
delay(1400);
|
||||
|
||||
// yes do it with ALT+j
|
||||
Keyboard.press(KEY_LEFT_ALT);
|
||||
Keyboard.press('j');
|
||||
delay(KEY_DELAY);
|
||||
Keyboard.releaseAll();
|
||||
delay(1200);
|
||||
delay(1400);
|
||||
|
||||
|
||||
// move down to Cloudbasierter Schutz slider
|
Loading…
Add table
Reference in a new issue