text: #define IDI_MAIN                        102
  #define IDD_JOYST_IMM                   103
  #define IDR_ACCELERATOR1                103
  #define IDC_CLOSE                       1001
  #define IDC_X_AXIS                      1010
  #define IDC_Y_AXIS                      1011
  #define IDC_Z_AXIS                      1012
  #define IDC_X_AXIS_TEXT                 1013
  #define IDC_Y_AXIS_TEXT                 1014
  #define IDC_Z_AXIS_TEXT                 1015
  #define IDC_X_ROT_TEXT                  1016
  #define IDC_Y_ROT_TEXT                  1017
  #define IDC_Z_ROT_TEXT                  1018
  #define IDC_SLIDER0_TEXT                1019
  #define IDC_X_ROT                       1020
  #define IDC_Y_ROT                       1021
  #define IDC_Z_ROT                       1022
  #define IDC_SLIDER1_TEXT                1023
  #define IDC_POV0_TEXT                   1024
  #define IDC_POV1_TEXT                   1025
  #define IDC_POV2_TEXT                   1026
  #define IDC_POV3_TEXT                   1027
  #define IDC_SLIDER0                     1030
  #define IDC_SLIDER1                     1031
  #define IDC_POV                         1040
  #define IDC_POV0                        1040
  #define IDC_BUTTONS                     1041
  #define IDC_POV1                        1042
  #define IDC_POV2                        1043
  #define IDC_POV3                        1044
  
  #define GAMEPAD_AXIS_MIN -1000
  #define GAMEPAD_AXIS_MAX 1000
  #define GAMEPAD_AXIS_DEADZONE 200
  #define GAMEPAD_AXIS_NORMALIZE(v) (abs(v) < GAMEPAD_AXIS_DEADZONE ? 0 : ((v - GAMEPAD_AXIS_MIN) / (GAMEPAD_AXIS_MAX - GAMEPAD_AXIS_MIN) * 2 - 1))