Constants
This public appendix contains 909 Zen-supported compiler constants across 29 non-empty public categories from the current Live compiler definition. Names are case-sensitive. The remaining inventory consists of 136 owner-excluded constants, 16 older-device selectors, and three validation-only names; none are presented as supported Zen constants.
Every public category is nested beneath this index in the guide navigation. Use the table or the sidebar to open a native GitBook reference page.
ANALOGS
15
Polar and extended analog selectors
ASCII
126
ASCII and OLED glyph codes
BITMASKS
32
32-bit masks
DF
20
Driving Force identifiers
DFGT
25
Driving Force GT identifiers
DFPRO
20
Driving Force Pro identifiers
G25
22
Logitech G25 identifiers
G27
26
Logitech G27 identifiers
G29
27
Logitech G29 identifiers
KEYBOARD
178
Keyboard usage constants
LED
48
LED constants
MISC
16
Miscellaneous constants
MODIFIERS
8
Keyboard modifier masks
OLED
23
OLED constants
PIO
9
Protocol identifiers
PRODUCTS
7
Product identifiers
PS3
25
PlayStation 3 identifiers
PS4
34
PlayStation 4 identifiers
PS4_TOUCH
6
DualShock 4 touch selectors
PS5
35
PlayStation 5 identifiers
PS5_ADT
11
Adaptive-trigger field selectors
PS5_ADT_MODE
10
Adaptive-trigger mode values
SPVAR
64
SPVAR selectors
RUMBLE
6
Rumble and haptic identifiers
SWITCH
28
Nintendo Switch identifiers
TRACE
6
Trace identifiers
WII
33
Nintendo Wii identifiers
XB1
28
Xbox One/Series identifiers
XB360
21
Xbox 360 identifiers
Identifier range reminder
Several platforms intentionally use the same numeric report slots for equivalent controls. Write the named constant for the platform and meaning intended by the script. Touch, motion, mute, paddles, and adaptive-trigger identifiers are platform-specific.
Last updated

