Skip to content

Commit d6b8ab4

Browse files
authored
fix: Update gamepad.cpp includes to fix windows compilation error (#51)
1 parent adfb8d1 commit d6b8ab4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.clang-format

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
33
BasedOnStyle: Chromium
44
Standard: c++17
5+
SortIncludes: false

packages/gamepads_windows/windows/gamepad.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#include <iostream>
22
#define WIN32_LEAN_AND_MEAN
3-
#include <dbt.h>
4-
#include <hidclass.h>
53
#include <initguid.h>
64
#include <windows.h>
5+
#include <dbt.h>
6+
#include <hidclass.h>
77
#pragma comment(lib, "winmm.lib")
88
#include <mmsystem.h>
99

0 commit comments

Comments
 (0)