#macos #keyboard #karabiner #api-bindings #kanata #library

karabiner-driverkit

Minimal Karabiner-DriverKit-VirtualHIDDevice wrapper for kanata

4 releases

0.1.3 Jan 23, 2024
0.1.2 Dec 26, 2023
0.1.1 Dec 20, 2023
0.1.0 Dec 8, 2023

#1165 in Hardware support

Download history 12/week @ 2024-01-22 10/week @ 2024-02-19 17/week @ 2024-02-26 5/week @ 2024-03-04 22/week @ 2024-03-11 1/week @ 2024-03-25 24/week @ 2024-04-01 7/week @ 2024-04-08 32/week @ 2024-04-15 16/week @ 2024-04-22 34/week @ 2024-04-29 8/week @ 2024-05-06

90 downloads per month
Used in kanata

LGPL-3.0

9MB
4.5K SLoC

C++ 4K SLoC // 0.1% comments Swift 343 SLoC // 0.1% comments Shell 326 SLoC // 0.2% comments Rust 110 SLoC // 0.2% comments Ruby 89 SLoC // 0.0% comments Python 65 SLoC // 0.0% comments

Contains (Mach-o exe, 115KB) VirtualHIDDevice

driverkit

driverkit is a minimal wrapper around Karabiner-DriverKit-VirtualHIDDevice (dext) and Karabiner-VirtualHIDDevice (kext) intended for kanata macos support.

Installation

Update the submodules first

git submodule update --init --recursive

then

cargo build

No runtime deps