Cargo Features
[dependencies]
kiibohd-usb = { version = "0.1.6", default-features = false, features = ["hidio", "mouse", "defmt", "kll-core"] }
- default = hidio, mouse
-
These default features are set whenever
kiibohd-usb
is added without
somewhere in the dependency tree.default-features = false - hidio default = kiibohd-hid-io
-
HID-IO Support can be disabled
- mouse default
-
Mouse Support can be disabled (requires a larger control buffer)
Enables control-buffer-256 of usb-device ^0.2.9
- defmt
-
defmt support
Enables defmt, defmt-impl of heapless ^0.7, defmt of usb-device ^0.2.9, usbd-hid ^0.6.1, optional kiibohd-hid-io, and optional kll-core
- kll-core
-
kll-core Capability Event enqueuing support
Enables kll-core
Affects
kiibohd-usb::enqueue_keyboard_event
,kiibohd-usb::enqueue_ctrl_event
,kiibohd-usb::enqueue_mouse_event
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.