Android KeyHandler: различия между версиями

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску
(Новая страница: «== Sources and patches == http://review.cyanogenmod.org/#/c/78075/ <br /> https://github.com/CyanogenMod/android_frameworks_base/commits?author=aleho <br /> https…»)
 
Нет описания правки
Строка 1: Строка 1:
== Linux keys and Android keycodes ==
'''Android''': [https://developer.android.com/reference/android/view/KeyEvent.html KeyEvent]<br />
'''Linux''':  TODO - add link to the header file. <br />
'''Mapping''': [https://github.com/zombah/android_device_toshiba_paz00-common/blob/98b71fbb08c4e7cd515d3d35bd5af475ff8de2db/keymaps/nvec_keyboard.kl keymaps/nvec_keyboard.kl] <br />
== Sources and patches ==
== Sources and patches ==
http://review.cyanogenmod.org/#/c/78075/ <br />
http://review.cyanogenmod.org/#/c/78075/ <br />

Версия от 13:54, 24 апреля 2016

Linux keys and Android keycodes

Android: KeyEvent
Linux: TODO - add link to the header file.
Mapping: keymaps/nvec_keyboard.kl

Sources and patches

http://review.cyanogenmod.org/#/c/78075/
https://github.com/CyanogenMod/android_frameworks_base/commits?author=aleho
https://github.com/jermaine151/device_asus_tf201/tree/master/asusdec

Key codes

Ошибка создания миниатюры: Не удаётся сохранить эскиз по месту назначения

Paz00 KeyHandler

Logs from paz00_keyHandler:

Menu - 6f/111

D/paz00_KeyHandler(  329): KeyEvent: action=0, flags=8, canceled=false, keyCode=112, deviceId=3, scanCode=111, metaState=0, repeatCount=0
D/paz00_KeyHandler(  329): KeyEvent: action=1, flags=8, canceled=false, keyCode=112, deviceId=3, scanCode=111, metaState=0, repeatCount=0

Screenshot - 63/99

D/paz00_KeyHandler(  329): KeyEvent: action=0, flags=8, canceled=false, keyCode=27, deviceId=3, scanCode=99, metaState=0, repeatCount=0
D/paz00_KeyHandler(  329): KeyEvent: action=1, flags=8, canceled=false, keyCode=27, deviceId=3, scanCode=99, metaState=0, repeatCount=0

WiFi - 42/66

D/paz00_KeyHandler(  329): KeyEvent: action=0, flags=8, canceled=false, keyCode=220, deviceId=3, scanCode=66, metaState=0, repeatCount=0
D/paz00_KeyHandler(  329): KeyEvent: action=1, flags=8, canceled=false, keyCode=220, deviceId=3, scanCode=66, metaState=0, repeatCount=0

Brighness up - 41/65

D/paz00_KeyHandler(  329): KeyEvent: action=0, flags=8, canceled=false, keyCode=224, deviceId=3, scanCode=65, metaState=0, repeatCount=0
D/paz00_KeyHandler(  329): KeyEvent: action=1, flags=8, canceled=false, keyCode=224, deviceId=3, scanCode=65, metaState=0, repeatCount=0

Brighness down - 40/64

D/paz00_KeyHandler(  329): KeyEvent: action=0, flags=8, canceled=false, keyCode=223, deviceId=3, scanCode=64, metaState=0, repeatCount=0
D/paz00_KeyHandler(  329): KeyEvent: action=1, flags=8, canceled=false, keyCode=223, deviceId=3, scanCode=64, metaState=0, repeatCount=0

Display - 3f/63

D/paz00_KeyHandler(  329): KeyEvent: action=0, flags=8, canceled=false, keyCode=170, deviceId=3, scanCode=63, metaState=0, repeatCount=0
D/paz00_KeyHandler(  329): KeyEvent: action=1, flags=8, canceled=false, keyCode=170, deviceId=3, scanCode=63, metaState=0, repeatCount=0