moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.49k stars 324 forks source link

Also grab mouse input devices (fixes #756) #759

Closed hhromic closed 4 years ago

hhromic commented 4 years ago

Description

My previous PR #737 inadvertedly introduced the issue described in #756. I didn't notice this before because I don't use a desktop environment on my embedded device. This PR fixes the issue by also grabbing mouse devices in addition to keyboards.

Purpose

Grab mouse devices as well to avoid sending input events to the client desktop while streaming.

@Philosophise, @aandaluz can you please test if this solves your issue without reverting my previous PR? Thanks for reporting and appreciate the debugging @aandaluz.