Problem with keyboard.h!

I printed this values with Serial.print . And values +/- stable . Then i wrote code with this values. I have this thing:
изображение_2021-10-31_174357

And this thing have fixed positions. All works but not keyboard . I don't know why . Yes ok i rewrite code with using range , but will it fix keyboard ?