1kc / razer-macos

Color effects manager for Razer devices for macOS. Supports High Sierra (10.13) to Monterey (12.0). Made by the community, based on openrazer.
GNU General Public License v2.0
2.31k stars 252 forks source link

Support for multiple computer / KVM setup #452

Open dfeinzimer opened 3 years ago

dfeinzimer commented 3 years ago

Issuehunt badges

I've got two computers set up at my desk, a Mac and a PC. Both machines are on a KVM switch so I can switch my keyboard, mouse, and other peripherals between the two machines at the touch of a button.

On the PC I'm running the official Razer software and on my Mac, this software. When I switch from Mac to PC the Razer software automatically picks up the connection and starts my last configured color mode. When I switch from PC to Mac, my keyboard goes completely dark and I first need to hit the razer-macos menubar icon then do -> Refresh Device List -> and then select my preferred lights. At that point, the lights will finally come on.

Basically, is it possible for razer-macos to monitor USB connections and when the keyboard is reconnected (via KVM in this instance) to auto refresh the device list and re-start my last used lights? Razer seems to do this perfectly fine in their official Windows software.


IssueHunt Summary ### Backers (Total: $25.00) - [dfeinzimer dfeinzimer](https://issuehunt.io/u/dfeinzimer) ($25.00) #### [Become a backer now!](https://issuehunt.io/r/1kc/razer-macos/issues/452) #### [Or submit a pull request to get the deposits!](https://issuehunt.io/r/1kc/razer-macos/issues/452) ### Tips - Checkout the [Issuehunt explorer](https://issuehunt.io/r/1kc/razer-macos/) to discover more funded issues. - Need some help from other developers? [Add your repositories](https://issuehunt.io/r/new) on IssueHunt to raise funds.
jla3378 commented 3 years ago

+1 from me

tduarte commented 3 years ago

👍🏼 That would be really helpful!

dfeinzimer commented 2 years ago

Also see #206

issuehunt-oss[bot] commented 2 years ago

@dfeinzimer has funded $25.00 to this issue.


mgallag commented 2 years ago

+1

It would be great to have different peripheral colors depending on whether I was controlling my Mac or PC (actually useful RGB!)

Strangely, the mouse (Razer Lancehead TE) settings update automatically when switching to Mac but the keyboard (BlackWidow Chroma TE) persists whichever color the PC last set it.

Device emulation on the HID ports is not a factor since I have my mouse and keyboard connected via USB3 hub to the shared USB3 port on my KVM.

I tried working around the issue using state manager settings but there does not appear to be a "connect device" event to hook into.