aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsdinstall/scripts/netconfig
diff options
context:
space:
mode:
authorMajed Alkhaleefah <majedalkhaleefah@gmail.com>2026-03-24 06:37:09 +0000
committerAymeric Wibo <obiwac@FreeBSD.org>2026-03-24 06:37:19 +0000
commitc586944fa20899ab0f6b58b550e753d13d889c5b (patch)
tree81393ed673ed649d9523853f26f41cd293437e8a /usr.sbin/bsdinstall/scripts/netconfig
parentc6bcf6e6fd507d952a48226b51cc161b8ef972a2 (diff)
hid/hgame: Fix desync in hgame_dpad_cb()HEADmain
hgame_dpad_cb() previously exited early whenever conflicting directions were input (e.g., UP + DOWN) without saving said input to the hgame_softc state. This led to a desync between the driver and the gamepad. This patch instead handles conflicting inputs by cancelling them out with each other. Remove early return. Calculate axis value by subtraction. Reviewed by: obiwac Approved by: obiwac Differential Revision: https://reviews.freebsd.org/D55849
Diffstat (limited to 'usr.sbin/bsdinstall/scripts/netconfig')
0 files changed, 0 insertions, 0 deletions