나는 그것이 0x70 생각합니다. 그렇게하지
KeyPress event, serial 38, synthetic NO, window 0x3000001,
root 0x2a6, subw 0x0, time 80216212, (191,-19), root:(192,27),
state 0x10, keycode 33 (keysym 0x70, p), same_screen YES,
XLookupString gives 1 bytes: (70) "p"
XmbLookupString gives 1 bytes: (70) "p"
XFilterEvent returns: False
:
KeyRelease event, serial 38, synthetic NO, window 0x3000001,
root 0x2a6, subw 0x0, time 80385581, (1027,483), root:(1028,529),
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
당신이 keysym
값을 볼 수있는 소스 코드
및 P에 대한처럼 0xffe1
입니다 :
나는 xev
를 눌러 왼쪽 시프트 시작 무엇이 keysym
인지 알지만 코드가 사용하는 것으로 보입니다.
keysym
편집 : 키보드의 키의 상징적 인 이름입니다.