Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are `KEYCODE_11` and `KEYCODE_12` for?

Tags:

android

Android 5.0 (API level 21) introduces two new keycode symbols to KeyEvent, namely KEYCODE_11 and KEYCODE_12, which ostensibly map to the "11" and "12" keys on the keyboard. I have never seen a keyboard with an 11 or 12 key.

I had thought it might have something to do with watch faces, but then I noticed that there is no KEYCODE_10, making this all the more puzzling.

like image 526
fluffy Avatar asked May 14 '26 06:05

fluffy


1 Answers

If I remember correctly, they are used for the HDMI-CEC standard. Since some Android devices have an HDMI out, they can control TV's etc. with this standard. Also check out this commit for Android made last year.

like image 190
Ryen Nelsen Avatar answered May 16 '26 20:05

Ryen Nelsen