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

wasd not working roblox #3062

Closed
2 tasks done
everypizza1 opened this issue Feb 24, 2022 · 3 comments
Closed
2 tasks done

wasd not working roblox #3062

everypizza1 opened this issue Feb 24, 2022 · 3 comments

Comments

@everypizza1
Copy link

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: [e.g. Debian, Windows, macOS...]debian
  • scrcpy version: [e.g. 1.12.1] 1.23
  • installation method: [e.g. manual build, apt, snap, brew, Windows release...]manual
  • device model:Samsung SM-T290
  • Android version: [e.g. 10]11, One UI 3.1

Describe the bug
A clear and concise description of what the bug is.
When I use WASD to move in roblox, nothein happens. Whe I right click and drag to move camera, the menu opens.
On errors, please provide the output of the console (and adb logcat if relevant).

scrcpy 1.23 <https://github.com/Genymobile/scrcpy>
/usr/local/share/scrcpy/scrcpy-server:...shed. 0.6 MB/s (41123 bytes in 0.071s)
[server] INFO: Device: samsung SM-T290 (Android 11)
INFO: Renderer: opengl
INFO: OpenGL version: 2.1 Mesa 20.3.5
WARN: Trilinear filtering disabled (OpenGL 3.0+ or ES 2.0+ required)
INFO: Initial texture: 1280x800
INFO: Recording started to mp4 file: video.mp4
INFO: Recording complete to mp4 file: video.mp4
WARN: Killing the server...

Please do not post screenshots of your terminal, just post the content as text instead.

@rom1v
Copy link
Collaborator

rom1v commented Feb 24, 2022

If the game does not handle WASD it won't work.

The solution would be to implement key mapping (to inject specific mouse events when you press some keys): #712

@rom1v rom1v closed this as completed Feb 24, 2022
@TL1882
Copy link

TL1882 commented Dec 6, 2024

it works with a keyboard plugged in just not with scrcpy @rom1v

@rom1v
Copy link
Collaborator

rom1v commented Dec 6, 2024

Then:

  • scrcpy --raw-key-events
    or:
  • scrcpy --keyboard=uhid

See https://github.com/Genymobile/scrcpy/blob/master/doc/keyboard.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants