NickeManarin / ScreenToGif

🎬 ScreenToGif allows you to record a selected area of your screen, edit and save it as a gif or video.
http://www.screentogif.com
Microsoft Public License
23.04k stars 2.15k forks source link

[Bug] Mouse button 5 appears to be displayed as mouse button 3 in recordings #1296

Open muzikbike opened 3 months ago

muzikbike commented 3 months ago

Describe the bug When checking the fix for #1292, I noticed that mouse button 4 is correctly reported as expected, but mouse button 5 uses the middle mouse button colour instead of the mouse 5 colour.

To Reproduce Steps to reproduce the behavior:

  1. Have a mouse with five or more buttons (in this case, a Logitech G402)
  2. Click using the fifth button
  3. Look at the recorded frames
  4. See error

Expected behavior It'd use the fifth button colour - orange by default.

Screenshots In order: left, right, middle, fourth, fifth fifthismiddle image

Desktop (please complete the following information):

Additional context Other programs recognise buttons 4 and 5 fine, so I can confirm the mouse in question is not misconfigured. 2024-03-25_10 39 31