Skip to content

Commit

Permalink
fix(DeviceProfile): include gamepads device profile in distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowApex committed Feb 15, 2024
1 parent 1846f57 commit c2773bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ assets = [
{ source = "./rootfs/usr/share/dbus-1/system.d/org.shadowblip.InputPlumber.conf", dest = "/usr/share/dbus-1/system.d/org.shadowblip.InputPlumber.conf", mode = "644" },
{ source = "./rootfs/usr/lib/systemd/system/inputplumber.service", dest = "/usr/lib/systemd/system/inputplumber.service", mode = "644" },
{ source = "./rootfs/usr/share/inputplumber/devices/steam_deck.yaml", dest = "/usr/share/inputplumber/devices/steam_deck.yaml", mode = "644" },
{ source = "./rootfs/usr/share/inputplumber/devices/gamepads.yaml", dest = "/usr/share/inputplumber/devices/gamepads.yaml", mode = "644" },
]

[dependencies]
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ install: build ## Install inputplumber to the given prefix (default: PREFIX=/usr
$(PREFIX)/lib/systemd/system/$(NAME).service
install -D -m 644 rootfs/usr/share/$(NAME)/devices/steam_deck.yaml \
$(PREFIX)/share/$(NAME)/devices/steam_deck.yaml
install -D -m 644 rootfs/usr/share/$(NAME)/devices/gamepads.yaml \
$(PREFIX)/share/$(NAME)/devices/gamepads.yaml
@echo ""
@echo "Install completed. Enable service with:"
@echo " systemctl enable --now $(NAME)"
Expand All @@ -55,6 +57,7 @@ uninstall: ## Uninstall inputplumber
rm $(PREFIX)/share/dbus-1/system.d/$(DBUS_NAME).conf
rm $(PREFIX)/lib/systemd/system/$(NAME).service
rm $(PREFIX)/share/$(NAME)/devices/steam_deck.yaml
rm $(PREFIX)/share/$(NAME)/devices/gamepads.yaml

##@ Development

Expand Down

0 comments on commit c2773bd

Please sign in to comment.