Karabiner-DriverKit-VirtualHIDDevice icon indicating copy to clipboard operation
Karabiner-DriverKit-VirtualHIDDevice copied to clipboard

Does this VirtualHIDDevice support Bluetooth keyboards?

Open 205g0 opened this issue 4 years ago • 4 comments
trafficstars

From the Apple docs and why I ask:

image

205g0 avatar Dec 03 '20 05:12 205g0

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.

tekezo avatar Dec 03 '20 07:12 tekezo

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?

205g0 avatar Dec 05 '20 05:12 205g0

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.)

tekezo avatar Dec 05 '20 05:12 tekezo

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?

205g0 avatar Dec 13 '20 05:12 205g0