This is my first ever pull request so I might have made mistakes.
Tested up to 5760x1080 resolution.
Added some functions like get_position_right to calculate the position of certain pixels on larger screens.
Brute forced it out that genshin uses the right and the left window borders to calculate button positions and it follows a pretty similar pattern so it can be calculated by ratio + a few extra pixels.
This is my first ever pull request so I might have made mistakes.
Tested up to 5760x1080 resolution. Added some functions like
get_position_right
to calculate the position of certain pixels on larger screens. Brute forced it out that genshin uses the right and the left window borders to calculate button positions and it follows a pretty similar pattern so it can be calculated by ratio + a few extra pixels.Some examples: screen 5760x1080
screen 3840x1080
screen 2560x1080 (in theory)
screen 1920x1080