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: Строка 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 />
https://github.com/CyanogenMod/android_frameworks_base/commits?author=aleho <br />
https://github.com/CyanogenMod/android_frameworks_base/commits?author=aleho <br />
https://github.com/jermaine151/device_asus_tf201/tree/master/asusdec <br />
https://github.com/jermaine151/device_asus_tf201/tree/master/asusdec <br />
Temporary solution: <br />
https://github.com/zombah/android_device_toshiba_paz00-common/commit/38a4f20f6f90db870a08b8726c1eb554bfdc110c <br />
https://github.com/zombah/android_device_toshiba_ac100/commit/1ca8c0af3452e96a05656b4a0a12ebf9c766257f <br />
https://github.com/Stuw/paz00_keyHandler <br />


== Key codes ==
== Key codes ==

Текущая версия от 15:52, 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
Temporary solution:
https://github.com/zombah/android_device_toshiba_paz00-common/commit/38a4f20f6f90db870a08b8726c1eb554bfdc110c
https://github.com/zombah/android_device_toshiba_ac100/commit/1ca8c0af3452e96a05656b4a0a12ebf9c766257f
https://github.com/Stuw/paz00_keyHandler

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