M_BUTTON6 and M_BUTTON7. nuff said :)

This commit is contained in:
Bill Currie 2004-03-16 04:12:28 +00:00
parent 509cd09491
commit e24cbd75e0
4 changed files with 8 additions and 0 deletions

View file

@ -303,6 +303,8 @@ typedef enum {
QFM_BUTTON3,
QFM_WHEEL_UP,
QFM_WHEEL_DOWN,
QFM_BUTTON6,
QFM_BUTTON7,
//
// joystick buttons

View file

@ -487,6 +487,8 @@ event_button (XEvent *event)
case 1:
case 2:
case 3:
case 6:
case 7:
Key_Event (QFM_BUTTON1 + but - 1, 0, event->type == ButtonPress);
break;
case 4:

View file

@ -351,6 +351,8 @@ keyname_t keynames[] = {
{ "M_BUTTON3", QFM_BUTTON3 },
{ "M_WHEEL_UP", QFM_WHEEL_UP },
{ "M_WHEEL_DOWN", QFM_WHEEL_DOWN },
{ "M_BUTTON6", QFM_BUTTON6 },
{ "M_BUTTON7", QFM_BUTTON7 },
{ "J_BUTTON1", QFJ_BUTTON1 },
{ "J_BUTTON2", QFJ_BUTTON2 },

View file

@ -127,6 +127,8 @@ old_keyname_t old_keynames[] = {
{"MOUSE1", "M_BUTTON1"},
{"MOUSE2", "M_BUTTON2"},
{"MOUSE3", "M_BUTTON3"},
{"MOUSE6", "M_BUTTON6"},
{"MOUSE7", "M_BUTTON7"},
{"JOY1", "J_BUTTON1"},
{"JOY2", "J_BUTTON2"},