Ir key 값을 linux keycode로 매핑
Definition of Linux Keycode
최종적으로는 bluetooth keylayout과 마찬가지로 아래 kl을 이용하여 android keycode로 변환 됨.
ir.ikm
0xd52a0e86 TV2
bcm의 경우, linux_keys 변수에 등록된 key를 사용하여 ikm파일로부터 linux keycode로 매핑시켜줌
"nxif/libnexusir/nexusirmap.cpp"
DEFINE_KEY(TV2),
"include/uapi/linux/input.h"
#define KEY_TV2 0x17a //378
system/usr/keylayout/NexusIrHandler.kl
key 378 TV2
'android' 카테고리의 다른 글
NDK API는 binder를 지원하지 않는다. (0) | 2018.07.03 |
---|---|
hidl simple example (4) | 2018.06.25 |
Android Custom KeyCode 추가 (0) | 2018.06.21 |
[NDK] so 포함한 apk가 so loading 실패 (3) (0) | 2018.06.19 |
[NDK] so 포함한 apk가 so loading 실패 (2) (0) | 2018.06.19 |