bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] CUnixInputContext::IsMouseButtonX group of methods don't recognize right clicks #82

Closed bnoazx005 closed 2 years ago

bnoazx005 commented 2 years ago

Bug report

CUnixInputContext::IsMouseButton and relative methods don't recognize when a user makes right clicks. Left clicks are processed well.

Environment

Ubuntu 14.04 x64 / g++ / TDEngine2-v0.5.x / NVidia GTX 860M

Steps to reproduce the issue

  1. Run SandboxGame application
  2. Open the developer menu via ~ key
  3. Open scene editor and try to right click on some object

What's the expected result?

Right clicks should be correctly processed based on context of user's input

What's the actual result?

Only left clicks are recognized by CUnixInputContext