From dc782f89b3ec60660114de2de8b5308a636c4540 Mon Sep 17 00:00:00 2001 From: sloganking Date: Wed, 6 Nov 2024 01:03:42 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7Added=20F13-F24=20to=20rdev::Key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rdev.rs | 12 ++++++++++++ src/windows/keycodes.rs | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/src/rdev.rs b/src/rdev.rs index 277be3b0..134c45b4 100644 --- a/src/rdev.rs +++ b/src/rdev.rs @@ -115,6 +115,18 @@ pub enum Key { F10, F11, F12, + F13, + F14, + F15, + F16, + F17, + F18, + F19, + F20, + F21, + F22, + F23, + F24, F2, F3, F4, diff --git a/src/windows/keycodes.rs b/src/windows/keycodes.rs index c3707f76..7e03c8e2 100644 --- a/src/windows/keycodes.rs +++ b/src/windows/keycodes.rs @@ -44,6 +44,18 @@ decl_keycodes! { F10, 121, F11, 122, F12, 123, + F13, 124, + F14, 125, + F15, 126, + F16, 127, + F17, 128, + F18, 129, + F19, 130, + F20, 131, + F21, 132, + F22, 133, + F23, 134, + F24, 135, F2, 113, F3, 114, F4, 115,