Skip to content

Commit 43eb3e6

Browse files
committed
fix: use LPVOID for LogiPlayLedsDInput to fix ANSI/Unicode build
1 parent 540a7dd commit 43eb3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common Files/LogitechLED.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ typedef bool (__cdecl *LogiSteeringInitWithWindow_t)(bool, HWND);
5252
typedef bool (__cdecl *LogiUpdate_t)();
5353
typedef bool (__cdecl *LogiIsConnected_t)(int);
5454
typedef bool (__cdecl *LogiPlayLeds_t)(int, float, float, float);
55-
typedef bool (__cdecl *LogiPlayLedsDInput_t)(LPDIRECTINPUTDEVICE8, float, float, float);
55+
typedef bool (__cdecl *LogiPlayLedsDInput_t)(LPVOID, float, float, float); // accepts any LPDIRECTINPUTDEVICE8 variant
5656
typedef void (__cdecl *LogiSteeringShutdown_t)();
5757

5858
static LogiSteeringInit_t g_SteeringInit = NULL;

0 commit comments

Comments
 (0)