Jump to content

Recommended Posts

Posted

Hello - in all of my DCS module I use mouse button 3 (middle mouse button) to enable clickable mouse cockpit mode. However after trying to set this with the Gazelle I am unable to.

 

The field for this action under the mouse column is un-editable, as shown in the screenshot. Can someone please help me figure this our or let me know if this is a bug? Thanks! 

 

1-mouse.jpg

  • Like 1

Acer Predator Triton 700 || i7-7700HQ || 512GB SSD || 32GB RAM || GTX1080 Max-Q || FFB II and Thrustmaster TWCS Throttle || All DCS Modules

Posted (edited)

Edit your  \Mods\aircraft\SA342\Input\mouse\default.lua in the install directory

 

and add the line in red :

 

return {

keyCommands = {
{combos = {{key = 'MOUSE_BTN1'}}, down = iCommandPlaneFire, up = iCommandPlaneFireOff, name = _('Minigun fire'), category = _('Weapon')},
{combos = {{key = 'MOUSE_BTN2'}}, down = iCommand_ExplorationStart, name = _('Enable exploration mode'), category = _('View Cockpit')},
{combos = {{key = 'MOUSE_BTN3'}}, down = iCommandViewTransposeModeOn, up = iCommandViewTransposeModeOff, name = _('Camera transpose mode on/off'), category = _('View Cockpit')},
{down = iCommandCockpitClickModeOnOff, name = _('Clickable mouse cockpit mode On/Off'), category = _('General')},
},

axisCommands = {
-- mouse axes
{combos = {{key = 'MOUSE_X'}}, action = iCommandPlaneViewHorizontal, name = _('Camera Horizontal View')},
{combos = {{key = 'MOUSE_Y'}}, action = iCommandPlaneViewVertical, name = _('Camera Vertical View')},
{combos = {{key = 'MOUSE_Z'}}, action = iCommandPlaneZoomView, name = _('Camera Zoom View')},
},
}

 

After that, you can choice your mouse button3, be carefull save this file, after a update perhaps you need to make this modif again.

 

Edited by Tanuki44
  • Like 1
  • Thanks 2
  • 3 weeks later...
Posted
On 2/7/2021 at 10:03 AM, Tanuki44 said:

Edit your  \Mods\aircraft\SA342\Input\mouse\default.lua in the install directory

 

and add the line in red :

 

return {

keyCommands = {
{combos = {{key = 'MOUSE_BTN1'}}, down = iCommandPlaneFire, up = iCommandPlaneFireOff, name = _('Minigun fire'), category = _('Weapon')},
{combos = {{key = 'MOUSE_BTN2'}}, down = iCommand_ExplorationStart, name = _('Enable exploration mode'), category = _('View Cockpit')},
{combos = {{key = 'MOUSE_BTN3'}}, down = iCommandViewTransposeModeOn, up = iCommandViewTransposeModeOff, name = _('Camera transpose mode on/off'), category = _('View Cockpit')},
{down = iCommandCockpitClickModeOnOff, name = _('Clickable mouse cockpit mode On/Off'), category = _('General')},
},

axisCommands = {
-- mouse axes
{combos = {{key = 'MOUSE_X'}}, action = iCommandPlaneViewHorizontal, name = _('Camera Horizontal View')},
{combos = {{key = 'MOUSE_Y'}}, action = iCommandPlaneViewVertical, name = _('Camera Vertical View')},
{combos = {{key = 'MOUSE_Z'}}, action = iCommandPlaneZoomView, name = _('Camera Zoom View')},
},
}

 

After that, you can choice your mouse button3, be carefull save this file, after a update perhaps you need to make this modif again.

 

 

 

this worked, thanks

Acer Predator Triton 700 || i7-7700HQ || 512GB SSD || 32GB RAM || GTX1080 Max-Q || FFB II and Thrustmaster TWCS Throttle || All DCS Modules

  • Recently Browsing   0 members

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