feat: button input
This commit is contained in:
@@ -19,6 +19,10 @@ $(BUILD_DIR)/$(TARGET):
|
||||
|
||||
# ACTIONS
|
||||
|
||||
.PHONY: usermod
|
||||
usermod:
|
||||
sudo usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,render,netdev,lpadmin,gpio,i2c,spi $(shell whoami)
|
||||
|
||||
.PHONY: remove-passwd
|
||||
remove-passwd:
|
||||
sudo passwd -d $(shell whoami)
|
||||
@@ -26,11 +30,7 @@ remove-passwd:
|
||||
.PHONY: apt-install
|
||||
apt-install:
|
||||
sudo apt update
|
||||
sudo apt install -y weston seatd git libglfw3-dev libgl-dev libasound2-dev libv4l-dev python3-pip python3-smbus i2c-tools
|
||||
|
||||
.PHONY: pip-install
|
||||
pip-install:
|
||||
pip3 install luma.oled --break-system-packages
|
||||
sudo apt install -y weston seatd git libglfw3-dev libgl-dev libasound2-dev libv4l-dev i2c-tools python3-gpiozero python3-evdev python3-luma.oled
|
||||
|
||||
.PHONY: disable-cloud-init
|
||||
disable-cloud-init:
|
||||
@@ -45,7 +45,7 @@ setup-services:
|
||||
sudo systemctl enable getty@tty1.service seatd.service
|
||||
|
||||
.PHONY: install
|
||||
install: remove-passwd apt-install pip-install disable-cloud-init setup-services
|
||||
install: remove-passwd apt-install disable-cloud-init setup-services
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user