Open 205g0 opened 3 years ago
Karabiner-DriverKit-VirtualHIDDevice is not a driver for actual hardware. So, it does not support both USB and Bluetooth transport.
If you are asking about Karabiner-Elements, it is compatible with both USB and Bluetooth keyboards.
Karabiner-DriverKit-VirtualHIDDevice is not a driver for actual hardware. So, it does not support both USB and Bluetooth transport.
So, I can't remap keys on my keyboard, modify my layout once, impacting both internal and external keyboards, eg. BT, with Apple's DriverKit or this VirtualHIDDevice?
If you are asking about Karabiner-Elements, it is compatible with both USB and Bluetooth keyboards.
How does Karabiner Elements then does this?
How does Karabiner Elements then does this?
IOKit provides a way to grab events and modify them. (kIOHIDOptionsTypeSeizeDevice) https://github.com/pqrs-org/Karabiner-Elements/blob/master/docs/DEVELOPMENT.md#the-difference-of-event-grabbing-methods
You can use it instead of writing your keyboard driver unless you want to use keys which are not supported generic keyboard driver (e.g., multimedia keys on some third vendor keyboards.)
You can use it instead of writing your keyboard driver
How is the latency of IOKit compared to DriverKit which grabs right the HID data?
From the Apple docs and why I ask: