Number Pad's Numbers Flipped on Touchscreen

I tried it out and it gave me this error

exit status 1
'pixel_x' was not declared in this scope