rp2040_rtic_smart_keyboard/
common.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use hal::usb::UsbBus;
use rp2040_hal as hal;

pub use usbd_smart_keyboard::common::*;

/// Alias for [usbd_smart_keyboard::common::UsbClass] using the RP2040 [UsbBus].
pub type UsbClass = usbd_smart_keyboard::common::UsbClass<UsbBus>;

/// Alias for [usb_device::device::UsbDevice] using the RP2040 [UsbBus].
pub type UsbDevice = usb_device::device::UsbDevice<'static, UsbBus>;

/// Alias for [usbd_serial::SerialPort] using the RP2040 [UsbBus].
pub type UsbSerial = usbd_serial::SerialPort<'static, UsbBus>;