proton:admanager_directx
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | proton:admanager_directx [2012/07/07 03:06] (current) – created seth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | === Adding DirectX controller support === | ||
| + | Assuming you already setup the [[GamepadManager|proton: | ||
| + | < | ||
| + | |||
| + | //near the top of App.cpp | ||
| + | #ifdef PLATFORM_WINDOWS | ||
| + | #include " | ||
| + | #endif | ||
| + | |||
| + | //Add this to actually init the gamepad(s): | ||
| + | |||
| + | #ifdef PLATFORM_WINDOWS | ||
| + | GetGamepadManager()-> | ||
| + | #endif | ||
| + | |||
| + | </ | ||
| + | |||
| + | Oh, you'll need to link against DirectX of course, specifically dinput8.lib and dxguid.lib. | ||
proton/admanager_directx.txt · Last modified: by seth
