Preserve per-player motor state and SDK vibration handles, apply batches atomically, and route Core Haptics output through existing controller assignments. Add independent launcher controls and lifecycle tests. Supersedes #86. Physical feel and controller compatibility still require device testing.
8 lines
322 B
Objective-C
8 lines
322 B
Objective-C
// Shared Core Haptics output for the Mac and iOS front ends. Configure routes before guest boot.
|
|
#pragma once
|
|
#import <GameController/GameController.h>
|
|
#include "hle_haptics.h"
|
|
void dm_haptics_apple_init(void);
|
|
void dm_haptics_apple_controller(int player, GCController *controller);
|
|
void dm_haptics_apple_shutdown(void);
|