mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
Fix: use Clang-Format 17 instead of 21
This commit is contained in:
parent
6b0c5b51e6
commit
328a21ad03
@ -67,6 +67,7 @@
|
|||||||
|
|
||||||
#ifdef __SWITCH__
|
#ifdef __SWITCH__
|
||||||
#include "switch/config.h"
|
#include "switch/config.h"
|
||||||
|
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -836,8 +837,8 @@ SDL_AppResult SDL_AppEvent(void* appstate, SDL_Event* event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (event->user.type == g_legoSdlEvents.m_gameEvent) {
|
else if (event->user.type == g_legoSdlEvents.m_gameEvent) {
|
||||||
auto rumble =
|
auto rumble = [](float p_strength, float p_lowFrequencyRumble, float p_highFrequencyRumble, MxU32 p_milliseconds
|
||||||
[](float p_strength, float p_lowFrequencyRumble, float p_highFrequencyRumble, MxU32 p_milliseconds) {
|
) {
|
||||||
if (g_isle->GetHaptic() &&
|
if (g_isle->GetHaptic() &&
|
||||||
!InputManager()
|
!InputManager()
|
||||||
->HandleRumbleEvent(p_strength, p_lowFrequencyRumble, p_highFrequencyRumble, p_milliseconds)) {
|
->HandleRumbleEvent(p_strength, p_lowFrequencyRumble, p_highFrequencyRumble, p_milliseconds)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user