Motorola XT897 >> CM 10.2

自定義鍵盤按鍵


/system/usr/keylayout/keypad_8960.kl

key   42    CTRL_LEFT     WAKE_DROPPED
key   58    SHIFT_LEFT    WAKE_DROPPED
key   100   ALT_RIGHT
key   232   SHIFT_RIGHT   WAKE_DROPPED

/system/usr/keychars/keypad_8960.kcm

key K {
    label:                              'K'
    base:                               'k'
    shift, capslock:                    'K'
    ctrl, alt, meta:                    '['
}

key L {
    label:                              'L'
    base:                               'l'
    shift, capslock:                    'L'
    ctrl, alt, meta:                    ']'
}

key O {
    label:                              'O'
    base:                               'o'
    shift, capslock:                    'O'
    ctrl, alt, meta:                    '{'
}

key P {
    label:                              'P'
    base:                               'p'
    shift, capslock:                    'P'
    ctrl, alt, meta:                    '}'
}

key 1 {
    label, number:                      '1'
    base:                               '1'
    shift:                              '!'
    ctrl, alt, meta:                    '|'
}

key COMMA {
    label, number:                      ','
    base:                               ','
    shift:                              ';'
    ctrl, alt, meta:                    '<'
}

key PERIOD {
    label, number:                      '.'
    base:                               '.'
    shift:                              ':'
    ctrl, alt, meta:                    '>'
}

key SLASH {
    label, number:                      '/'
    base:                               '/'
    shift:                              '?'
    ctrl, alt, meta:                    '\\'
}

key MINUS {
    label, number:                      '-'
    base:                               '-'
    shift:                              '_'
    ctrl, alt, meta:                    '~'
}

key APOSTROPHE {
    label, number:                      '\''
    base:                               '\''
    shift:                              '"'
    ctrl, alt, meta:                    '`'
}

P.S. ALT key記得刪除,不然每當按下ALT鍵時,會多印出'`'


返回上一頁