Giter VIP home page Giter VIP logo

Comments (1)

techpaul avatar techpaul commented on August 30, 2024

I think you have a misunderstanding of what codes are reurned and how the library works.

Many many questions, as these work correctly for years on keyboards I and other uders have used, this sort of problem would have been reported years ago.

Questions

  1. What board are you using?
  2. What nationality keyboard do you have?
  3. What is SCROLL LOCK doing Scroll Lock overrides Num Lock on the numeric keypad
  4. What do you MEAN by cannot get to work the code that SHOULD be returned is NOT the same as the main keyboard area DOT ket (PS2_KEY_DOT) that is to distinguish the keys. Just like keys 0-9 and Numeric Keypad 0-9 return DIFFERENT codes.
  5. You do realise the Keycode for a key returned from the keyboard has many codes
    • Scan code sequence for make and brealk and dependant on other modes
    • PS2KeyAdvanced Keycode that defines the actual key
    • ASCII/UTF-8 code for common string/char representation for normal strings that more than one key could produce

If you want translation to ASCII or UTF-8 you NEED PS2KeyMap library AS WELL!!!
This is standard Arduino IDE download from Library Manager.

To convert all keys on ANY language keyboard to ASCII/UTF-8 requires translation and mapping using PS2KeyMap

from ps2keyadvanced.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.