Skip to content

Commit

Permalink
Fix delete key not using the right name
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Jun 15, 2024
1 parent 6869737 commit 946579a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/keyboard/Keyboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ class Keyboard : public Module
KEY_Y = 'y',
KEY_Z = 'z',

KEY_DELETE = '\x7F',

KEY_CAPSLOCK = LOVE_KEY(SCANCODE_CAPSLOCK),

KEY_F1 = LOVE_KEY(SCANCODE_F1),
Expand All @@ -424,7 +426,6 @@ class Keyboard : public Module
KEY_INSERT = LOVE_KEY(SCANCODE_INSERT),
KEY_HOME = LOVE_KEY(SCANCODE_HOME),
KEY_PAGEUP = LOVE_KEY(SCANCODE_PAGEUP),
KEY_DELETE = LOVE_KEY(SCANCODE_DELETE),
KEY_END = LOVE_KEY(SCANCODE_END),
KEY_PAGEDOWN = LOVE_KEY(SCANCODE_PAGEDOWN),
KEY_RIGHT = LOVE_KEY(SCANCODE_RIGHT),
Expand Down

0 comments on commit 946579a

Please sign in to comment.