Next: Graphics options, Previous: Players options, Up: Reference

### 4.6 Input options

#### 4.6.1 click-to-focus

— Command-line option: `--click-to-focus=<value>`
— Environment variable: `LW6_CLICK_TO_FOCUS`
— XML key: `click-to-focus`

> Type: boolean

> Default value: false

> If set to true, you'll need to click with the mouse to select a menuitem or move the cursor in the game. If not, some actions will be taken automatically without the need to click.

#### 4.6.2 cursor-sensitivity

— Command-line option: `--cursor-sensitivity=<value>`
— Environment variable: `LW6_CURSOR_SENSITIVITY`
— XML key: `cursor-sensitivity`

> Type: float

> Default value: 1.0

> Keyboard and joystick sensitivity while moving the cursor. 1.0 is the default, 0.1 is slow, 10 is reponsive. This is used for moving the cursor during the game only, the option has no impact on menu navigation.

#### 4.6.3 custom-alt

— Command-line option: `--custom-alt=<value>`
— Environment variable: `LW6_CUSTOM_ALT`
— XML key: `custom-alt`

> Type: string

> Default value: (c-lw6gui-keyboard-is-pressed 110) ; SDLK_n

> Guile custom code associated to the ALT key equivalent.

#### 4.6.4 custom-ctrl

— Command-line option: `--custom-ctrl=<value>`
— Environment variable: `LW6_CUSTOM_CTRL`
— XML key: `custom-ctrl`

> Type: string

> Default value: (c-lw6gui-keyboard-is-pressed 98) ; SDLK_b

> Guile custom code associated to the CTRL key equivalent.

#### 4.6.5 custom-down

— Command-line option: `--custom-down=<value>`
— Environment variable: `LW6_CUSTOM_DOWN`
— XML key: `custom-down`

> Type: string

> Default value: (c-lw6gui-keyboard-is-pressed 100) ; SDLK_d

> Guile custom code associated to the DOWN key equivalent.

#### 4.6.6 custom-enter

— Command-line option: `--custom-enter=<value>`
— Environment variable: `LW6_CUSTOM_ENTER`
— XML key: `custom-enter`

> Type: string

> Default value: (c-lw6gui-keyboard-is-pressed 103) ; SDLK_g

> Guile custom code associated to the ENTER key equivalent.

#### 4.6.7 custom-esc

— Command-line option: `--custom-esc=<value>`
— Environment variable: `LW6_CUSTOM_ESC`
— XML key: `custom-esc`

> Type: string

> Default value: (c-lw6gui-keyboard-is-pressed 102) ; SDLK_f

> Guile custom code associated to the ESC key equivalent.

#### 4.6.8 custom-left

— Command-line option: `--custom-left=<value>`
— Environment variable: `LW6_CUSTOM_LEFT`
— XML key: `custom-left`

> Type: string

> Default value: (c-lw6gui-keyboard-is-pressed 99) ; SDLK_c

> Guile custom code associated to the LEFT key equivalent.

#### 4.6.9 custom-pgdown

— Command-line option: `--custom-pgdown=<value>`
— Environment variable: `LW6_CUSTOM_PGDOWN`
— XML key: `custom-pgdown`

> Type: string

> Default value: (c-lw6gui-keyboard-is-pressed 115) ; SDLK_s

> Guile custom code associated to the PGDOWN key equivalent.

#### 4.6.10 custom-pgup

— Command-line option: `--custom-pgup=<value>`
— Environment variable: `LW6_CUSTOM_PGUP`
— XML key: `custom-pgup`

> Type: string

> Default value: (c-lw6gui-keyboard-is-pressed 119) ; SDLK_w

> Guile custom code associated to the PGUP key equivalent.

#### 4.6.11 custom-right

— Command-line option: `--custom-right=<value>`
— Environment variable: `LW6_CUSTOM_RIGHT`
— XML key: `custom-right`

> Type: string

> Default value: (c-lw6gui-keyboard-is-pressed 118) ; SDLK_v

> Guile custom code associated to the RIGHT key equivalent.

#### 4.6.12 custom-up

— Command-line option: `--custom-up=<value>`
— Environment variable: `LW6_CUSTOM_UP`
— XML key: `custom-up`

> Type: string

> Default value: (c-lw6gui-keyboard-is-pressed 101) ; SDLK_e

> Custom keycode to be used as the UP key equivalent.

#### 4.6.13 double-click-delay

— Command-line option: `--double-click-delay=<value>`
— Environment variable: `LW6_DOUBLE_CLICK_DELAY`
— XML key: `double-click-delay`

> Type: integer

> Default value: 333

> Time, in milliseconds, determining wether two consecutive clicks make a double-click or not.

#### 4.6.14 max-cursor-speed

— Command-line option: `--max-cursor-speed=<value>`
— Environment variable: `LW6_MAX_CURSOR_SPEED`
— XML key: `max-cursor-speed`

> Type: float

> Default value: 10.0

> Maximum cursor speed when cursor is controlled with keyboard or joystick joystick 1. Consider using cursor-sensitivity too.

#### 4.6.15 mouse-sensitivity

— Command-line option: `--mouse-sensitivity=<value>`
— Environment variable: `LW6_MOUSE_SENSITIVITY`
— XML key: `mouse-sensitivity`

> Type: float

> Default value: 1.0

> Mouse sensitivity, 1.0 is the default, 0.1 is slow, 10 is reponsive. This is used for moving the cursor during the game only, the option has no impact on menu navigation.

#### 4.6.16 repeat-delay

— Command-line option: `--repeat-delay=<value>`
— Environment variable: `LW6_REPEAT_DELAY`
— XML key: `repeat-delay`

> Type: integer

> Default value: 500

> Time, in milliseconds, before key repeat will start, use 0 to disable.

#### 4.6.17 repeat-interval

— Command-line option: `--repeat-interval=<value>`
— Environment variable: `LW6_REPEAT_INTERVAL`
— XML key: `repeat-interval`

> Type: integer

> Default value: 100

> Time, in milliseconds, between two repeats, once repeat has started, use 0 to disable.

#### 4.6.18 use-double-click

— Command-line option: `--use-double-click=<value>`
— Environment variable: `LW6_USE_DOUBLE_CLICK`
— XML key: `use-double-click`

> Type: boolean

> Default value: false

> Wether to use double-click feature, mostly usefull if running on a system that has only one button (such as a tablet-PC or anything with a tactile screen), if your mouse has three buttons, disabling this might avoid some confusion. Basically, if enabled, double-click is equivalent to right-click (fire) and triple-click is equivalent to middle-click (alternate fire).

#### 4.6.19 use-esc-button

— Command-line option: `--use-esc-button=<value>`
— Environment variable: `LW6_USE_ESC_BUTTON`
— XML key: `use-esc-button`

> Type: boolean

> Default value: true

> Decides wether to display an 'esc' (escape) button in the interface. This is usefull for people who control the game with the mouse only, and have a single buttons, or on a touchscreen.

#### 4.6.20 zoom-step

— Command-line option: `--zoom-step=<value>`
— Environment variable: `LW6_ZOOM_STEP`
— XML key: `zoom-step`

> Type: float

> Default value: 1.1

> A value, strictly greater than 1, which will be used when zooming. The greater it is, the more sensible the zoom is.

#### 4.6.21 zoom-stick-delay

— Command-line option: `--zoom-stick-delay=<value>`
— Environment variable: `LW6_ZOOM_STICK_DELAY`
— XML key: `zoom-stick-delay`

> Type: float

> Default value: 1000

> How long, in msec, the zoom will stick to its default value.