Nike Keyboards

来自WordPress中文文档
跳转至: 导航搜索

Niki Keyboards

HTC Nike has various types of keypads, but they sare the same gpios for them: Columns 37, 38, 39, 40, 41, 42 Rows 31, 32, 33, 34, 35, 36

About the keypad matrix, notice that first item is always empty for every Nike type, so all the positions ending in ,0 (0,0; 1,0; 2,0; 3,0; 4,0; 5,0) should be empty (it doesn't matter if they have any content, but it's useless)

All the mappings are shown below:

Mapping for 20 Key Nike Keypad, English language.

    • 0

{{FALSE,FALSE,FALSE},FALSE},

{{KEY_SPACE,KEY_0,FALSE,FALSE,FALSE},FALSE},

{{KEY_G,KEY_H,KEY_5,FALSE,FALSE},FALSE},

{{KEY_CAPSLOCK,KEY_SHARP,FALSE,FALSE,FALSE},FALSE},

{{KEY_BACKSPACE,KEY_DELETE,FALSE,FALSE,FALSE},FALSE},

{{KEY_ANDROID_MENU,KEY_SLASH,KEY_TAB,FALSE,FALSE},FALSE}, //CAMERA

    • 1

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_J,KEY_K,KEY_6,FALSE,FALSE},FALSE},

{{KEY_D,KEY_F,KEY_4,FALSE,FALSE},FALSE},

{{KEY_SLASH,KEY_STAR,FALSE,FALSE,FALSE},FALSE},

{{KEY_A,KEY_S,KEY_BACKSLASH,FALSE,FALSE},FALSE},

{{KEY_VOLUMEDOWN,FALSE,FALSE,FALSE,FALSE},FALSE}, //VOLUME DOWN

    • 2

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_M,KEY_9,FALSE,FALSE,FALSE},FALSE},

{{KEY_U,KEY_I,KEY_3,FALSE,FALSE},FALSE},

{{KEY_L,KEY_COMMA,KEY_SLASH,FALSE,FALSE},FALSE},

{{KEY_Q,KEY_W,KEY_SLASH,FALSE,FALSE},FALSE},

{{KEY_VOLUMEUP,KEY_HOME,FALSE,FALSE,FALSE},FALSE}, // VOLUME UP


    • 3

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_B,KEY_N,KEY_8,FALSE,FALSE},FALSE},

{{KEY_T,KEY_Y,KEY_2,FALSE,FALSE},FALSE},

{{KEY_LEFT,KEY_G,KEY_H,FALSE,FALSE},FALSE}, // D-PAD LEFT

{{KEY_ANDROID_OK,KEY_ANDROID_MENU,KEY_I,FALSE,FALSE},FALSE}, // D-PAD CENTER

{{KEY_Z,KEY_X,KEY_KPEQUAL,FALSE,FALSE},FALSE},


    • 4

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_C,KEY_V,KEY_7,FALSE,FALSE},FALSE},

{{KEY_E,KEY_R,KEY_1,FALSE,FALSE},FALSE},

{{KEY_DOWN,KEY_J,FALSE,FALSE,FALSE},FALSE}, // D-PAD DOWN

{{KEY_RIGHT,FALSE,FALSE,FALSE,FALSE},FALSE}, // D-PAD RIGHT

{{KEY_BACK,KEY_END,FALSE,FALSE,FALSE},FALSE}, // RED END KEY


    • 5

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_FN,FALSE,FALSE,FALSE,FALSE},FALSE}, // ALT

{{KEY_O,KEY_P,KEY_DOT,FALSE,FALSE},FALSE},

{{KEY_UP,KEY_V,FALSE,FALSE,FALSE},FALSE}, // D-PAD UP

{{KEY_ENTER,FALSE,FALSE,FALSE,FALSE},FALSE}, // ENTER

{{KEY_SEND,FALSE,FALSE,FALSE,FALSE},FALSE}, // GREEN SEND KEY


Mapping for 16 Key Nike Keypad English

    • 0

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_0,KEY_KPPLUS,FALSE,FALSE,FALSE},FALSE},

{{KEY_J,KEY_K,KEY_L,KEY_5,FALSE},FALSE},

{{KEY_SPACE,KEY_SHARP,FALSE,FALSE,FALSE},FALSE},

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_ANDROID_MENU,FALSE,FALSE,FALSE,FALSE},FALSE}, //CAMERA KEY


    • 1

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_M,KEY_N,KEY_O,KEY_6,FALSE},FALSE},

{{KEY_G,KEY_H,KEY_I,KEY_4,FALSE},FALSE},

{{KEY_STAR,KEY_SLASH,FALSE,FALSE,FALSE},FALSE},

{{KEY_HOME,FALSE,FALSE,FALSE,FALSE},FALSE}, // WINDOWS KEY

{{KEY_VOLUMEDOWN,FALSE,FALSE,FALSE,FALSE},FALSE}, // VOLUME DOWN


    • 2

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_W,KEY_X,KEY_Y,KEY_Z,KEY_9},FALSE},

{{KEY_D,KEY_E,KEY_F,KEY_3,FALSE},FALSE},

{{KEY_BACKSPACE,FALSE,FALSE,FALSE,FALSE},FALSE}, // DELETE (BACKSPACE)

{{KEY_Z,FALSE,FALSE,FALSE,FALSE},FALSE}, // UNKNOWN KEY

{{KEY_VOLUMEUP,FALSE,FALSE,FALSE,FALSE},FALSE}, //VOLUME UP


    • 3

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_T,KEY_U,KEY_V,KEY_8,FALSE},FALSE},

{{KEY_A,KEY_B,KEY_C,KEY_2,FALSE},FALSE},

{{KEY_LEFT,FALSE,FALSE,FALSE,FALSE},FALSE}, // D-PAD LEFT

{{KEY_ANDROID_OK,FALSE,FALSE,FALSE,FALSE},FALSE}, // D-PAD CENTER KEY

{{KEY_MAIL,FALSE,FALSE,FALSE,FALSE},FALSE}, // MAIL KEY

    • 4

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_P,KEY_Q,KEY_R,KEY_S,KEY_7},FALSE},

{{KEY_1,KEY_VOICEMAIL,FALSE,FALSE,FALSE},FALSE}, // 1 /VOICE MAIL

{{KEY_DOWN,FALSE,FALSE,FALSE,FALSE},FALSE}, // D-PAD DOWN

{{KEY_RIGHT,FALSE,FALSE,FALSE,FALSE},FALSE}, //D-PAD RIGHT

{{KEY_BACK,KEY_END,FALSE,FALSE,FALSE},FALSE}, // RED END KEY


    • 5

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_UP,FALSE,FALSE,FALSE,FALSE},FALSE}, // D-PAD UP

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_SEND,FALSE,FALSE,FALSE,FALSE},FALSE}, // GREEN CALL KEY


Mapping for 20 Key Nike Keypad French

French keypad is the same as english, but with the A,Z,Q and W keys in other positions.
    • 0

{{FALSE,FALSE,FALSE},FALSE},

{{KEY_SPACE,KEY_0,FALSE,FALSE,FALSE},FALSE},

{{KEY_G,KEY_H,KEY_5,FALSE,FALSE},FALSE},

{{KEY_CAPSLOCK,KEY_SHARP,FALSE,FALSE,FALSE},FALSE},

{{KEY_BACKSPACE,KEY_DELETE,FALSE,FALSE,FALSE},FALSE},

{{KEY_ANDROID_MENU,KEY_SLASH,KEY_TAB,FALSE,FALSE},FALSE}, //CAMERA

    • 1

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_J,KEY_K,KEY_6,FALSE,FALSE},FALSE},

{{KEY_D,KEY_F,KEY_4,FALSE,FALSE},FALSE},

{{KEY_SLASH,KEY_STAR,FALSE,FALSE,FALSE},FALSE},

{{KEY_Q,KEY_S,KEY_BACKSLASH,FALSE,FALSE},FALSE},

{{KEY_VOLUMEDOWN,FALSE,FALSE,FALSE,FALSE},FALSE}, //VOLUME DOWN

    • 2

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_M,KEY_9,FALSE,FALSE,FALSE},FALSE},

{{KEY_U,KEY_I,KEY_3,FALSE,FALSE},FALSE},

{{KEY_L,KEY_COMMA,KEY_SLASH,FALSE,FALSE},FALSE},

{{KEY_A,KEY_Z,KEY_SLASH,FALSE,FALSE},FALSE},

{{KEY_VOLUMEUP,KEY_HOME,FALSE,FALSE,FALSE},FALSE}, // VOLUME UP

    • 3

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_B,KEY_N,KEY_8,FALSE,FALSE},FALSE},

{{KEY_T,KEY_Y,KEY_2,FALSE,FALSE},FALSE},

{{KEY_LEFT,KEY_G,KEY_H,FALSE,FALSE},FALSE}, // D-PAD LEFT

{{KEY_ANDROID_OK,KEY_ANDROID_MENU,KEY_I,FALSE,FALSE},FALSE}, // D-PAD CENTER

{{KEY_W,KEY_X,KEY_KPEQUAL,FALSE,FALSE},FALSE},


    • 4

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_C,KEY_V,KEY_7,FALSE,FALSE},FALSE},

{{KEY_E,KEY_R,KEY_1,FALSE,FALSE},FALSE},

{{KEY_DOWN,KEY_J,FALSE,FALSE,FALSE},FALSE}, // D-PAD DOWN

{{KEY_RIGHT,FALSE,FALSE,FALSE,FALSE},FALSE}, // D-PAD RIGHT

{{KEY_BACK,KEY_END,FALSE,FALSE,FALSE},FALSE}, // RED END KEY

    • 5

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_FN,FALSE,FALSE,FALSE,FALSE},FALSE}, // ALT

{{KEY_O,KEY_P,KEY_DOT,FALSE,FALSE},FALSE},

{{KEY_UP,KEY_V,FALSE,FALSE,FALSE},FALSE}, // D-PAD UP

{{KEY_ENTER,FALSE,FALSE,FALSE,FALSE},FALSE}, // ENTER

{{KEY_SEND,FALSE,FALSE,FALSE,FALSE},FALSE}, // GREEN SEND KEY


Mapping for 20 Key Nike Keypad German

    • 0

{{FALSE,FALSE,FALSE},FALSE},

{{KEY_SPACE,KEY_0,FALSE,FALSE,FALSE},FALSE},

{{KEY_G,KEY_H,KEY_5,FALSE,FALSE},FALSE},

{{KEY_CAPSLOCK,KEY_SHARP,FALSE,FALSE,FALSE},FALSE},

{{KEY_BACKSPACE,KEY_DELETE,FALSE,FALSE,FALSE},FALSE},

{{KEY_ANDROID_MENU,KEY_SLASH,KEY_TAB,FALSE,FALSE},FALSE}, //CAMERA


    • 1

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_J,KEY_K,KEY_6,FALSE,FALSE},FALSE},

{{KEY_D,KEY_F,KEY_4,FALSE,FALSE},FALSE},

{{KEY_SLASH,KEY_STAR,FALSE,FALSE,FALSE},FALSE},

{{KEY_A,KEY_S,KEY_BACKSLASH,FALSE,FALSE},FALSE},

{{KEY_VOLUMEDOWN,FALSE,FALSE,FALSE,FALSE},FALSE}, //VOLUME DOWN

    • 2

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_M,KEY_9,FALSE,FALSE,FALSE},FALSE},

{{KEY_U,KEY_I,KEY_3,FALSE,FALSE},FALSE},

{{KEY_L,KEY_COMMA,KEY_SLASH,FALSE,FALSE},FALSE},

{{KEY_Q,KEY_W,KEY_SLASH,FALSE,FALSE},FALSE},

{{KEY_VOLUMEUP,KEY_HOME,FALSE,FALSE,FALSE},FALSE}, // VOLUME UP

    • 3

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_B,KEY_N,KEY_8,FALSE,FALSE},FALSE},

{{KEY_T,KEY_Z,KEY_2,FALSE,FALSE},FALSE},

{{KEY_LEFT,KEY_G,KEY_H,FALSE,FALSE},FALSE}, // D-PAD LEFT

{{KEY_ANDROID_OK,KEY_ANDROID_MENU,KEY_I,FALSE,FALSE},FALSE}, // D-PAD CENTER

{{KEY_Y,KEY_X,KEY_KPEQUAL,FALSE,FALSE},FALSE},

    • 4

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_C,KEY_V,KEY_7,FALSE,FALSE},FALSE},

{{KEY_E,KEY_R,KEY_1,FALSE,FALSE},FALSE},

{{KEY_DOWN,KEY_J,FALSE,FALSE,FALSE},FALSE}, // D-PAD DOWN

{{KEY_RIGHT,FALSE,FALSE,FALSE,FALSE},FALSE}, // D-PAD RIGHT

{{KEY_BACK,KEY_END,FALSE,FALSE,FALSE},FALSE}, // RED END KEY

    • 5

{{FALSE,FALSE,FALSE,FALSE,FALSE},FALSE},

{{KEY_FN,FALSE,FALSE,FALSE,FALSE},FALSE}, // ALT

{{KEY_O,KEY_P,KEY_DOT,FALSE,FALSE},FALSE},

{{KEY_UP,KEY_V,FALSE,FALSE,FALSE},FALSE}, // D-PAD UP

{{KEY_ENTER,FALSE,FALSE,FALSE,FALSE},FALSE}, // ENTER

{{KEY_SEND,FALSE,FALSE,FALSE,FALSE},FALSE}, // GREEN SEND KEY


Back to Niki Android or Back to Xanadux