티스토리 뷰

Know How

keyboard scan code registry mod

ㅍㅎㅎ공돌이 2013. 1. 19. 05:33
excute -> regedit

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

create reg_binary "Scancode Map"


Start offset
(in bytes)
Size
(in bytes)
Data

0

4

Header: Version Information

4

4

Header: Flags

8

4

Header: Number of Mappings

12

4

Individual Mappings

Last 4 bytes

4

Null Terminator (0x00000000)


first version all zero

second flags all zero

third count of change key ex) 01 00 00 00 (default 01 00 00 00 not mapping mod )

next change key 2 byte and then key value on 2 byte

Last 4 bytes is Null terminattor

ex ) left win -> left alt

scan code Lwin = 00 38

scan node Lalt =  e0 5b


0000 0000 0000 0000 0200 0000 5be0 3800 0000 0000


0000 0000 ( version)

0000 0000 (flag)

0200 0000 (count of map)

5be0 (mapping key)

3800 (target key)

0000 0000 ( null terminator )







ref. http://msdn.microsoft.com/en-us/library/windows/hardware/gg463447.aspx





'Know How' 카테고리의 다른 글

mac addr. 변경시 network device 사라졌을 때  (0) 2013.06.12
에버노트 api 유의 사항  (1) 2013.06.01
android mac spoof  (0) 2012.07.10
헐 한국 또 디도스(DDOS) 당하넹  (0) 2011.03.04
vs2005 코딩 된 코드에러 0xc150002  (0) 2011.01.22
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함