Skip to content

Commit

Permalink
default AltLayout is None
Browse files Browse the repository at this point in the history
  • Loading branch information
galister authored and olekolek1000 committed Jan 9, 2025
1 parent 3af190f commit 02bbb47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/overlays/keyboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,10 @@ static LAYOUT: Lazy<Layout> = Lazy::new(Layout::load_from_disk);
static MACRO_REGEX: Lazy<Regex> =
Lazy::new(|| Regex::new(r"^([A-Za-z0-9_-]+)(?: +(UP|DOWN))?$").unwrap()); // want panic

#[derive(Debug, Clone, Copy, Deserialize, Serialize)]
#[derive(Debug, Default, Clone, Copy, Deserialize, Serialize)]
#[repr(usize)]
pub enum AltModifier {
#[default]
None,
Shift,
Ctrl,
Expand Down

0 comments on commit 02bbb47

Please sign in to comment.