1 2 3 4 5 6 7 8 9 10 11 12
use serde::{Deserialize, Serialize}; use crate::systems::pet::PetKeys; use super::commodore::C64Keys; #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)] pub enum VirtualKey { Commodore(C64Keys), CommodorePet(PetKeys), // ... }