Skip to content

Commit

Permalink
Implement binds for numpad
Browse files Browse the repository at this point in the history
Untested.
  • Loading branch information
bradharding committed Oct 30, 2023
1 parent 6050d93 commit 6ca8843
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/c_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,16 @@ const control_t controls[] =
{ "end", keyboardcontrol, KEY_END },
{ "down", keyboardcontrol, KEY_DOWNARROW },
{ "pagedown", keyboardcontrol, KEY_PAGEDOWN },
{ "numpad0", keyboardcontrol, KEYP_0 },
{ "numpad1", keyboardcontrol, KEYP_1 },
{ "numpad2", keyboardcontrol, KEYP_2 },
{ "numpad3", keyboardcontrol, KEYP_3 },
{ "numpad4", keyboardcontrol, KEYP_4 },
{ "numpad5", keyboardcontrol, KEYP_5 },
{ "numpad6", keyboardcontrol, KEYP_6 },
{ "numpad7", keyboardcontrol, KEYP_7 },
{ "numpad8", keyboardcontrol, KEYP_8 },
{ "numpad9", keyboardcontrol, KEYP_9 },

{ "mouse1", mousecontrol, 0 },
{ "mouse2", mousecontrol, 1 },
Expand Down

0 comments on commit 6ca8843

Please sign in to comment.