Jan Beich
883fab2fff
input_common: make libusb private to gc_adapter
6 years ago
Lioncash
9ce6ea648f
gc_adapter: Silence sign conversion warnings
6 years ago
Jan Beich
1db10b8f4c
input_common/gcadapter: add missing C++11 header required by libc++
In file included from src/input_common/gcadapter/gc_adapter.cpp:8:
src/./input_common/gcadapter/gc_adapter.h:77:10: error: no template named 'unordered_map' in namespace 'std'
std::unordered_map<int, bool> buttons;
~~~~~^
src/./input_common/gcadapter/gc_adapter.h:78:10: error: no template named 'unordered_map' in namespace 'std'
std::unordered_map<int, u16> axes;
~~~~~^
6 years ago
Ameer
d00972fce1
Fix for always firing triggers on some controllers, trigger threshold more universal
6 years ago
Ameer
e69d715e3d
Address lioncash feedback: Log formatting, extern const PadButtonArray, little touch ups
6 years ago
Ameer
34a590e509
Reset adapter state on init, fixes errors relating driver hang from unexpected unplug
6 years ago
Ameer
c18dc9c707
padbutton enum class and struct initiailization
6 years ago
Ameer
743e1f02a0
cleanup check access, read, and factory GetNextInput funcs. Use size rather than magic number
6 years ago
Ameer
d4e07fd95e
Fix deallocation of GC Adapter
6 years ago
Ameer
fcc23139f6
std::array and const reference passing of non-trivial objects
6 years ago
Ameer
46b4461fbb
shared_ptr for the GC adapter class, constexpr constants
6 years ago
Ameer
968d631aa5
std::arrays where appropriate, clear q in adapter class, other touch ups
6 years ago
Ameer
5f0fa4cb82
fix include thread
6 years ago
Ameer
121af3646d
Singleton GC Adapter class, remove globals, fix naming convention
Fix clang formatting
Manual fix for configure_input_player formatting
Add missing lib usb cmake command
6 years ago
Ameer
c94583d867
Clang Formatting
6 years ago
Ameer
0248614add
GC Adapter Implementation
6 years ago