zmkfirmware / zmk

ZMK Firmware Repository
https://zmk.dev/
MIT License
2.59k stars 2.66k forks source link

[Feature Request] Automatic Default Layer Switching Based on Bluetooth Profile in ZMK #2246

Open ozkan opened 4 months ago

ozkan commented 4 months ago

Description: As a user of ZMK firmware for custom keyboards, I often switch between different devices with varying Bluetooth profiles. Currently, switching between Bluetooth profiles manually is seamless with ZMK. However, it would greatly enhance the usability of ZMK firmware if it could automatically switch the default layer based on the selected Bluetooth profile.

Proposal: Implement a feature in ZMK firmware that automatically switches the default layer based on the selected Bluetooth profile. This would allow users to have different key mappings tailored to each Bluetooth profile, eliminating the need for manual layer switching each time the Bluetooth profile changes.

Benefits:

elpekenin commented 4 months ago

I plan to PR that soon, see #2222 for some info.

In the meantime, you can use (and give feedback, please) the intial implementation i have done (https://github.com/elpekenin/zmk-userspace)

and-elf commented 2 months ago

Wouldn't it easier to use a macro that chooses BT profile and selects a specific layer?