The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 429     Votes:  0     ✅ Solution
Tags: keyboard   18.04   xinput  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1037199
Title: Why is my keyboard "raw" as opposed to "translated"?
ID: /2018/05/17/Why-is-my-keyboard-_raw_-as-opposed-to-_translated__
Created: May 17, 2018    Edited:  June 12, 2020
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


AT = IBM PC/AT (Advanced Technology)

This is what an IBM PC/AT looks like:

IBM PC.jpg

Image credit: Wikipedia

There are three types of IBM Keyboard scan code sets in the PC world:


From wikipedia:

For computers since the IBM PC AT, the keyboard controller on the motherboard translates AT (set 2) scancodes into XT (set 1) scancodes in so called translation mode.[3] This translation can be disabled in pass-through-mode, allowing the raw scancodes to be seen.[4] Therefore, whether a software developer will encounter AT scancodes or XT scancodes on a modern PC-compatible depends on how the keyboard is being accessed.

A compliant PS/2 keyboard can be told to send scancodes in set 1, 2 or 3.

Your question focuses on the IBM PC/AT as pictured above which BTW is a very nice mechanical keyboard that cost $300 in 1995 when I bought one for a Gateway Tower PC.


⇧ Development Tools Failure to mount partition  ⇩