Thank you for your feedback!

Bluetooth keypad gives wrong output

  Description of the problem

The bluetooth keypad is giving the wrong output to the interface unit
For example, pressing on the "G" gives "/" or "F" gives "*"

  Possible origins

  • By plugging another USB keyboard, the key mapping was reset to standard.
    • A user tried to switch from QWERTY to AZERTY keyboard. 
      • It may also come from pressing keys while the Raspberry Pi is turning ON.

          Solution (step by step)

        Material Needed:

        • Your Mekanika CNC Powered On
          • The Interface Unit (Mekanika's Keypad and touchscreen)
            • A Regular USB Keyboard plugged into the control Unit of the CNC

              Goal:

              You will need to check the Raspberry Pi's Localization Option, and go into the Terminal console to instruct it to use the specific keyboard mapping made for Mekanika's keypad

              Steps to Follow:

              1. Minimize the Planet CNC window on the interface unit.
              (yellow line on top right)

               

              2. Go to the localisation/keyboard settings following this path :
              Press the Raspberry in the bottom left corner,
              Then Preferences > Raspberry Pi Configuration (or "Control Center" on newer versions).

               

              3. Go to the tab Localisation, and click on Set Locale... 
              Check that the parameters are set like below (or make adjustments if needed)
              - Language: en (English)
              - Country: US or GB
              - Character Set: ISO-8859-1

              Then click OK.  

               

              4. Click on Set Keyboard...
              Check that the parameters are set like below make adjustments if needed)
              - Model: Generic 105-key PC (intl.)     -> Very important !
              - Layout: English (US)
              - Variant: English (US)

              - UNCHECK "Add alternate keyboard" if the option exists (it depends on the version of the machine)
               
              Then click OK.

               

              5. Open the Terminal console by pressing the Raspberry in the bottom left corner, then Accessories > Terminal (or use the shortcut in the taskbar).

               

              6. Write the following line of command in the terminal, using the USB keyboard you plugged in (don't forget the spaces).

              sudo nano /etc/default/keyboard


              Then validate with Enter.

               

              7. A new window opens up with the content of the "keyboard" parameters.
              Use the keyboard's arrows to move the cursor after XKBVARIANT=
              And write mekanika after the equal sign (use lower case).

              If there are no quotes around the other settings, as per the picture below) don't add quotes (version 3.0)

              If there are quotes around the other settings, add quotes around "mekanika" (version 4.0 and higher)

               

              8. Exit by pressing Ctrl + X on the USB keyboard.
              The terminal will ask you if you want to save the modifications.
              Press Y on the USB Keyboard (NOT on the Mekanika Keypad), to say yes.
              Then press ENTER to overwrite the current file and close the window.

               

              9. Close the Terminal Console.
              Restart the Computer (Raspberry > Logout > Reboot)

              10. Check if the problem is solved by using the Mekanika Bluetooth Keypad!

              If you still have an issue, check that you didn't miss a step (it is easy to miss saving a modification by mistake).

              If you still have a problem with the keypad, you can contact our Support Team and tell us you have followed this guide thoroughly; we will help you to fix it quickly!

              Was this article helpful?