Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5f56fb1 authored by Chih-Wei Huang's avatar Chih-Wei Huang Committed by Jean-Baptiste Queru
Browse files

Add keycodes PageUp and PageDown

This is useful for applications like web browser.

Change-Id: Ie9262d5b75de87ecd0971407a7c3ce9aa6e4998e
parent ecf9b681
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -114,6 +114,8 @@ static const KeycodeLabel KEYCODES[] = {
    { "MEDIA_REWIND", 89 },
    { "MEDIA_FAST_FORWARD", 90 },
    { "MUTE", 91 },
    { "PAGE_UP", 92 },
    { "PAGE_DOWN", 93 },

    // NOTE: If you add a new keycode here you must also add it to:
    //   (enum KeyCode, in this file)
@@ -218,7 +220,9 @@ typedef enum KeyCode {
    kKeyCodePreviousSong = 88,
    kKeyCodeRewind = 89,
    kKeyCodeForward = 90,
    kKeyCodeMute = 91
    kKeyCodeMute = 91,
    kKeyCodePageUp = 92,
    kKeyCodePageDown = 93
} KeyCode;

static const KeycodeLabel FLAGS[] = {