Revert "Add capture using WinRT Windows.Graphics.Capture API." (#2320)

This commit is contained in:
ReenigneArcher
2024-03-29 12:43:44 -04:00
committed by GitHub
parent 3b6a59af05
commit 2af0ce364d
16 changed files with 201 additions and 736 deletions

View File

@@ -1411,7 +1411,7 @@ namespace platf {
ds4_update_state(gamepad_context_t &gamepad, const gamepad_state_t &gamepad_state) {
auto &report = gamepad.report.ds4.Report;
report.wButtons = static_cast<uint16_t>(ds4_buttons(gamepad_state)) | static_cast<uint16_t>(ds4_dpad(gamepad_state));
report.wButtons = ds4_buttons(gamepad_state) | ds4_dpad(gamepad_state);
report.bSpecial = ds4_special_buttons(gamepad_state);
report.bTriggerL = gamepad_state.lt;