From 193ee79b5bd86e96d348c826ee455f860bb96af2 Mon Sep 17 00:00:00 2001 From: averne Date: Sun, 27 Jan 2019 22:43:12 +0100 Subject: [PATCH] hid: remove underscores --- nx/include/switch/services/hid.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nx/include/switch/services/hid.h b/nx/include/switch/services/hid.h index 5985a033..75de6756 100644 --- a/nx/include/switch/services/hid.h +++ b/nx/include/switch/services/hid.h @@ -600,13 +600,13 @@ typedef struct HidVibrationValue float freq_high; ///< High Band frequency in Hz. } HidVibrationValue; -static inline u32 _hidControllerIDToOfficial(HidControllerID id) { +static inline u32 hidControllerIDToOfficial(HidControllerID id) { if (id < CONTROLLER_HANDHELD) return id; if (id == CONTROLLER_HANDHELD) return 0x20; return 0x10;//For CONTROLLER_UNKNOWN and invalid values return this. } -static inline HidControllerID _hidOfficialToControllerID(u64 id) { +static inline HidControllerID hidOfficialToControllerID(u64 id) { if (id < 8) return id; if (id == 0x20) return CONTROLLER_HANDHELD; return CONTROLLER_UNKNOWN;