From 0295cbfaa5bcf0d8bed9abc71afb333eecb0b9af Mon Sep 17 00:00:00 2001 From: Jason Smythe Date: Sat, 17 Aug 2024 12:49:37 +0200 Subject: [PATCH 1/4] Update hardware.md Without this linux/ubuntu users will be lost as to how to get it to work. Happy to put this elsewhere in the docs if more appropriate. --- docs/Quickstart/Hardware/hardware.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/Quickstart/Hardware/hardware.md b/docs/Quickstart/Hardware/hardware.md index 4d53d22..1696d5f 100644 --- a/docs/Quickstart/Hardware/hardware.md +++ b/docs/Quickstart/Hardware/hardware.md @@ -79,6 +79,13 @@ deck(pedal_middle): print("middle pedal") deck(pedal_right): print("right pedal") ``` +**Linux**: you'll need to give access to the usb devices to the current user, otherwise the stream deck will not be detected: +```bash +``` bash +sudo sh -c 'echo "SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", TAG+=\"uaccess\"" > /etc/udev/rules.d/70-streamdeck.rules' +sudo udevadm trigger +``` + ## Gamepads & Joysticks With gamepad support in Talon you can recieve input from gamepads and/or joysticks. To check if your gamepad works with Talon, view the log after startup and look for a message after all the user scripts are read in. It should display something like `INFO Gamepad Attach: $CONTROLLER_ID ($CONTROLLER_NAME)` Gamepad input is particularly useful since it doesn't require you to use a hotkey (Pressing a different key from a Talon hotkey is often error prone, since the key is still held down while the other is pressed). Additionally, gamepads like the [Logitech Adaptive Gaming Kit and the Xbox Adaptive Controller](https://www.logitechg.com/en-us/products/gamepads/adaptive-gaming-kit-accessories) are useful ways to add physical buttons to your setup that don't require fine motor control. From a93592c086b054df0d7c2e645e4fb6ba50a29519 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 17 Aug 2024 10:49:55 +0000 Subject: [PATCH 2/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/Quickstart/Hardware/hardware.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/Quickstart/Hardware/hardware.md b/docs/Quickstart/Hardware/hardware.md index 1696d5f..717c9c5 100644 --- a/docs/Quickstart/Hardware/hardware.md +++ b/docs/Quickstart/Hardware/hardware.md @@ -80,11 +80,12 @@ deck(pedal_right): print("right pedal") ``` **Linux**: you'll need to give access to the usb devices to the current user, otherwise the stream deck will not be detected: -```bash + +````bash ``` bash sudo sh -c 'echo "SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", TAG+=\"uaccess\"" > /etc/udev/rules.d/70-streamdeck.rules' sudo udevadm trigger -``` +```` ## Gamepads & Joysticks From 32bc4504eb5c508b27d39ad5b59a60ad3223e826 Mon Sep 17 00:00:00 2001 From: Jason Smythe Date: Mon, 19 Aug 2024 22:35:29 +0200 Subject: [PATCH 3/4] Remove duplicate 'bash' line --- docs/Quickstart/Hardware/hardware.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/Quickstart/Hardware/hardware.md b/docs/Quickstart/Hardware/hardware.md index 717c9c5..71a2d39 100644 --- a/docs/Quickstart/Hardware/hardware.md +++ b/docs/Quickstart/Hardware/hardware.md @@ -82,7 +82,6 @@ deck(pedal_right): print("right pedal") **Linux**: you'll need to give access to the usb devices to the current user, otherwise the stream deck will not be detected: ````bash -``` bash sudo sh -c 'echo "SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", TAG+=\"uaccess\"" > /etc/udev/rules.d/70-streamdeck.rules' sudo udevadm trigger ```` From b906d5b20467cbbbc8a0988ade0659767053612a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:35:45 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/Quickstart/Hardware/hardware.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Quickstart/Hardware/hardware.md b/docs/Quickstart/Hardware/hardware.md index 71a2d39..84bab2f 100644 --- a/docs/Quickstart/Hardware/hardware.md +++ b/docs/Quickstart/Hardware/hardware.md @@ -81,10 +81,10 @@ deck(pedal_right): print("right pedal") **Linux**: you'll need to give access to the usb devices to the current user, otherwise the stream deck will not be detected: -````bash +```bash sudo sh -c 'echo "SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"0fd9\", TAG+=\"uaccess\"" > /etc/udev/rules.d/70-streamdeck.rules' sudo udevadm trigger -```` +``` ## Gamepads & Joysticks