aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard_layout.lua
AgeCommit message (Collapse)Author
2024-04-23keyboard_layout: Add Kyria checkHEADmasterTeddy Wing
Include the Kyria keyboard in the keyboard layout switcher.
2023-01-31keyboard_layout: Add Keychron checkTeddy Wing
Add a check for another keyboard I'm using to have it switch keyboard layouts on connection and disconnection.
2022-09-20keyboard_layout: Fix USB keyboard detectionTeddy Wing
The way I had written it before broke automatic switching support for the iMate USB device. Rewrite the device check so that both the iMate and generic keyboards automatically switch keyboard layouts.
2022-09-19keyboard_layout: Update copyrightTeddy Wing
2022-09-19keyboard_layout: Try to change keyboard layout on keyboard device changeTeddy Wing
Try to detect when any keyboard is plugged in by looking at its "productName" and checking to see if it contains the word "keyboard". If so, change the keyboard layout between the preferred for internal and external keyboards.
2021-09-14keyboard_layout: Fix keyboard condition boolean operatorsTeddy Wing
Made a mistake: the boolean expression wasn't saying what I wanted it to say. All parts should match the USB device in order to continue.
2021-09-13Add keyboard_layout.luaTeddy Wing
Change the keyboard layout depending on whether my external keyboard is connected or not.