Skip to content

Commit

Permalink
Removed unused button
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksre authored and jackun committed Nov 19, 2020
1 parent 753cb82 commit a99f764
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
12 changes: 5 additions & 7 deletions src/usb-pad/dx/dinput-config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ DWORD LABELS[CID_COUNT] = {
IDC_LABEL28,
IDC_LABEL29,
IDC_LABEL30,
IDC_LABEL31,
};

struct DXDlgSettings
Expand Down Expand Up @@ -980,15 +979,14 @@ INT_PTR CALLBACK DxDialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam
case IDC_ASS20: { StartListen(CID_BUTTON20); break; }
case IDC_ASS21: { StartListen(CID_BUTTON21); break; }
case IDC_ASS22: { StartListen(CID_BUTTON22); break; }
case IDC_ASS23: { StartListen(CID_BUTTON23); break; } // g2
case IDC_ASS24: { StartListen(CID_BUTTON24); break; } // g#
case IDC_ASS25: { StartListen(CID_BUTTON25); break; } // a
case IDC_ASS26: { StartListen(CID_BUTTON26); break; } // a#
case IDC_ASS27: { StartListen(CID_BUTTON27); break; } // b
case IDC_ASS23: { StartListen(CID_BUTTON23); break; }
case IDC_ASS24: { StartListen(CID_BUTTON24); break; }
case IDC_ASS25: { StartListen(CID_BUTTON25); break; }
case IDC_ASS26: { StartListen(CID_BUTTON26); break; }
case IDC_ASS27: { StartListen(CID_BUTTON27); break; }
case IDC_ASS28: { StartListen(CID_BUTTON28); break; }
case IDC_ASS29: { StartListen(CID_BUTTON29); break; }
case IDC_ASS30: { StartListen(CID_BUTTON30); break; }
case IDC_ASS31: { StartListen(CID_BUTTON31); break; }
case IDC_DEL0: { DeleteControl(s->port, CID_STEERING); break; }
case IDC_DEL1: { DeleteControl(s->port, CID_STEERING_R); break; }
case IDC_DEL2: { DeleteControl(s->port, CID_THROTTLE); break; }
Expand Down
1 change: 0 additions & 1 deletion src/usb-pad/dx/dx.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ enum ControlID
CID_BUTTON28,
CID_BUTTON29,
CID_BUTTON30,
CID_BUTTON31,
CID_COUNT,
};

Expand Down
2 changes: 0 additions & 2 deletions src/usb-pad/dx/versionproxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@
#define IDC_ASS29 1157
#define IDC_LABEL30 1158
#define IDC_ASS30 1159
#define IDC_LABEL31 1160
#define IDC_ASS31 1161

// Next default values for new objects
//
Expand Down

0 comments on commit a99f764

Please sign in to comment.