GPC 3

A high-performance C-style scripting language for real-time controller input and output logic.

Language Overview

C-style controller scripting built for fast, predictable execution.

GPC 3 is Input Sense's high-performance scripting language for controller workflows. Its compact C-style syntax supports typed variables, conditions, functions, input reads, output writes, and timed combos.

Use it for accessibility remaps, input experiments, analog adjustments, toggles, and repeatable button or stick sequences. Scripts compile before they run, while the familiar main and combo structure keeps behavior explicit and easy to tune.

GPC 3
main {
    // Accessibility remap: BUTTON_9 activates BUTTON_10.
    if (get_val(BUTTON_9) > 50) {
        set_val(BUTTON_10, 100);
    }
}

Familiar C-Style Syntax

Write readable conditions, functions, typed values, and reusable controller logic.

Performance-Focused

Compile scripts before execution and keep real-time input logic compact and predictable.

Timed Combos

Express timed sequences with dedicated combo blocks and millisecond waits.

Precise Analog Control

Read and adjust buttons, triggers, and stick axes with integer or decimal math.