use bytemuck::{Pod, Zeroable};
use winapi::um::xinput::*;
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Pod, Zeroable)]
#[repr(transparent)] pub struct BatteryLevel(u8);
enumish! { BatteryLevel => u8; default: Empty == 0; Empty, Low, Medium, Full }
#[allow(non_upper_case_globals)] #[allow(missing_docs)] impl BatteryLevel {
pub const Empty : BatteryLevel = BatteryLevel(BATTERY_LEVEL_EMPTY as _);
pub const Low : BatteryLevel = BatteryLevel(BATTERY_LEVEL_LOW as _);
pub const Medium : BatteryLevel = BatteryLevel(BATTERY_LEVEL_MEDIUM as _);
pub const Full : BatteryLevel = BatteryLevel(BATTERY_LEVEL_FULL as _);
}