Desuuuu / klipper

Klipper is a 3d-printer firmware. Modified to work with DWIN T5UID1 touchscreens.
GNU General Public License v3.0
124 stars 51 forks source link

[dgus-display] Numerical input works incorrectly #133

Closed thghca closed 1 year ago

thghca commented 1 year ago

I tried move z to 0.15. I can type 0.1 but when i press 5 it become 01.5

Thinkersbluff commented 1 year ago

I suspect the divide by 10 performed in vars-in.cfg for each of [t5uid1_var move_x], [t5uid1_var move_y] and [t5uid1_var __move_z] is causing this error. I changed 10 to 1 and it solved my problem.

Desuuuu commented 1 year ago

The numpad behaviour is handled by the touchscreen's firmware itself. Going past the configured number of decimals shifts everything to the left and this is not configurable AFAIK.