altmp / altv-issues

Issues and roadmap for alt:V project
92 stars 17 forks source link

State of ALT Push-to-Talk key not correctly recognized by the game #2219

Open DyingWords opened 5 months ago

DyingWords commented 5 months ago

Description of the problem

Hey guys,

there is an issue with the Push-to-Talk key "ALT" not being correctly recognized by the client therefore mic still being recorded and players can hear you, although you're tabbed out. Second issue is, after tabbing back into game the ALT key is still being recognized as "pressed down" and players can still hear you. You have to press the ALT key multiple times to get the correct "state" of the key.

Reproduction steps

  1. Go to altV settings and set voice to Push-to-Talk and "ALT" as hotkey
  2. Join any server with altV Voice and make sure you are unmuted and players can hear you when you press the button
  3. Tab out of the game with ALT. Players should still hear you.
  4. Tab back into the game. Players should still hear you.
  5. Press the ALT key multiple times. It should now work as expected until you back out of the game.

Expected behaviour

After tabbing back out of the game players shouldn't hear you anymore. Also the state of the ALT hotkey should be recognized correctly by the game.

Additional context

No response

Operating system

Windows 10

Version

Latest

Crashdump ID

No response

Confirmation of issue's presence

xxshady commented 5 months ago

Confimed on 16.0.0-dev.205, not related to alt key though