Decode Nintendo HD-rumble words once in firmware into conventional low/high magnitudes and normalize stripped control SET_REPORT vs complete interrupt OUT reports through one path.
12 lines
353 B
C
12 lines
353 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "switch_pro_driver.h"
|
|
#include "switch_haptics.h"
|
|
|
|
void bluepad32_input_backend_init();
|
|
void bluepad32_input_backend_start();
|
|
bool bluepad32_input_backend_snapshot(SwitchInputState* out);
|
|
void bluepad32_input_backend_report_sent();
|
|
void bluepad32_input_backend_queue_rumble(const SwitchRumbleOutput& rumble);
|