Grid Placement

GPInputService

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: core/services/gp_input_service.gd

Version: 5.1

class_name: GPInputService extends: RefCounted

Summary

Centralized input handling service for Grid Building system.

Responsibilities:

  • Receives raw input events from the injector (or other source)
  • Routes input to specific domain handlers (positioner, manipulation, etc.)
  • Manages input gating and priority
  • Decouples engine input handling from system logic

Signals

  • positioner_mouse_motion
    • Emitted when a mouse motion event is validated and should be processed by the positioner
  • positioner_tile_move
    • Emitted when a tile movement command is received (e.g. keyboard arrow keys)
  • positioner_recenter_requested
    • Emitted when a recenter command is received

Exports

(none)

Methods

  • configure()
    • Configure dependencies
  • _on_positioner_mouse_motion()
  • _on_positioner_tile_move()
  • _on_positioner_recenter_requested()
  • handle_unhandled_input()
    • Handle an unhandled input event forwarded from the engine