Added Glitch Room Source code to Gitty

This commit is contained in:
Jeff Luke committed 2026-10-04 11:31:17 -07:00
commit 1ac9eb5644
505 files changed
+28504

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
@tool
class_name HardwareAction
extends Resource
enum ActionType {
DIGITAL_OUTPUT,
PULSE_OUTPUT,
}
@export var action_id: StringName = &""
@export var display_name: String = ""
@export var action_type: ActionType = ActionType.PULSE_OUTPUT
@export_range(0, 1000, 1)
var gpio_pin: int = 17
@export_range(1, 10000, 1)
var pulse_duration_ms: int = 250
@export var active_high: bool = true