if (up_h()) current_pal = clamp(current_pal + 0.01, 0, 5); if (down_h()) current_pal = clamp(current_pal - 0.01, 0, 5);