diff --git a/src/usb-pad/dx/dinput-config.cpp b/src/usb-pad/dx/dinput-config.cpp index e609b32c..3f580582 100644 --- a/src/usb-pad/dx/dinput-config.cpp +++ b/src/usb-pad/dx/dinput-config.cpp @@ -95,7 +95,6 @@ DWORD LABELS[CID_COUNT] = { IDC_LABEL28, IDC_LABEL29, IDC_LABEL30, - IDC_LABEL31, }; struct DXDlgSettings @@ -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; } diff --git a/src/usb-pad/dx/dx.h b/src/usb-pad/dx/dx.h index 425e58ae..ea2ba009 100644 --- a/src/usb-pad/dx/dx.h +++ b/src/usb-pad/dx/dx.h @@ -67,7 +67,6 @@ enum ControlID CID_BUTTON28, CID_BUTTON29, CID_BUTTON30, - CID_BUTTON31, CID_COUNT, }; diff --git a/src/usb-pad/dx/versionproxy.h b/src/usb-pad/dx/versionproxy.h index f545f442..142c9050 100644 --- a/src/usb-pad/dx/versionproxy.h +++ b/src/usb-pad/dx/versionproxy.h @@ -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 //