Strings, images, and ADT records
One string and a string array
const string STATUS = "READY";
const string MODE_LABELS[] = { "OFF", "STANDARD", "ALTERNATE" };Image record
const image ICON = {
8, 8,
0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF
};Adaptive-trigger record
const ps5adt ADT_PROFILE = {
PS5_ADT_CR, // 0: mode
0, // 1: start
128, // 2: force 1
128, // 3: force 2
64, // 4: low strength
128, // 5: mid strength
192, // 6: high strength
0, // 7: unknown/reserved 1
0, // 8: unknown/reserved 2
100, // 9: frequency
0 // 10: unknown/reserved 3
};
main {
adt_setx(PS5_R2, addr(ADT_PROFILE));
}Last updated

