pureikyubu/SRC/Backends/PadSimpleWin32
2020-08-06 23:28:09 +03:00
..
Scripts Memory leaks 2020-08-04 02:02:35 +03:00
PAD.cpp Memory leaks 2020-08-04 02:02:35 +03:00
PAD.h Memory leaks 2020-08-04 02:02:35 +03:00
pch.cpp Source code tree refactored, ready to cross platform 2020-07-21 21:33:50 +03:00
pch.h Second wave TCHAR removed 2020-08-06 23:28:09 +03:00
Readme.md HW compiled 2020-07-22 22:19:55 +03:00

PadSimpleWin32

GameCube controllers emulation backend. This is shitty code in every way, don't look.

Will be gradually superseded by DirectInput implementation.

Technical features

The code relies on polling the state of the keyboard using the Win32 GetAsyncKeyState method.

The binding of VK codes to the buttons of the GameCube controller is in the configuration (Settings.json).

The configuration (dialog box for the user) is handled by the code in the UI folder.

The backend consumer is the SI.cpp module in the HW folder.