swiftlys2/docs/api/ai/
API Reference › Menu

MenuKey

Enum
Namespace: SwiftlyS2.Shared.Menu · Assembly: SwiftlyS2.CS2.dll
[Flags]
public enum MenuKey : uint

A set of physical keys a menu action can be bound to.

This is a flags enum, so a single action may be bound to several keys at once.

View source
A

Left movement key.

32
Alt

Walk key.

2048
Ctrl

Duck key.

8
D

Right movement key.

128
E

Use key.

256
Esc

Escape key.

512
F

Inspect key.

262144
Grenade1

First grenade slot key.

32768
Grenade2

Second grenade slot key.

65536
Mouse1

Primary mouse button.

1
Mouse2

Secondary mouse button.

2
None

No key. An action bound to None can never be triggered.

0
R

Reload key.

1024
S

Backward movement key.

64
Shift

Speed key.

4096
Space

Jump key.

4
Tab

Scoreboard key.

131072
W

Forward movement key.

16
Weapon1

Primary weapon slot key.

8192
Weapon2

Secondary weapon slot key.

16384