surya-veer / movement-tracking

UP - DOWN - LEFT - RIGHT movement tracking.
367 stars 101 forks source link

Need to run as root #1

Closed cbhushan051 closed 4 years ago

cbhushan051 commented 4 years ago

I can't run the program without root or with root. and it need to be rooted to aggregate the keyboard(kbd).

surya-veer commented 4 years ago

using linux or windows?

GuancongLuo commented 4 years ago

@cbhushan051 I have the same problems using Ubunto20.04. How to solve it?

surya-veer commented 4 years ago

quick solution, Import pyautogui and replace keyboard.press_and_release to pyautogui.hostkey

hope it will work.

GuancongLuo commented 4 years ago

Yes, It is work!

cbhushan051 commented 4 years ago

using linux or windows?

Sorry for late reply...But above solution works well..thanks.