Files
astromaddie--HaloCE-VR/source/input/input_abstraction.h
T
Jonas Volman f3aadeab98 Reconcile five Halo functions and approved declaration batches
Integrate coherent B3, P2/K17 prerequisites, completed K1-K16 + S, and the independent profile/effects rulings. Five gains and two explicitly approved B3 debits: net +3 strict functions, +2770 meaningful/+2800 padded bytes (+2774 progress credit). No additional losses; Halo objects 394 to 396 and data unchanged.

Clean rebuild, identical 8252-row stable sweep, 68 valid parks, admission/provider checks, 467-unit warning comparison, unchanged fake scan, and 1318 tests passed. Preserve canonical helper recoveries and unrelated work. Full evidence and disclosures in docs/object_matching_logs/astra_five_function_reconciliation_20260928.md.
2026-09-28 23:17:10 -07:00

62 lines
1.3 KiB
C

/*
INPUT_ABSTRACTION.H
header included in hcex build.
*/
#ifndef __INPUT_ABSTRACTION_H
#define __INPUT_ABSTRACTION_H
#pragma once
/* ---------- headers */
#include "cseries/cseries.h"
/* ---------- constants */
/* ---------- macros */
/* ---------- structures */
struct game_input_preferences
{
real yaw_rate;
real pitch_rate;
byte game_control_to_xbox_buttons[12];
short joystick_controls;
boolean invert_look;
boolean invert_look_aircraft_control;
};
struct game_input_state;
typedef char verify_game_input_preferences_size[
sizeof(struct game_input_preferences) == 0x18 ? 1 : -1];
/* ---------- prototypes/INPUT_ABSTRACTION.C */
void input_abstraction_initialize(
void);
void input_abstraction_dispose(
void);
void input_abstraction_update(
void);
void input_abstraction_update_device_changes(
unsigned long device_change_flags);
void input_abstraction_reset_controller_detection_timer(
void);
void input_abstraction_get_local_player_preferences(
short local_player_index,
struct game_input_preferences *preferences);
void input_abstraction_update_local_player_preferences(
short controller_index,
struct game_input_preferences const *preferences);
struct game_input_state *input_abstraction_get_input_state(
short local_player_index);
/* ---------- globals */
/* ---------- public code */
#endif // __INPUT_ABSTRACTION_H