---
name: "BIS_fnc_diagKeyLayout"
type: function
status: ok
groups: ["Diagnostic"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_diagKeyLayout
revid: 309542
updated: 2022-05-05T12:06:57Z
---

# BIS_fnc_diagKeyLayout

*Function · Diagnostic · Arma 3 v1.00*

## Description

Exports default key layout to wiki template.

## Syntax

*syntax inferred from the function header*

```sqf
[param0, param1] call BIS_fnc_diagKeyLayout
```

**Parameters:**

- `param0` — 0: STRING - category, can be one of following
  "" - all controls in game
  "All"
  "BasicInfantryControls"
  "Car"
  "Air"
  "Helicopter"
  "Submarine"
  "Buldozer"
  "UserActions"
- `param1` — 1: STRING - selection method, can be one of following
  "" - single tap
  "double" - double tap
  "LCtrl" - with left control pressed
  "RCtrl" - with right control pressed
  "LShift" - with left shift pressed
  "RShift" - with right shift pressed

**Returns:** STRING - wiki export text (also copied to clipboard)

## Function header

The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.

```sqf
/*
Description:
Exports default key layout to wiki template.

Parameter(s):
_this select 0: STRING - category, can be one of following
    "" - all controls in game
    "All"
    "BasicInfantryControls"
    "Car"
    "Air"
    "Helicopter"
    "Submarine"
    "Buldozer"
    "UserActions"
_this select 1: STRING - selection method, can be one of following
    "" - single tap
    "double" - double tap
    "LCtrl" - with left control pressed
    "RCtrl" - with right control pressed
    "LShift" - with left shift pressed
    "RShift" - with right shift pressed

Returns:
STRING - wiki export text (also copied to clipboard)
*/
```

<sub>Source: [BI Community Wiki — BIS fnc diagKeyLayout](https://community.bistudio.com/wiki/BIS_fnc_diagKeyLayout) (revision 309542).</sub>
