Open KanishakVaidya opened 3 months ago
To get the information about keyboard devices we can do something like
hyprctl devices -j
getting the following information about every keyboard device:
... { "address": "0x<the address>", "name": "<the name>", "rules": "", "model": "", "layout": "us", "variant": "", "options": "", "active_keymap": "English (US)", "main": true/false } ...
Can we also get the information about the caps lock and num lock status. Weather currently the caps lock is ON or OFF. Or maybe some other way to achieve the same (get caps/num lock status).
MRs welcome. The current mod state is stored in IKeyboard
Description
To get the information about keyboard devices we can do something like
getting the following information about every keyboard device:
Can we also get the information about the caps lock and num lock status. Weather currently the caps lock is ON or OFF. Or maybe some other way to achieve the same (get caps/num lock status).