Skip to content

Commit

Permalink
[fix] Switch KEY_PLAY to KEY_PLAYPAUSE.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinyzenith committed Mar 6, 2022
1 parent 3f006d5 commit 1898566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ pub fn parse_contents(contents: String) -> Result<Vec<Hotkey>, Error> {
("xf86monbrightnessup", evdev::Key::KEY_BRIGHTNESSUP),
("brightnessdown", evdev::Key::KEY_BRIGHTNESSDOWN),
("xf86monbrightnessdown", evdev::Key::KEY_BRIGHTNESSDOWN),
("xf86audioplay", evdev::Key::KEY_PLAY),
("xf86audioplay", evdev::Key::KEY_PLAYPAUSE),
("xf86audioprev", evdev::Key::KEY_PREVIOUSSONG),
("xf86audionext", evdev::Key::KEY_NEXTSONG),
("xf86audiostop", evdev::Key::KEY_STOP),
Expand Down

0 comments on commit 1898566

Please sign in to comment.