Skip to content

Commit

Permalink
Change dpd_valid_fg values
Browse files Browse the repository at this point in the history
  • Loading branch information
capitalistspz committed Mar 17, 2024
1 parent eaa8281 commit 0e700ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/input/emulated/WPADController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ void WPADController::KPADRead(KPADStatus_t& status, const BtnRepeat& repeat)

if (has_position())
{
status.dpd_valid_fg = 1;
status.dpd_valid_fg = 2;

const auto position = get_position();

Expand All @@ -324,6 +324,8 @@ void WPADController::KPADRead(KPADStatus_t& status, const BtnRepeat& repeat)
status.vec.y = delta.y;
status.speed = glm::length(delta);
}
else
status.dpd_valid_fg = 0;

switch (type())
{
Expand Down

0 comments on commit 0e700ee

Please sign in to comment.