sciboy12 / abs Goto Github PK
View Code? Open in Web Editor NEWUse your touchpad to play osu! on Linux (Legacy Python version)
Use your touchpad to play osu! on Linux (Legacy Python version)
warp_pointer(x,y) uses many times with the same variable values. This causes a very high load on the processor. (50% for pentium n4200)
since i can't program, i couldn't write anything better
https://pastebin.com/RbaxGGRQ
values from the previous result of the cycle are checked and compared with the new values
now the load does not increase above 26%
This is much better, but still very heavy.
my touchpad has very low sensitivity, x/y_min=0 x_max=900 y_max=500
horizontal motion does not update X if Y does not change
it creates jerks in smooth motion
x y
example https://www.youtube.com/watch?v=0jy88U66qjA
fixed https://www.youtube.com/watch?v=HuElUsLU9WM
Lines 89 to 109 in 26ad6bc
pls fix it is very important and annoying
sorry my english
thx
Test version is ready, I think. can you see?
Finally(I'm not sure), no need to correct the values in the config! \O/
https://pastebin.com/tePGMaDg
abs.py
it took longer than i expected
I could not deal with the groups so far.
I do not notice any lag in my "low cpu" version, and with enabled buttons too. what's wrong with my touchpad? I can't test the regular version due to high load
Sorry my english.
it will be useful for clickpads (touchpads with a 1 button under the surface)
need "sudo apt install xbindkeys"
you can click by pressing the WIN button on the keyboard
https://pastebin.com/Eg0ZTftW (lines 12,20,75,92)
misc.zip (unpack files to script dir like /script_dir/misc/)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.