Skip to content

Commit

Permalink
Initial support for 60HE+ (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-wh authored Jan 31, 2024
1 parent 86af22b commit 59764f9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions wooting-analog-plugin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,21 @@ impl DeviceImplementation for Wooting60HEARM {
}
}

#[derive(Debug, Clone)]
struct Wooting60HEPlus();

impl DeviceImplementation for Wooting60HEPlus {
fn device_hardware_id(&self) -> DeviceHardwareID {
DeviceHardwareID {
vid: WOOTING_VID,
pid: 0x1320,
usage_page: 0xFF54,
has_modes: true,
}
}
}


#[derive(Debug, Clone)]
struct WootingUwU();

Expand Down Expand Up @@ -273,6 +288,7 @@ impl DeviceImplementation for WootingUwURgb {
}
}
}

/// A fully contained device which uses `device_impl` to interface with the `device`
struct Device {
pub device_info: DeviceInfo,
Expand Down Expand Up @@ -473,6 +489,7 @@ impl WootingPlugin {
Box::new(WootingTwoHEARM()),
Box::new(Wooting60HE()),
Box::new(Wooting60HEARM()),
Box::new(Wooting60HEPlus()),
Box::new(WootingUwU()),
Box::new(WootingUwURgb()),
];
Expand Down

0 comments on commit 59764f9

Please sign in to comment.