rumcake

Trait rumcake::bluetooth::BluetoothKeyboard

source ·
pub trait BluetoothKeyboard: Keyboard + HIDDevice {
    const BLE_VID: u16;
    const BLE_PID: u16;
    const BLE_PRODUCT_VERSION: &'static str = Self::HARDWARE_REVISION;
}
Expand description

A trait that keyboards must implement to communicate with host devices over Bluetooth (LE).

Required Associated Constants§

source

const BLE_VID: u16

Vendor ID for the keyboard.

source

const BLE_PID: u16

Product ID for the keyboard.

Provided Associated Constants§

source

const BLE_PRODUCT_VERSION: &'static str = Self::HARDWARE_REVISION

Product version for the keyboard.

Object Safety§

This trait is not object safe.

Implementors§