File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -843,6 +843,44 @@ enum {
843843 AKEYCODE_EMOJI_PICKER = 317 ,
844844 /** Take Screenshot */
845845 AKEYCODE_SCREENSHOT = 318 ,
846+ /** To start dictate to an input field */
847+ AKEYCODE_DICTATE = 319 ,
848+ /** AC New */
849+ AKEYCODE_NEW = 320 ,
850+ /** AC Close */
851+ AKEYCODE_CLOSE = 321 ,
852+ /** To toggle 'Do Not Disturb' mode */
853+ AKEYCODE_DO_NOT_DISTURB = 322 ,
854+ /** To Print */
855+ AKEYCODE_PRINT = 323 ,
856+ /** To Lock the screen */
857+ AKEYCODE_LOCK = 324 ,
858+ /** To toggle fullscreen mode (on the current application) */
859+ AKEYCODE_FULLSCREEN = 325 ,
860+ /** F13 key */
861+ AKEYCODE_F13 = 326 ,
862+ /** F14 key */
863+ AKEYCODE_F14 = 327 ,
864+ /** F15 key */
865+ AKEYCODE_F15 = 328 ,
866+ /** F16 key */
867+ AKEYCODE_F16 = 329 ,
868+ /** F17 key */
869+ AKEYCODE_F17 = 330 ,
870+ /** F18 key */
871+ AKEYCODE_F18 = 331 ,
872+ /** F19 key */
873+ AKEYCODE_F19 = 332 ,
874+ /** F20 key */
875+ AKEYCODE_F20 = 333 ,
876+ /** F21 key */
877+ AKEYCODE_F21 = 334 ,
878+ /** F22 key */
879+ AKEYCODE_F22 = 335 ,
880+ /** F23 key */
881+ AKEYCODE_F23 = 336 ,
882+ /** F24 key */
883+ AKEYCODE_F24 = 337 ,
846884
847885 // NOTE: If you add a new keycode here you must also add it to several other files.
848886 // Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
Original file line number Diff line number Diff line change @@ -350,7 +350,26 @@ namespace android {
350350 DEFINE_KEYCODE (MACRO_3), \
351351 DEFINE_KEYCODE (MACRO_4), \
352352 DEFINE_KEYCODE (EMOJI_PICKER), \
353- DEFINE_KEYCODE (SCREENSHOT)
353+ DEFINE_KEYCODE (SCREENSHOT), \
354+ DEFINE_KEYCODE (DICTATE), \
355+ DEFINE_KEYCODE (NEW), \
356+ DEFINE_KEYCODE (CLOSE), \
357+ DEFINE_KEYCODE (DO_NOT_DISTURB), \
358+ DEFINE_KEYCODE (PRINT), \
359+ DEFINE_KEYCODE (LOCK), \
360+ DEFINE_KEYCODE (FULLSCREEN), \
361+ DEFINE_KEYCODE (F13), \
362+ DEFINE_KEYCODE (F14), \
363+ DEFINE_KEYCODE (F15), \
364+ DEFINE_KEYCODE (F16), \
365+ DEFINE_KEYCODE (F17), \
366+ DEFINE_KEYCODE (F18), \
367+ DEFINE_KEYCODE (F19),\
368+ DEFINE_KEYCODE (F20), \
369+ DEFINE_KEYCODE (F21), \
370+ DEFINE_KEYCODE (F22), \
371+ DEFINE_KEYCODE (F23), \
372+ DEFINE_KEYCODE (F24)
354373
355374// NOTE: If you add a new axis here you must also add it to several other files.
356375// Refer to frameworks/base/core/java/android/view/MotionEvent.java for the full list.
You can’t perform that action at this time.
0 commit comments