Comments (1)
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
- What board are you using?
- What nationality keyboard do you have?
- What is SCROLL LOCK doing Scroll Lock overrides Num Lock on the numeric keypad
- 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.
- 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)
- Analog Input, is it possible? HOT 2
- Support for STM8S mcu (SDUINO) HOT 9
- Toggle typematic on/off entirely? HOT 2
- Acknowledging additional startup PS/2->Host messages HOT 4
- CODE AA error HOT 6
- Hold CAPS HOT 3
- Host-to-Device: Initial Clock low too short HOT 3
- increase buffer ?? HOT 3
- ESP32 garbage values HOT 9
- Arduino Nano Every ( MegaAVR board) Serial HOT 1
- My board does not work with this library
- Send own bytes to keyboard HOT 3
- Pause key gives wrong code. setLock(.) doesn't work in setup() HOT 19
- 2 keyboards in 1 board HOT 3
- After pressing the NUMLOCK key, there is no response when any key is pressed. HOT 17
- weird mapping in some cases and no shift
- Missing release `V1.0.10`? HOT 2
- Keyboard almost working
- Parity in argument bytes sent from host
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ps2keyadvanced.