mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Revert "Add capture using WinRT Windows.Graphics.Capture API." (#2320)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user