From 3562831bf56b017f60b7278e0fa62e4503183980 Mon Sep 17 00:00:00 2001 From: Emre Cem Date: Thu, 21 May 2026 16:57:55 +0200 Subject: [PATCH] add support for Epomaker RT85 The Epomaker RT85 utilizes the same 1.47" TFT mini-screen and underlying communication protocol as the RT100. Added the USB Product ID (0x5002 / 20482) to configuration and test files. --- src/epomakercontroller/configs/default.json | 5 +++-- tests/data/config/config.json | 5 +++-- tests/test_config.py | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/epomakercontroller/configs/default.json b/src/epomakercontroller/configs/default.json index a3bad49..e7f783d 100644 --- a/src/epomakercontroller/configs/default.json +++ b/src/epomakercontroller/configs/default.json @@ -2,7 +2,8 @@ "VENDOR_ID": 12625, "PRODUCT_IDS_WIRED": [ 16400, - 16405 + 16405, + 20482 ], "PRODUCT_IDS_24G": [ 16401, @@ -12,4 +13,4 @@ "DEVICE_DESCRIPTION_REGEX": "ROYUAN .* System Control", "CONF_LAYOUT_PATH": "EpomakerRT100-UK-ISO.json", "CONF_KEYMAP_PATH": "EpomakerRT100.json" -} \ No newline at end of file +} diff --git a/tests/data/config/config.json b/tests/data/config/config.json index a3bad49..e7f783d 100644 --- a/tests/data/config/config.json +++ b/tests/data/config/config.json @@ -2,7 +2,8 @@ "VENDOR_ID": 12625, "PRODUCT_IDS_WIRED": [ 16400, - 16405 + 16405, + 20482 ], "PRODUCT_IDS_24G": [ 16401, @@ -12,4 +13,4 @@ "DEVICE_DESCRIPTION_REGEX": "ROYUAN .* System Control", "CONF_LAYOUT_PATH": "EpomakerRT100-UK-ISO.json", "CONF_KEYMAP_PATH": "EpomakerRT100.json" -} \ No newline at end of file +} diff --git a/tests/test_config.py b/tests/test_config.py index 827231b..6541a77 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -72,7 +72,7 @@ def test_default_main_config(): DEFAULT_MAIN_CONFIG = { "VENDOR_ID": 0x3151, - "PRODUCT_IDS_WIRED": [0x4010, 0x4015], + "PRODUCT_IDS_WIRED": [0x4010, 0x4015, 0x5002], "PRODUCT_IDS_24G": [0x4011, 0x4016], "USE_WIRELESS": False, "DEVICE_DESCRIPTION_REGEX": "ROYUAN .* System Control",