feat: KVM Auto-Refresh Support - Auto-restore lighting on device reconnect (#452) - #955
Open
Kiki-bo-zhang wants to merge 1 commit into
Open
feat: KVM Auto-Refresh Support - Auto-restore lighting on device reconnect (#452)#955Kiki-bo-zhang wants to merge 1 commit into
Kiki-bo-zhang wants to merge 1 commit into
Conversation
Implement automatic device refresh and lighting restoration when Razer devices reconnect via KVM switch. Features: - New USBMonitor class monitors USB attach/detach events - Auto-refresh device list when keyboard reconnects - Restore last used lighting settings after reconnection - New state setting: stateOnDeviceReconnect for KVM scenarios Changes: - src/main/usbmonitor.js: New USB monitoring module - src/main/razerapplication.js: Integrate USBMonitor, start monitoring on init - src/main/statemanager.js: Add stateOnDeviceReconnect, applyCurrentState method - package.json: Add usb dependency (v2.11.0) Fixes 1kc#452
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements automatic device refresh and lighting restoration when Razer devices reconnect via KVM switch, addressing issue #452.
Problem
When switching between Mac and PC via KVM:
Solution
Implemented USB monitoring that automatically:
Features
Changes
Testing
Technical Details
Fixes #452
@1kc Please review when you have time!
IssueHunt Summary
Referenced issues
This pull request has been submitted to: