aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf/src/bin/usb_hid_mouse.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename examples/nrf to examples/nrf52840Dominik Boehi2023-01-091-124/+0
|
* usb: move classes into the `embassy-usb` crate.Dario Nieuwenhuis2022-09-261-2/+2
|
* Replace futures::future::join -> embassy_futures::join::join.Dario Nieuwenhuis2022-09-221-1/+1
|
* Update Rust nightly.Dario Nieuwenhuis2022-09-221-1/+0
| | | | Removes feature(generic_associated_types)
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-181-2/+2
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-171-2/+3
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-5/+5
|
* Trait for UsbSupplyhuntc2022-07-091-7/+3
| | | | Eliminated a signal by using a simpler trait method that returns whether VBus power is available. Also includes a UsbSupply that can be signalled for use with the nRF softdevice. Includes the requirement for waiting for power to become available.
* Run rustfmt.Dario Nieuwenhuis2022-06-121-6/+3
|
* usb: remove address arg from endpoint allocation.Dario Nieuwenhuis2022-05-091-1/+1
|
* examples/nrf: add product strings to all usb examples.Dario Nieuwenhuis2022-04-241-2/+3
|
* usb: rename UsbDeviceBuilder -> Builder.Dario Nieuwenhuis2022-04-161-2/+2
|
* usb-hid: add Config struct, to avoid too many params.Dario Nieuwenhuis2022-04-161-9/+9
|
* usb-hid: Simplify API.Dario Nieuwenhuis2022-04-161-4/+4
| | | | | | | | | | - Renamed structs to HidReaderWriter, HidReader, HidWriter. - Removed unused const generics on `State`. - Simplified generics on `HidReaderWriter`. The class type previously was `HidClass<D, Driver<'d, USBD>, ReportReader<'d, Driver<'d, USBD>, OUT_N>, IN_N>` It's now `HidClass<D, Driver<'d, USBD>, IN_N, OUT_N>`. Note that the driver type `Driver<'d, USBD>` is no longer repeated. - Constructors are now: `HidWriter::new()` for IN-only, `HidReaderWriter::new()` for IN+OUT. No complicated bounds. - HidReaderWriter has all the methods from HidReader, HidWriter.
* Add DeviceStateHandler, DeviceCommand channel, and remote wakeup supportalexmoon2022-04-131-1/+2
|
* Async-ify Driver::enable and UsbDeviceBuilder::buildalexmoon2022-04-071-1/+1
|
* usb/hid: add keyboard example.Dario Nieuwenhuis2022-04-061-0/+129