# Ignore numpad touch
if (x > 0.95 * maxx) and (y < 0.05 * maxy):
Replaced by :
# Ignore numpad touch
if (x > 0.95 * maxx) or (y < 0.09 * maxy):
Now when I touch the numbad above the numbers, it is not detected and since the toggle button on the corner is on this area, things seems to work better.
Last update :
I made this change in the program :
# Ignore numpad touch
if (x > 0.95 * maxx) and (y < 0.05 * maxy):
Replaced by :
# Ignore numpad touch
if (x > 0.95 * maxx) or (y < 0.09 * maxy):
Now when I touch the numbad above the numbers, it is not detected and since the toggle button on the corner is on this area, things seems to work better.