Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Enter key event faierd after a sequence of previous events #186

Open
PanWieczorek opened this issue Nov 27, 2022 · 0 comments
Open
Labels
input Issue about keyboard/mouse/gamepad

Comments

@PanWieczorek
Copy link

Describe the bug

Hmm... this is going to be hard, because this problem is strange, I'll try my best
I have a windows 10 VM (intel i3-9300T + GTX 1660 Super, latest drivers and updates) on which i try to play The Witcher III (But really the game is not relevant as this happen in every other title too) when I make a sequence of events on my KB+Mouse, moonlight (or something else I don't know whose fault is that) interprets this as sending the true sequence PLUS an extra 'enter' event. So for example I play TW3, start a combat, and press Left Shift and then (in short period of time, something around 200ms) press the Left Mouse Button, moonlight interprets it as "attack" (Left Shift + LMB) AND an 'enter' event and display me a in game menu, which is basically a game stopper.
The behavior can be seen in other combinations (ANY LETTER I tested + Left Mouse Button causes an additional 'enter' key event)
When the period between "Press Key" and "Press Left Mouse Button" is big enough, game interprets this normally as expected

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Remote desktop'
  2. Click on 'A game'
  3. Scroll down to 'play button :)'
  4. See error, try 'Press a button on keyboard (Lets say left shift) and shortly after press left mouse button and expect the enter key to be clicked additionally'

Expected behavior

No additional 'enter' key event

Basic information

  • Moonlight version: latest (1.5.3)
  • Model: TV LG OLED 65C7V 4K
  • webOS version: 3.9.0-62710 (dreadlocks2-dudhwa)

Additional context

I tested with different keyboards and mouses and the behavior is the same, also changing moonlight configuration to different options didn't solve the issue

RPi version of moonlight works fine (from https://github.com/moonlight-stream/moonlight-docs/wiki/Installing-Moonlight-Qt-on-Raspberry-Pi-4)

I have no idea how to actually test this, any ideas are welcome

@PanWieczorek PanWieczorek changed the title [BUG] [BUG] Enter key event faierd after a sequence of previous events Nov 27, 2022
@mariotaku mariotaku added the input Issue about keyboard/mouse/gamepad label May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
input Issue about keyboard/mouse/gamepad
Projects
None yet
Development

No branches or pull requests

2 participants