Keyboard.println("-1");

if I use this command on my MICRO "Keyboard.println (" - 1 ");" I get output on notepad '1 instead of -1.
Does it happen to you too?

if(button4.clicked()){
    
      Keyboard.press(KEY_RIGHT_CTRL); // 0 x
      Keyboard.press(120);
      Keyboard.releaseAll();
      delay(300);
       switch (JOGMode){
      case 3:
      Keyboard.println("0");
      break;
      case 4:
      Keyboard.println("0");
      break;
      case 5:
   
  
      Keyboard.println("-1");
      break;
      case 6:
    
      Keyboard.println("-1");
      break;
      }
  
}

Help :confused:

Please read this

The Arduino Keyboard library is written to work with standard US keyboard layout. If your computer is set to use a different keyboard layout then you will experience just this sort of problem.