Skip to content

Commit

Permalink
Fix polarity of the RY axis for generic wireless devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
hworld authored and darthcloud committed Dec 31, 2023
1 parent b7b72e0 commit f83f986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/adapter/wireless/hid_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ static void hid_pad_init(struct hid_report_meta *meta, struct hid_report *report
meta->hid_axes_meta[AXIS_RY].abs_max = report->usages[i].logical_max;
meta->hid_axes_meta[AXIS_RY].abs_min = report->usages[i].logical_min;
}
meta->hid_axes_meta[AXIS_LY].polarity = 1;
meta->hid_axes_meta[AXIS_RY].polarity = 1;
}
break;
case 0x35 /* USAGE_GEN_DESKTOP_RZ */:
Expand Down

0 comments on commit f83f986

Please sign in to comment.