Maksim-Isakau / zmk-split-battery

ZMK Split Battery Status in system tray
MIT License
50 stars 6 forks source link

Rename Devices #3

Closed equiman closed 1 year ago

equiman commented 1 year ago

Is there a way to rename the devices?

image

Instead of central and peripheral to something like left, and right?

I've searched on the code but I did not find something related to... or do those names come directly from the ZMK firmware?

Maksim-Isakau commented 1 year ago

Yes, the names are pulled from GattCharacteristic::UserDescription in BatteryMonitor.cs. They are set by ZMK, look here: https://github.com/zmkfirmware/zmk/pull/1243/files#diff-b8b12f3bd378d52934c2db45e02bda186fc70a556ec4c715357a3ef630a29f3eR47

equiman commented 1 year ago

Perfect, thanks. I'll try to change it from that.

equiman commented 1 year ago

It works! Thanks

image