local function counter()
	count = count + 1
	return count
end

Keys =
{
    iCommandToggleReceiveMode	                =   1626;
    iCommandPlaneAttackMyTarget	                =   118;
    iCommandToggleCommandMenu                   =   179;
    iCommandPlanePickleOn                       =   350;
    iCommandPlanePickleOff                      =   351;
    iCommandPlaneFire                           =   84;
    iCommandPlaneFireOff                        =   85;
    iCommandSensorReset	                        =   1635;
    iCommandPlaneRadarChangeMode                =	285;
    iCommandPlaneRadarCenter	                =   92;
    iCommandPlaneChangeRadarPRF	                =   394;
    iCommandPlaneEOSOnOff	                    =   87;
    iCommandPlaneRadarLeft	                    =   88;
    iCommandPlaneRadarRight	                    =   89;
    iCommandPlaneRadarUp	                    =   90;
    iCommandPlaneRadarDown	                    =   91;
    iCommandPlaneRadarStop	                    =   235;
    iCommandSelecterLeft                        =   139;
    iCommandSelecterRight                       =   140;
    iCommandSelecterUp                          =   141;
    iCommandSelecterDown                        =   142;
    iCommandSelecterStop                        =   230;
    iCommandPlaneZoomIn	                        =   103;
    iCommandPlaneZoomOut	                    =   104;
    iCommandIncreaseRadarScanArea               =   263;
    iCommandDecreaseRadarScanArea	            =   262;
    iCommandPlaneChangeLock                     =   100;
    iCommandPlaneModeNAV	                    =   105;
    iCommandPlaneModeBVR	                    =   106;
    iCommandPlaneModeVS	                        =   107;
    iCommandPlaneModeBore	                    =   108;
    iCommandPlaneModeHelmet	                    =   109;
    iCommandPlaneModeFI0	                    =   110;
    iCommandPlaneModeGround	                    =   111;
    iCommandPlaneModeGrid	                    =   112;
    iCommandPlaneModeCannon	                    =   113;
    iCommandPlaneFlaps                          =   72;
    iCommandPlaneFlapsOn                        =   145;    
    iCommandPlaneFlapsOff                       =   146;
    iCommandPlaneHeadLightOnOff                 =   328;
    iCommandPlaneCobra                          =   121;
    iCommandPlaneFuelOn                         =   79;
    iCommandPlaneFuelOff                        =   80;
    iCommandPlaneFSQuantityIndicatorSelectorMAIN=	1093;
    iCommandPlaneFSQuantityIndicatorSelectorEXTCTR=	1096;
    iCommandPlaneFSQuantityIndicatorTest	    =   1097;
    iCommandPlaneStabCancel                     =   408;
    iCommandPlaneStabHbarBank                   =   387;
    iCommandPlaneStabHbar	                    =   389;
    iCommandPlaneStabHorizon                    =   388;
    iCommandPlaneRouteAutopilot                 =   429;
    iCommandPlaneAutopilot	                    =   62;
    iCommandHelicopter_PPR_button_T_up	        =   303;
    iCommandHelicopter_PPR_button_H_up	        =   302;
    iCommandHelicopter_PPR_button_K_up	        =   301;
    iCommandPlaneRightMFD_OSB1                  =   672;
    iCommandPowerOnOff                          =   315;
    iCommandLeftEngineStart                     =   311;
    iCommandRightEngineStart                    =   312;
    iCommandLeftEngineStop                      =   313;
    iCommandRightEngineStop                     =   314;
    iCommandPlaneDropSnar                       =   77;
    iCommandPlaneDropSnarOnce                   =   176;
    iCommandPlaneDropFlareOnce                  =   357;
    iCommandPlaneDropChaffOnce                  =   358;
    iCommandActiveJamming                       =   136;
    iCommandPlaneHUDFilterOnOff                 =   247;
    iCommandPlaneGear                           =   68;
    iCommandPlaneFonar                          =   71;
    iCommandPlaneLightsOnOff                    =   175;
    iCommandPlaneCockpitIllumination            =   300;
    iCommandPlaneJettisonWeapons                =   82;
    iCommandPlaneJettisonFuelTanks              =   178,
    iCommandPlaneRadarOnOff                     =   86;
    iCommandHUDBrightnessUp                     =   746;
    iCommandHUDBrightnessDown                   =   747;
    iCommandBrightnessILS                       =   156;
    iCommandToggleMirrors                       =   1625;
    iCommandPlaneAUTOnOff                       =   63;
    iCommandPlaneAUTIncrease                    =   64;
    iCommandPlane_ADF_Mode_change               =   583;
    iCommandPlaneAirRefuel                      =   155;
    iCommandPlane_P_51_WarEmergencyPower        =   1601;
    iCommandPlane_ADF_Test                      =   588;
    iCommandPlaneHook                           =   69;
    iCommandPlanePackWing                       =   70;
    iCommandPlane_HOTAS_ChinaHatForward         =   566;
    iCommandPlaneWheelParkingBrake              =   855;
    iCommandPlaneWheelBrakeLeftOn               =   961;
    iCommandPlaneWheelBrakeLeftOff              =   962;
    iCommandPlaneWheelBrakeRightOn	            =   963;
    iCommandPlaneWheelBrakeRightOff	            =   964;
    iCommandPlane_HOTAS_NoseWheelSteeringButton =   562;
    iCommandPlaneEject                          =   83;
    iCommandChangeRWRMode                       =   286;
    iCommandPlaneThreatWarnSoundVolumeDown      =   409;
    iCommandPlaneThreatWarnSoundVolumeUp        =   410;
    iCommandPlaneResetMasterWarning             =   144;
    iCommandPlaneSAUHRadio                      =   60;
    iCommandFlightClockReset                    =   288;
    iCommandClockElapsedTimeReset               =   1629;
    iCommandCockpitClickModeOnOff               =   363;
    iCommandPlaneStabHrad                       =   390;
    iCommandPlaneStabTangBank                   =   386;
    iCommandAltimeterPressureIncrease           =   316;
    iCommandAltimeterPressureDecrease           =   317;
    iCommandAltimeterPressureStop               =   318;
    iCommandActiveIRJamming	                    =   391;
    iCommandChangeRippleInterval	            =   282;
    iCommandChangeRippleIntervalDown	        =   308;
    iCommandChangeRippleQuantity	            =   281;
    iCommandChangeGunRateOfFire                 =   280;
    iCommandPlaneParachute                      =   76;
    iCommandPlaneChangeTarget                   =   102;
    iCommandPlaneUFC_STEER_DOWN                 =   1315;
    iCommandThrottleIncrease                    =   1032;
    iCommandThrottleDecrease                    =   1033;
    iCommandThrottleStop                        =   1034;
    iCommandThrottle1Increase	                =   1035;
    iCommandThrottle1Decrease	                =   1036;
    iCommandThrottle1Stop	                    =   1037;
    iCommandThrottle2Increase	                =   1038;
    iCommandThrottle2Decrease	                =   1039;
    iCommandThrottle2Stop	                    =   1040;
    iCommandPlaneThrustCommon                   =   2004;
    iCommandPlaneThrustLeft	                    =   2005;
    iCommandPlaneThrustRight	                =   2006;
    iCommandPlaneChangeWeapon                   =   101;
    iCommandPlaneAirBrake                       =   73;
    iCommandPlaneLaserRangerOnOff               =   392;
    iCommandPlaneTrimLeft                       =   93;
    iCommandPlaneTrimRight                      =   94;
    iCommandPlaneTrimUp                         =   95;
    iCommandPlaneTrimDown                       =   96;
    iCommandPlaneTrimStop                       =   215;
    iCommandPlaneNightTVOnOff                   =   393;
    iCommandPlaneWheelBrakeOn                   =   74;
    iCommandPlaneWheelBrakeOff                  =   75;
    iCommandChangeReleaseMode                   =   284;
    iCommandPlaneFSQuantityIndicatorSelectorINT =   1092;
    iCommandPlaneLaunchPermissionOverride	    =   349;
    iCommandPlaneTrimOn	                        =   957;
    iCommandPlaneTrimOff	                    =   958;
    iCommandPlaneAntiCollisionLights	        =   518;
    iCommandPlaneWingtipSmokeOnOff              =   78;
    iCommandRefusalTWS	                        =   143;
    



}   


count = 3500

device_commands =
{
    
    CLIC_HUD_BRT                = counter(),
    CLIC_HUD_COLOR_F15          = counter(),
    CLIC_EMERGENCY_BRAKES_ONE   = counter(),
    CLIC_EMERGENCY_BRAKES_LONG  = counter(),
    CLIC_EMERGENCY_BRAKES       = counter(),
    CLIC_JETTINSON              = counter(),
    CLIC_WAYPOINT               = counter(),
    CLIC_NAVMODES               = counter(),
    CLIC_RCHAN                  = counter(),
    CLIC_RFREQ_1                = counter(),
    CLIC_RFREQ_2                = counter(),
    CLIC_RFREQ_3                = counter(),
    CLIC_RUHF                   = counter(),
    CLIC_RVOL                   = counter(),
    CLIC_RCOMMENU               = counter(),
    CLIC_RMODE                  = counter(),
    CLIC_RWR_MODE               = counter(),
    CLIC_RWR_SOUND              = counter(),
    CLIC_TAKEOFFTRIMF15         = counter(),
    CLIC_RPORT                  = counter(),
    LIGHT_ANTICOL               = counter(),
    LIGHT_POS                   = counter(),
    LIGHT_COCKPIT               = counter(),
    LIGHT_COCKPIT_ILLUMINATION  = counter(),
    LIGHT_FORM                  = counter(),
    LIGHT_LDG_TAXI              = counter(),
    CLIC_MODE_F15               = counter(),
    CLIC_JETTINSON_TANK         = counter(),
    CLIC_JETTINSON_TANK2        = counter(),
    CMD_SEL                     = counter(),
    CMD_MODE                    = counter(),
    CLIC_CMD                    = counter(),
    CLIC_MIRROR                 = counter(),
    CLIC_RADAR_POWER            = counter(),
    CLIC_RADAR_RANGE            = counter(),
    CLIC_RADAR_EL_SCAN          = counter(),
    CLIC_RADAR_AZ_SCAN          = counter(),
    CLIC_RADAR_MODE_SEL         = counter(),
    CLIC_RADAR_SPL_MODE         = counter(),
    CLIC_GEAR                   = counter(),
    CLIC_LENG                   = counter(),
    CLIC_RENG                   = counter(),
    GND_EPS                     = counter(),
    GND_PWR_2                   = counter(),
    GND_PWR_3                   = counter(),
    GND_PWR_4                   = counter(),
    GND_PWR_CC                  = counter(),
    ENG_GEN_L                   = counter(),
    ENG_GEN_R                   = counter(),
    ENG_ECC_L                   = counter(),
    ENG_ECC_R                   = counter(),
    ENG_GEN_E                   = counter(),
    ENG_EXT_PWR                 = counter(),
    ENG_STARTER                 = counter(),
    ENG_MASTER_L                = counter(),
    ENG_MASTER_R                = counter(),
    ENG_FF_L                    = counter(),
    ENG_FF_R                    = counter(),
    ENG_JFS                     = counter(),
    ENG_JFS_START               = counter(),
    ENG_JFS_CONTINUE            = counter(),
    FUEL_TANK                   = counter(),
    FUEL_CENTER                 = counter(),
    FUEL_WINGS                  = counter(),
    FUEL_DUMP                   = counter(),
    FUEL_EXTTR                  = counter(),
    FUEL_EMERTR                 = counter(),
    FUEL_REFUEL                 = counter(),
    MISC_ANTISKID               = counter(),
    MISC_INLET_R                = counter(),
    MISC_INLET_L                = counter(),
    MISC_ROLL                   = counter(),
    MISC_MASTERARM              = counter(),
    MISC_EBRAKES                = counter(),
    OXYGEN_FLOW                 = counter(),
    OXYGEN_FLOX_ADJ             = counter(),
    OXYGEN_SUPPLY               = counter(),
    _180                        = counter(),
    _271                        = counter(),
    _272                        = counter(),
    _273                        = counter(),
    _274                        = counter(),
    _300                        = counter(),
    _301                        = counter(),
    _302                        = counter(),
    _303                        = counter(),
    _304                        = counter(),
    _305                        = counter(),
    _306                        = counter(),
    _307                        = counter(),
    _308                        = counter(),
    _309                        = counter(),
    _310                        = counter(),
    _311                        = counter(),
    _312                        = counter(),
    _313                        = counter(),
    _314                        = counter(),
    _315                        = counter(),
    _316                        = counter(),
    _317                        = counter(),
    _318                        = counter(),
    _319                        = counter(),
    _320                        = counter(),
    _321                        = counter(),
    _322                        = counter(),
    _323                        = counter(),
    _326                        = counter(),
    _327                        = counter(),
    _328                        = counter(),
    _329                        = counter(),
    _330                        = counter(),
    _331                        = counter(),
    _332                        = counter(),
    _333                        = counter(),
    _334                        = counter(),
    _341                        = counter(),
    _343                        = counter(),
    _344                        = counter(),
    _346                        = counter(),
    _347                        = counter(),
    _348                        = counter(),
    _349                        = counter(),
    _360                        = counter(),
    _361                        = counter(),
    _362                        = counter(),
    _371                        = counter(),
    _372                        = counter(),
    _373                        = counter(),
    _374                        = counter(),
    _375                        = counter(),
    _376                        = counter(),
    _377                        = counter(),
    _378                        = counter(),
    _379                        = counter(),
    _380                        = counter(),
    _381                        = counter(),
    _382                        = counter(),
    _383                        = counter(),
    _384                        = counter(),
    _385                        = counter(),
    _386                        = counter(),
    _387                        = counter(),
    _388                        = counter(),
    _389                        = counter(),
    _390                        = counter(),
    _391                        = counter(),
    _392                        = counter(),
    _393                        = counter(),
    _394                        = counter(),
    _400                        = counter(),
    _401                        = counter(),
    _402                        = counter(),
    _403                        = counter(),
    _404                        = counter(),
    _405                        = counter(),
    _406                        = counter(),
    _407                        = counter(),
    _408                        = counter(),
    --_409                        = counter(),
    _411                        = counter(),
    _412                        = counter(),
    _413                        = counter(),
    _414                        = counter(),
    _415                        = counter(),
    _416                        = counter(),
    _417                        = counter(),
    _418                        = counter(),
    _419                        = counter(),
    _420                        = counter(),
    _436                        = counter(),
    _437                        = counter(),
    _440                        = counter(),
    _441                        = counter(),
    _442                        = counter(),
    _443                        = counter(),
    _444                        = counter(),
    _445                        = counter(),
    _446                        = counter(),
    _447                        = counter(),
    _448                        = counter(),
    _449                        = counter(),
    _450                        = counter(),
    _453                        = counter(),
    _454                        = counter(),
    _455                        = counter(),
    _456                        = counter(),
    _457                        = counter(),
    _458                        = counter(),
    _459                        = counter(),
    _460                        = counter(),
    _461                        = counter(),
    _462                        = counter(),
    _463                        = counter(),
    _464                        = counter(),
    _465                        = counter(),
    _466                        = counter(),
    _467                        = counter(),
    _468                        = counter(),
    _469                        = counter(),
    _470                        = counter(),
    _471                        = counter(),
    _472                        = counter(),
    _473                        = counter(),
    _474                        = counter(),
    _475                        = counter(),
    _476                        = counter(),
    _477                        = counter(),
    _479                        = counter(),
    _480                        = counter(),
    _481                        = counter(),
    _483                        = counter(),
    _484                        = counter(),
    _495                        = counter(),
    _496                        = counter(),
    _504                        = counter(),
    _505                        = counter(),
    _506                        = counter(),    
    _507                        = counter(),
    TEST                        = counter(),
}


