From b3cd9fa4e852c2fee9719e9fdb5c600278c58c89 Mon Sep 17 00:00:00 2001 From: Marcos Diaz Date: Sat, 28 Jun 2025 19:41:07 +0300 Subject: [PATCH] Support v1 release candidate hardware when selecting touch surface --- src/components/profile/section.html | 1 + src/lib/pin.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/components/profile/section.html b/src/components/profile/section.html index 4723f43..670c7e0 100644 --- a/src/components/profile/section.html +++ b/src/components/profile/section.html @@ -273,6 +273,7 @@

{{getSectionTitle()}}

(ngModelChange)='save()' > + diff --git a/src/lib/pin.ts b/src/lib/pin.ts index 8e6fc8a..ca90fc4 100644 --- a/src/lib/pin.ts +++ b/src/lib/pin.ts @@ -16,6 +16,7 @@ export enum PinV0 { NONE = 0, HOME = 20, TOUCH_IN = 7, + TOUCH_IN_RC = -1, // For type consistency (there is no v0 rc). SELECT_1 = 114, SELECT_2 = 113, DPAD_LEFT = 104, @@ -46,6 +47,7 @@ export enum PinV1 { NONE = 0, HOME = 24, TOUCH_IN = 12, + TOUCH_IN_RC = 13, SELECT_1 = 114, SELECT_2 = 110, DPAD_LEFT = 104,