Jump to content

Keybinding Thread


Rlaxoxo

Recommended Posts

Okay I've been feeling for a while that there were some keybinds missing for the Mirage

Definitely nothing major just something that would be more convenient to use (Most of the Important working stuff is covered already)

 

However I've made some new binds in response of me actually needing them so why not share ...

 

If Devs use them or not it's their choice ether way It's all good

------------------------------------------------------------------------------------

--Custom Binds (Added) (Updated 15.05)

--Warning Switch

{down = 3658, up = 3658, cockpit_device_id = 16, value_down = 0, name = _('Audio Warning Switch OFF'), category = _('Electrical')},

{down = 3658, up = 3658, cockpit_device_id = 16, value_down = 0.5, name = _('Audio Warning Switch ON'), category = _('Electrical')},

{down = 3658, up = 3658, cockpit_device_id = 16, value_down = 1, name = _('Audio Warning Switch Test?'), category = _('Electrical')},

 

--PRF Switch

{down = 3109, up = 3109, cockpit_device_id = 11, value_down = -1, name = _('PRF Selector Low'), category = _('Sensors')},

{down = 3109, up = 3109, cockpit_device_id = 11, value_down = 0, name = _('PRF Selector Int'), category = _('Sensors')},

{down = 3109, up = 3109, cockpit_device_id = 11, value_down = 1, name = _('PRF Selector High'), category = _('Sensors')},

 

--TDC Mode Switch

{down = 3710, up = 3710, cockpit_device_id = 11, value_down = 0, name = _('TDC Mode Switch S'), category = _('Sensors')},

{down = 3710, up = 3710, cockpit_device_id = 11, value_down = 1, name = _('TDC Mode Switch Z'), category = _('Sensors')},

 

--Auxiliary Gunsight

{down = 3206, up = 3206, cockpit_device_id = 5, value_down = 0, name = _('Auxiliary Gunsight OFF'), category = _('Weapons Management')},

{down = 3206, up = 3206, cockpit_device_id = 5, value_down = 1, name = _('Auxiliary Gunsight ON'), category = _('Weapons Management')},

{pressed = 3207, up = 3207, cockpit_device_id = 5, value_pressed = 0.15, name = _('Auxiliary Gunsight Deflection Up (WIP)'), category = _('Weapons Management')},

{pressed = 3207, up = 3207, cockpit_device_id = 5, value_pressed = -0.15, name = _('Auxiliary Gunsight Deflection Down (WIP)'), category = _('Weapons Management')},

 

--HUD Altimeter Power Switch

{down = 3204, up = 3204, cockpit_device_id = 5, value_down = 0, name = _('HUD Altimeter Power Switch OFF'), category = _('Electrical')},

{down = 3204, up = 3204, cockpit_device_id = 5, value_down = 0.5, name = _('HUD Altimeter Power Switch ON'), category = _('Electrical')},

{down = 3204, up = 3204, cockpit_device_id = 5, value_down = 1, name = _('HUD Altimeter Power Switch TEST'), category = _('Electrical')},

 

--HUD Declutter Switch

{down = 3203, up = 3203, cockpit_device_id = 5, value_down = 0, name = _('HUD Declutter Switch OFF'), category = _('Electrical')},

{down = 3203, up = 3203, cockpit_device_id = 5, value_down = 1, name = _('HUD Declutter Switch ON'), category = _('Electrical')},

 

--Landing Lights

{down = 3450, up = 3450, cockpit_device_id = 16, value_down = 0.5, name = _('Landing Lights TAXI (Middle)'), category = _('External Illumination')},

 

--Switches (Added by dannyq8 & Gliptal)

{down = 3450, up = 3450, cockpit_device_id = 16, value_up= 0, value_down = 1, name = ('Landing light ON else OFF'), category = '3-Pos. Switch Abstractions'},

{down = 3450, up = 3450, cockpit_device_id = 16, value_up= 0, value_down = -1, name = ('Taxi light ON else OFF'), category = '3-Pos. Switch Abstractions'},

{down = 3109, up = 3109, cockpit_device_id = 11, value_down = -1, value_up = 0, name = _('PRF Selector Low, else Int'), category = _('3-Pos. Switch Abstractions')},

{down = 3109, up = 3109, cockpit_device_id = 11, value_down = 1, value_up = 0, name = _('PRF Selector High, else Int'), category = _('3-Pos. Switch Abstractions')},

{down = 3710, up = 3710, cockpit_device_id = 11, value_down = 0, value_up = 1, name = _('TDC Mode S, else Z'), category = _('3-Pos. Switch Abstractions')},

{down = 3900, up = 3900, cockpit_device_id = 22, value_up= 0, value_down = 1, name = _('Seat Height Increase'), category = '3-Pos. Switch Abstractions'},

{down = 3900, up = 3900, cockpit_device_id = 22, value_up= 0, value_down = -1, name = _('Seat Height Decrease'), category = '3-Pos. Switch Abstractions'},

{down = 3453, up = 3453, cockpit_device_id = 16, value_up= 0, value_down = 1, name = _('Anti Cols'), category = '3-Pos. Switch Abstractions'},

{down = 3454, up = 3454, cockpit_device_id = 16, value_up= 0, value_down = 1, name = _('Nav lights'), category = '3-Pos. Switch Abstractions'},

 

--HSI

{down = 3341, up = 3341, cockpit_device_id = 2, value_down = 0, name = ('HSI Mode 1 - Nav Cv'), category = 'Autopilot, Navigation, & INS'},

{down = 3341, up = 3341, cockpit_device_id = 2, value_down = 0.1, name = ('HSI Mode 2 - Nav'), category = 'Autopilot, Navigation, & INS'},

{down = 3341, up = 3341, cockpit_device_id = 2, value_down = 0.2, name = ('HSI Mode 3 - TAC'), category = 'Autopilot, Navigation, & INS'},

{down = 3341, up = 3341, cockpit_device_id = 2, value_down = 0.3, name = ('HSI Mode 4 - VAD'), category = 'Autopilot, Navigation, & INS'},

{down = 3341, up = 3341, cockpit_device_id = 2, value_down = 0.4, name = ('HSI Mode 5 - ?'), category = 'Autopilot, Navigation, & INS'},

{down = 3341, up = 3341, cockpit_device_id = 2, value_down = 0.5, name = ('HSI Mode 6 - ??'), category = 'Autopilot, Navigation, & INS'},

{down = 3341, up = 3341, cockpit_device_id = 2, value_down = 0.6, name = ('HSI Mode 7 - TEL'), category = 'Autopilot, Navigation, & INS'},

 

----------------------------------------------------------------------------------------------------------------------------

Just add these in:

DCS World/Mods/aircraft/M-2000C/input/M-2000C/keyboard/default.lua

DCS World/Mods/aircraft/M-2000C/input/M-2000C/joystick/default.lua

 

You can add them right before the first keybind code starts save the file and you're good ...

 

If you're not confident in your self and got JSGME I got you covered bro ...

I use these binds in conjunction with my NVG mod so if you're not a fan of that well you'll just have to deal with it I guess :music_whistling:

--------------------------------------------------------------------

If you have any request for any extra binds (Because I can't really think of any) feel free to leave them in this thread and I'll see what I can do

 

Note:

(Toggle and increment binds are tough to make)

-----------------------------------------------------------------

Uploaded file will be on this thread main page and I'll try to keep it up to date with the patch and stuff depending if I'm present or not.

Keybinds ~~ M-2000C - NVG + Extra binds(Updated 15.05 v1).rar


Edited by Rlaxoxo
  • Like 1

[sIGPIC][/sIGPIC]

Youtube

Reddit

Link to comment
Share on other sites

This latest update of the JSGME NVG + Extra binds file also fixes the Flashlight

 

(Removes default bindings from the Flashlight bind so it's usable again)

 

Note:

You will probably need to rebind the Flashlight bind and restart your game


Edited by Rlaxoxo

[sIGPIC][/sIGPIC]

Youtube

Reddit

Link to comment
Share on other sites

Here are the three position abstraction for the two new radar binds.

 

{down = 3109, up = 3109, cockpit_device_id = 11, value_down = -1, value_up = 0, name = _('PRF Selector Low, else Int'), category = _('3-Pos. Switch Abstractions')},

{down = 3109, up = 3109, cockpit_device_id = 11, value_down = 1, value_up = 0, name = _('PRF Selector High, else Int'), category = _('3-Pos. Switch Abstractions')},

{down = 3710, up = 3710, cockpit_device_id = 11, value_down = 0, value_up = 1, name = _('TDC Mode S, else Z'), category = _('3-Pos. Switch Abstractions')},

 

Feel free to add them to the OP and give them to the devs Riaxoxo.

Link to comment
Share on other sites

Here are a few that I have been using. The Nav and Anti-cols are actually 2 pos abstractions really, for on/off switch panels, but for ease I have left them the same to make it easier to find.

 

{down = 3900, up = 3900, cockpit_device_id = 22, value_up= 0, value_down = 1, name = 'Seat Height Increase', category = '3-Pos. Switch Abstractions'},

{down = 3900, up = 3900, cockpit_device_id = 22, value_up= 0, value_down = -1, name = 'Seat Height Decrease', category = '3-Pos. Switch Abstractions'},

{down = 3453, up = 3453, cockpit_device_id = 16, value_up= 0, value_down = 1, name = 'Anti Cols', category = '3-Pos. Switch Abstractions'},

{down = 3454, up = 3454, cockpit_device_id = 16, value_up= 0, value_down = 1, name = 'Nav lights', category = '3-Pos. Switch Abstractions'},

Wise men speak because they have something to say; Fools because they have to say something.

Plato

Link to comment
Share on other sites

This latest update of the JSGME NVG + Extra binds file also fixes the Flashlight

 

(Removes default bindings from the Flashlight bind so it's usable again)

 

Note:

You will probably need to rebind the Flashlight bind and restart your game

 

 

Great stuff Rlaxoxo - works like a charm in JSGME.

 

One question: I have not been able to get "Previous Waypoint" to work. "Next Waypoint" works fine but not "Previous". I've tested with JS bindings and also Key bindings with no joy.

 

Is it working for you?

 

Thanks,

Cats . . . .

Link to comment
Share on other sites

Great stuff Rlaxoxo - works like a charm in JSGME.

 

One question: I have not been able to get "Previous Waypoint" to work. "Next Waypoint" works fine but not "Previous". I've tested with JS bindings and also Key bindings with no joy.

 

Is it working for you?

 

Thanks,

Cats . . . .

 

Nah It doesn't For sake of perfection I used to remove the old Previous waypoint and renamed the Next waypoint to "Cycle waypoints"

 

But got tired of deleting it every update and so on so I just got used to it

[sIGPIC][/sIGPIC]

Youtube

Reddit

Link to comment
Share on other sites

Nah It doesn't For sake of perfection I used to remove the old Previous waypoint and renamed the Next waypoint to "Cycle waypoints"

 

But got tired of deleting it every update and so on so I just got used to it

 

Thanks for the feedback.

Link to comment
Share on other sites

HI I'm trying to set up my "pit" so i can do a complete cold start without using the mouse and can not seem to find key binds for,

1) fuel shut off cover

2)most of the electric warfare panel

3)HSI mode selector

 

These would be Great!

Thanks For the continued support and updates. The M2000 is surpassing my expectations in almost every way.

Greg

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

Wow, That was quick!

Thanks so much. I found I could start without the fuel shut off cover, (I was following Chucks guide). Don't Know is this is correct.

Best wishes

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

2. Electric Warfare panel?

 

ECM mode switch,

Decoy dispenser Mode switch

Missel launch ir detector switch.

 

Also when time permits,

VHF radio preset selector.

 

Your work here is much appreciated.

 

Thanks again.

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

2. Electric Warfare panel?

 

ECM mode switch,

Decoy dispenser Mode switch

Missel launch ir detector switch.

 

Also when time permits,

VHF radio preset selector.

 

Your work here is much appreciated.

 

Thanks again.

 

I'll see what I can do later tonight but i believe most of them are already done

[sIGPIC][/sIGPIC]

Youtube

Reddit

Link to comment
Share on other sites

New key binds Electronic Warfare Panel

 

I could not find these in the default.lua, so I looked at the files and came up with this code.

 

-- EW Panel

 

{down = 3605, up = 3605, cockpit_device_id = 13, value_down = -1, name = _('ECM Mode Standby'), category = _('EW Panel')},

{down = 3605, up = 3605, cockpit_device_id = 13, value_down = 0, name = _('ECM Mode Normal'), category = _('EW Panel')},

{down = 3605, up = 3605, cockpit_device_id = 13, value_down = 1, name = _('ECM Mode PCM'), category = _('EW Panel')},

{down = 3608, up = 3608, cockpit_device_id = 13, value_down = 0, name = _('Missile IR Off'), category = _('EW Panel')},

{down = 3608, up = 3608, cockpit_device_id = 13, value_down = 0.5, name = _('Missile IR On'), category = _('EW Panel')},

{down = 3608, up = 3608, cockpit_device_id = 13, value_down = 1, name = _('Missile IR Test'), category = _('EW Panel')},

{down = 3609, up = 3609, cockpit_device_id = 13, value_down = 0, name = _('Decoy Switch Off'), category = _('EW Panel')},

{down = 3609, up = 3609, cockpit_device_id = 13, value_down = .5, name = _('Decoy Switch Semi Auto'), category = _('EW Panel')},

{down = 3609, up = 3609, cockpit_device_id = 13, value_down = 1, name = _('Decoy Switch Auto'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = 0, name = _('Decoy Program 0'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .1, name = _('Decoy Program 1'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .2, name = _('Decoy Program 2'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .3, name = _('Decoy Program 3'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .4, name = _('Decoy Program 4'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .5, name = _('Decoy Program 5'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .6, name = _('Decoy Program 6'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .7, name = _('Decoy Program 7'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .8, name = _('Decoy Program 8'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .9, name = _('Decoy Program 9'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = 1, name = _('Decoy Program 10'), category = _('EW Panel')},

 

This is my first attempt at key binding. I like to have all functions bound to real switches, hence my code.

I suspect there may be a better way to define the decoy program switch.

 

Perhaps Rlaxoxo could take look and add any corrections. All are welcome.

The binds do work as is.

Just cut and paste the code from the attached file into the keyboard default.lua and all should work.

 

Thanks for including the other binds from this thread in the latest update on 5/20.

I do really enjoy this plane and can't wait for the full release out of beta.

She keeps getting better and better.

 

Enjoy!:)

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

I could not find these in the default.lua, so I looked at the files and came up with this code.

 

-- EW Panel

 

{down = 3605, up = 3605, cockpit_device_id = 13, value_down = -1, name = _('ECM Mode Standby'), category = _('EW Panel')},

{down = 3605, up = 3605, cockpit_device_id = 13, value_down = 0, name = _('ECM Mode Normal'), category = _('EW Panel')},

{down = 3605, up = 3605, cockpit_device_id = 13, value_down = 1, name = _('ECM Mode PCM'), category = _('EW Panel')},

{down = 3608, up = 3608, cockpit_device_id = 13, value_down = 0, name = _('Missile IR Off'), category = _('EW Panel')},

{down = 3608, up = 3608, cockpit_device_id = 13, value_down = 0.5, name = _('Missile IR On'), category = _('EW Panel')},

{down = 3608, up = 3608, cockpit_device_id = 13, value_down = 1, name = _('Missile IR Test'), category = _('EW Panel')},

{down = 3609, up = 3609, cockpit_device_id = 13, value_down = 0, name = _('Decoy Switch Off'), category = _('EW Panel')},

{down = 3609, up = 3609, cockpit_device_id = 13, value_down = .5, name = _('Decoy Switch Semi Auto'), category = _('EW Panel')},

{down = 3609, up = 3609, cockpit_device_id = 13, value_down = 1, name = _('Decoy Switch Auto'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = 0, name = _('Decoy Program 0'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .1, name = _('Decoy Program 1'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .2, name = _('Decoy Program 2'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .3, name = _('Decoy Program 3'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .4, name = _('Decoy Program 4'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .5, name = _('Decoy Program 5'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .6, name = _('Decoy Program 6'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .7, name = _('Decoy Program 7'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .8, name = _('Decoy Program 8'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = .9, name = _('Decoy Program 9'), category = _('EW Panel')},

{down = 3610, up = 3610, cockpit_device_id = 13, value_down = 1, name = _('Decoy Program 10'), category = _('EW Panel')},

 

This is my first attempt at key binding. I like to have all functions bound to real switches, hence my code.

I suspect there may be a better way to define the decoy program switch.

 

Perhaps Rlaxoxo could take look and add any corrections. All are welcome.

The binds do work as is.

Just cut and paste the code from the attached file into the keyboard default.lua and all should work.

 

Thanks for including the other binds from this thread in the latest update on 5/20.

I do really enjoy this plane and can't wait for the full release out of beta.

She keeps getting better and better.

 

Enjoy!:)

 

Cool stuff, when you press the key do switches fit in their correct positions?

 

And 1 more thing ECM On, off and test is already in the game as a "Jammer ON" etc ...

[sIGPIC][/sIGPIC]

Youtube

Reddit

Link to comment
Share on other sites

Yes they do.

 

"And 1 more thing ECM On, off and test is already in the game as a "Jammer ON" etc .."

 

Good catch, I should have labeled that switch RWR status. I will correct it. Thanks.

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

I looked again and the jammer switch is defined as 3606, and ECM mode switch as 3605. Is this not correct?.

 

Try the key binds and let me know.

 

Thanks

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

No problem.

Still wonder if the decoy mode switch could be assigned just a up/down or clock/counter clock command. Would make assigning a button press to this function possible, and save key combos.

I'll look into it.

 

It was your original post that got me thinking about this. There is joy in discovery and success.

 

Thank-you!

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

No problem.

Still wonder if the decoy mode switch could be assigned just a up/down or clock/counter clock command. Would make assigning a button press to this function possible, and save key combos.

I'll look into it.

 

It was your original post that got me thinking about this. There is joy in discovery and success.

 

Thank-you!

 

You can't make toggle and up and down keybinds, the functions for that are declared in source code and we can't see that so

[sIGPIC][/sIGPIC]

Youtube

Reddit

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...