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:
Dominic Reich 2024-12-24 11:28:42 +01:00
parent 13885acf05
commit 7bdf4dc91b
Signed by: dominic
GPG key ID: BC9D6AE1A3BE169A
4 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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