Questions tagged [scancodes]
73 questions
1
vote
2 answers
Keyboard input returns weird symbols || Own Kernel
We do a project at school which lasts for 1 year. I and a colleague had the idea that we should try to write a simple operating system. We're not that experienced in Asm and C, so we figured we'd learn best by setting ourselves a task and trying to…

Pixel Coin
- 51
- 6
1
vote
1 answer
How to generate a keyboard interrupt in assembly 8086
I'm trying to code a program that recognizes the keyboard and print a letter (not the one I pressed) in the screen when a key is pressed. I managed to make a program that recognizes the keyboard and print the letter, however, it prints the letter…

Eduardo Meneghim
- 13
- 2
1
vote
0 answers
How to legitimately obtain raw keyboard scancode without requiring additional priveleges (OSX)
In recent releases of OSX, an application is no longer able to access a HID device without being granted additional Input Monitoring privileges.
Until now, I had a bunch of code that deals directly with raw scancodes from the HID device. Partly…

Tim Kane
- 2,599
- 3
- 20
- 19
1
vote
0 answers
Resolving Keyboard Scan Codes to the actual Character Inputted
I'm trying to make one of those programs that overlay the users input on screen and I ran into a problem I couldn't find a way to fix.
It's important to me, that the program can handle other keyboard layouts as well. Trying to figure out how to do…

0xEE
- 11
- 2
1
vote
1 answer
Convert Scancodes to ASCII
So I got IRQ1 working correctly but it turns out that it prints the scan code read from port 0x60. I know I have to convert these to the actual characters but I can't seem to get my head around it. I am trying to do this in nasm. I know I can use…

Klaus Maria
- 107
- 1
- 9
1
vote
1 answer
Convert string to scancodes for pyvbox
I'm trying to use pyvbox to enter some text into a virtual machine, but it takes keyboard input as a list of keyboard scancodes. I'd like to convert a regular Python string into a list of scancodes.
I'm aware that I could probably brute force it by…

Omegastick
- 1,773
- 1
- 20
- 35
1
vote
1 answer
VC++ : Enumerate the list of virtual key codes along with scan codes for all the possible key combinations
I would like to enumerate the list of all possible key combinations supported by the current keyboard layout (with virtual key codes, scan codes and their Unicode values). To map the remote user inputs to keys in order to simulate them.
I was…

iamrameshkumar
- 1,328
- 1
- 14
- 34
1
vote
3 answers
How to determine the laptops FN keyboard button HEX code?
I have a python script which presses FN + RightArrow and so on to control the special brightness/volume functions.
I do not know the HEX code for the FN button. I tried 255 but it does not seem to be ok.
I've tried to determine it with KeyView.exe.…

bvg
- 146
- 13
1
vote
1 answer
Scancode map required
I would like to disable the following-
Application.SendKeys "{1068}"
For this I'll have to disable it by adding a registry entry. I have added registry entry to disable printscreen but that does not disable this piece of code.
Any help about…

iMan
- 456
- 1
- 7
- 18
1
vote
1 answer
How to get scancodes of pressed and released keys in Haskell?
I am writing a simple text editor, so I want to have something like this
type Scancode = Int
data KeyState = Pressed | Released
newtype InStream = InStream [(Scancode, State)]
main = do
input <- getKeys
parse input
parse :: InStream -> IO…

Vanzef
- 453
- 1
- 5
- 17
1
vote
2 answers
Scancode when I press a key is different. Is Microsoft specification wrong?
I am using Windows XP pro SP3. Standard english keyboard. I live in the USA; never touched the keyboard settings. Stock install. So, when I press check the scancodes my program is returning they are as follows:
A = 30
S = 31
D = 32
F = 33
G = 34 …

Memb
- 309
- 1
- 3
- 14
1
vote
0 answers
iPhone keyboard scan codes for screen brightness
I am trying to adjust the screen brightness of an iPhone from my Arduino, which is acting like a keyboard. Unfortunately, I have been unsuccessful because I don't know the exact scan codes to send.
I checked out ApplePS2Keyboard.cpp and found that…

Derek Sun
- 83
- 1
- 4
1
vote
1 answer
How does a program actually receives character input? From scan code to the final raw input bits
So, my question is simple: How does a program receive the raw input bits after user "inputs" (from physical keyboard or any other way) a character key?
I mean I know how character encoding works after it's been received by the program as raw bits…

ntpl
- 155
- 6
0
votes
0 answers
What is stored in the keyboardbuffer and in which format?
I am new to keyboards so please excuse my question. I know that
a keypress on the keyboard produces a scancode
a scancode is used to obtain a virtual key (dependant on the kbdxx.dll)
the virtual key + modifier key are used to get the character.
I…

user3443063
- 1,455
- 4
- 23
- 37
0
votes
0 answers
Example for scancode vs virtual scancode vs keycode vs virtual keycode vs virtual key
I have problems figuring out the the difference between scancode, virtual scancode, keycode, virtual keycode, virtual key:
I know that virtual Key (or virtual keycode ??) is a pressed modifier
(Ctrl, alt, shift)
I know that scancode (or virtual…

user3443063
- 1,455
- 4
- 23
- 37