google / project-gameface

Apache License 2.0
576 stars 83 forks source link

Use as a desktop mouse for Windows 10 #37

Open Sitzstreiker opened 1 year ago

Sitzstreiker commented 1 year ago

Hello, is it possible to configure the project as a desktop mouse for Windows 10/11?

Due to my disability, I would have a lot more options to use the computer independently on the go, but unfortunately it doesn't work for me at the moment for the normal Windows interface.

Greetings Mario

willwade commented 1 year ago

Hi Mario It should work as a mouse. I wonder if you are having the same bug as noted here: https://github.com/google/project-gameface/issues/5

that sound familiar?

Sitzstreiker commented 1 year ago

hello I had already tried everything from the article but somehow I didn't get to the goal. It doesn't work for me on my notebook or on my normal desktop PC. I have the feeling that I'm too stupid to do this, but of course I have a few problems with the language barrier because I can only use the online translator. :-(

euu2021 commented 1 year ago

I'm in the same boat. The mouse control doesn't work on my laptop. The bindings and facial recognition work beautifully, though.

eariassoto commented 1 year ago

Hi everyone. I was able to reproduce this issue on my personal machine (Lenovo Ideapad E14 2gen w/ Win11): When I run GameFace from the release package, the mouse control does not work. However, if I close the app and open it again, mouse control works as expected.

I tried to reproduce it at work (Lenovo X1 Carbon w/ Win11) but could not, until I update to the latest Window update.

This workaround works, but if the device is rebooted or turned off and on, you will have to close and open the app again. I will try to debug the root cause, and keep this thread posted.

willwade commented 1 year ago

@eariassoto @euu2021 see https://github.com/google/project-gameface/issues/5#issuecomment-1571609550 - see if that pyautogui code causes the same problem

euu2021 commented 1 year ago

I updated Windows to the latest version, and restarted the laptop. Then I opened the app, and still nothing happened. Then I closed the app and opened it again, as described by earissoto, and it started working, for the first time.

see if that pyautogui code causes the same problem

I tried it before updating and restarting, and I could see the mouse cursor moving.

Thanks!