set media keys for testing
parent
0f1d82f1f2
commit
02b931fb8d
|
@ -241,125 +241,125 @@ HEADER
|
|||
end
|
||||
|
||||
keys = [
|
||||
# letter type punc type nav type func type
|
||||
%w{ }, %w{ }, %w{ }, %w{ }, # dummy key
|
||||
#
|
||||
# left hand
|
||||
# number
|
||||
# letter type punc type nav type func type
|
||||
%w{ 0 }, %w{ f11 }, %w{ f11 }, %w{ f11 }, # 1.5
|
||||
%w{ 1 }, %w{ f1 }, %w{ f1 }, %w{ f1 },
|
||||
%w{ 2 }, %w{ f2 }, %w{ f2 }, %w{ f2 },
|
||||
%w{ 3 }, %w{ f3 }, %w{ f3 }, %w{ f3 },
|
||||
%w{ 4 }, %w{ f4 }, %w{ f4 }, %w{ f4 },
|
||||
%w{ 5 }, %w{ f5 }, %w{ f5 }, %w{ f5 },
|
||||
%w{ 6 }, %w{ f6 }, %w{ f6 }, %w{ f6 },
|
||||
# top
|
||||
# letter type punc type nav type func type
|
||||
%w{ x }, %w{ ~ shifted }, %w{ escape }, %w{ }, # 1.5
|
||||
%w{ x }, %w{ ~ shifted }, %w{ escape }, %w{ },
|
||||
%w{ v }, %w{ [ }, %w{ backspace }, %w{ },
|
||||
%w{ l }, %w{ ' }, %w{ enter }, %w{ },
|
||||
%w{ c }, %w{ < shifted }, %w{ delete }, %w{ },
|
||||
%w{ w }, %w{ \\ }, %w{ insert }, %w{ },
|
||||
%w{ tab }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
# home
|
||||
# letter type punc type nav type func type
|
||||
%w{ umlaut }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
%w{ u }, %w{ , }, %w{ left }, %w{ f1 },
|
||||
%w{ i }, %w{ \{ shifted }, %w{ up }, %w{ f1 },
|
||||
%w{ a }, %w{ ? shifted }, %w{ down }, %w{ f1 },
|
||||
%w{ e }, %w{ ! shifted }, %w{ right }, %w{ f1 },
|
||||
%w{ o }, %w{ ( shifted }, %w{ tab }, %w{ f1 },
|
||||
# bottom
|
||||
# letter type punc type nav type func type
|
||||
%w{ shift_l capslock }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
%w{ % shifted }, %w{ ` }, %w{ home }, %w{ },
|
||||
%w{ * shifted }, %w{ ^ shifted }, %w{ page_up }, %w{ },
|
||||
%w{ : shifted }, %w{ | shifted }, %w{ page_down }, %w{ },
|
||||
%w{ p }, %w{ - }, %w{ end }, %w{ },
|
||||
%w{ z }, %w{ @ shifted }, %w{ }, %w{ },
|
||||
%w{ enter }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
# underbottom
|
||||
# letter type punc type nav type func type
|
||||
%w{ left }, %w{ }, %w{ }, %w{ },
|
||||
%w{ up }, %w{ }, %w{ }, %w{ },
|
||||
%w{ down }, %w{ }, %w{ }, %w{ },
|
||||
%w{ right }, %w{ }, %w{ }, %w{ },
|
||||
%w{ win }, %w{ }, %w{ }, %w{ },
|
||||
# thumb-top
|
||||
# letter type punc type nav type func type
|
||||
%w{ scroll_lock }, %w{ }, %w{ }, %w{ },
|
||||
%w{ func layer }, %w{ }, %w{ }, %w{ },
|
||||
# thumb-double
|
||||
# letter type punc type nav type func type
|
||||
%w{ space }, %w{ }, %w{ }, %w{ },
|
||||
%w{ control }, %w{ }, %w{ }, %w{ },
|
||||
%w{ alt }, %w{ }, %w{ }, %w{ },
|
||||
# thumb-home
|
||||
# letter type punc type nav type func type
|
||||
%w{ space }, %w{ }, %w{ }, %w{ },
|
||||
%w{ control }, %w{ }, %w{ }, %w{ },
|
||||
%w{ alt }, %w{ }, %w{ }, %w{ },
|
||||
#
|
||||
# right hand
|
||||
#
|
||||
# number
|
||||
# letter type punc type nav type func type
|
||||
%w{ 5 }, %w{ f5 }, %w{ f5 }, %w{ f5 }, # 1.5
|
||||
%w{ 6 }, %w{ f6 }, %w{ f6 }, %w{ f6 },
|
||||
%w{ 7 }, %w{ f7 }, %w{ f7 }, %w{ f7 },
|
||||
%w{ 8 }, %w{ f8 }, %w{ f8 }, %w{ f8 },
|
||||
%w{ 9 }, %w{ f9 }, %w{ f9 }, %w{ f9 },
|
||||
%w{ 0 }, %w{ f10 }, %w{ f10 }, %w{ f10 },
|
||||
%w{ 0 }, %w{ f12 }, %w{ f12 }, %w{ f12 },
|
||||
# top
|
||||
# letter type punc type nav type func type
|
||||
%w{ }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
%w{ k }, %w{ = }, %w{ 9 }, %w{ f9 },
|
||||
%w{ h }, %w{ > shifted }, %w{ 5 }, %w{ f5 },
|
||||
%w{ g }, %w{ " shifted }, %w{ 6 }, %w{ f6 },
|
||||
%w{ f }, %w{ ] }, %w{ 7 }, %w{ f7 },
|
||||
%w{ q }, %w{ ` }, %w{ 8 }, %w{ f8 },
|
||||
%w{ q }, %w{ ` }, %w{ 8 }, %w{ f8 }, # 1.5
|
||||
# home
|
||||
# letter type punc type nav type func type
|
||||
%w{ s }, %w{ ) shifted }, %w{ 0 }, %w{ f10 },
|
||||
%w{ n }, %w{ _ shifted }, %w{ 1 }, %w{ f1 },
|
||||
%w{ r }, %w{ / }, %w{ 2 }, %w{ f2 },
|
||||
%w{ t }, %w{ \} shifted }, %w{ 3 }, %w{ f3 },
|
||||
%w{ d }, %w{ . }, %w{ 4 }, %w{ f4 },
|
||||
%w{ umlaut }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
# bottom
|
||||
# letter type punc type nav type func type
|
||||
%w{ enter }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
%w{ b }, %w{ + shifted }, %w{ 9 }, %w{ f9 },
|
||||
%w{ m }, %w{ $ shifted }, %w{ 5 }, %w{ f5 },
|
||||
%w{ j }, %w{ & shifted }, %w{ 6 }, %w{ f6 },
|
||||
%w{ y }, %w{ # shifted }, %w{ 7 }, %w{ f7 },
|
||||
%w{ ; }, %w{ ^ shifted }, %w{ 8 }, %w{ f8 },
|
||||
%w{ shift_r capslock }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
# underbottom
|
||||
# letter type punc type nav type func type
|
||||
%w{ nav layer }, %w{ }, %w{ }, %w{ },
|
||||
%w{ left }, %w{ }, %w{ }, %w{ },
|
||||
%w{ up }, %w{ }, %w{ }, %w{ },
|
||||
%w{ down }, %w{ }, %w{ }, %w{ },
|
||||
%w{ right }, %w{ }, %w{ }, %w{ },
|
||||
# thumb-top
|
||||
# letter type punc type nav type func type
|
||||
%w{ punc layer }, %w{ }, %w{ func layer }, %w{ },
|
||||
%w{ nav layer }, %w{ func layer }, %w{ }, %w{ },
|
||||
# thumb-double
|
||||
# letter type punc type nav type func type
|
||||
%w{ menu }, %w{ }, %w{ }, %w{ },
|
||||
%w{ func layer }, %w{ }, %w{ }, %w{ },
|
||||
%w{ punc latch }, %w{ punc layer }, %w{ NULL }, %w{ NULL },
|
||||
# thumb-home
|
||||
# letter type punc type nav type func type
|
||||
%w{ menu }, %w{ }, %w{ }, %w{ },
|
||||
%w{ func layer }, %w{ }, %w{ }, %w{ },
|
||||
%w{ punc latch }, %w{ punc layer }, %w{ NULL }, %w{ NULL },
|
||||
# letter type punc type nav type func type
|
||||
%w{ }, %w{ }, %w{ }, %w{ }, # dummy key
|
||||
#
|
||||
# left hand
|
||||
# number
|
||||
# letter type punc type nav type func type
|
||||
%w{ 0 }, %w{ f11 }, %w{ f11 }, %w{ f11 }, # 1.5
|
||||
%w{ 1 }, %w{ f1 }, %w{ f1 }, %w{ f1 },
|
||||
%w{ 2 }, %w{ f2 }, %w{ f2 }, %w{ f2 },
|
||||
%w{ 3 }, %w{ f3 }, %w{ f3 }, %w{ f3 },
|
||||
%w{ 4 }, %w{ f4 }, %w{ f4 }, %w{ f4 },
|
||||
%w{ 5 }, %w{ f5 }, %w{ f5 }, %w{ f5 },
|
||||
%w{ 6 }, %w{ f6 }, %w{ f6 }, %w{ f6 },
|
||||
# top
|
||||
# letter type punc type nav type func type
|
||||
%w{ x }, %w{ ~ shifted }, %w{ escape }, %w{ }, # 1.5
|
||||
%w{ x }, %w{ ~ shifted }, %w{ escape }, %w{ },
|
||||
%w{ v }, %w{ [ }, %w{ backspace }, %w{ },
|
||||
%w{ l }, %w{ ' }, %w{ enter }, %w{ },
|
||||
%w{ c }, %w{ < shifted }, %w{ delete }, %w{ },
|
||||
%w{ w }, %w{ \\ }, %w{ insert }, %w{ },
|
||||
%w{ tab }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
# home
|
||||
# letter type punc type nav type func type
|
||||
%w{ umlaut }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
%w{ u }, %w{ , }, %w{ left }, %w{ audio_mute media },
|
||||
%w{ i }, %w{ \{ shifted }, %w{ up }, %w{ audio_vol_up media },
|
||||
%w{ a }, %w{ ? shifted }, %w{ down }, %w{ audio_vol_down media },
|
||||
%w{ e }, %w{ ! shifted }, %w{ right }, %w{ next_track media },
|
||||
%w{ o }, %w{ ( shifted }, %w{ tab }, %w{ prev_track media },
|
||||
# bottom
|
||||
# letter type punc type nav type func type
|
||||
%w{ shift_l capslock }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
%w{ % shifted }, %w{ ` }, %w{ home }, %w{ },
|
||||
%w{ * shifted }, %w{ ^ shifted }, %w{ page_up }, %w{ },
|
||||
%w{ : shifted }, %w{ | shifted }, %w{ page_down }, %w{ },
|
||||
%w{ p }, %w{ - }, %w{ end }, %w{ },
|
||||
%w{ z }, %w{ @ shifted }, %w{ }, %w{ },
|
||||
%w{ enter }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
# underbottom
|
||||
# letter type punc type nav type func type
|
||||
%w{ left }, %w{ }, %w{ }, %w{ },
|
||||
%w{ up }, %w{ }, %w{ }, %w{ },
|
||||
%w{ down }, %w{ }, %w{ }, %w{ },
|
||||
%w{ right }, %w{ }, %w{ }, %w{ },
|
||||
%w{ win }, %w{ }, %w{ }, %w{ },
|
||||
# thumb-top
|
||||
# letter type punc type nav type func type
|
||||
%w{ scroll_lock }, %w{ }, %w{ }, %w{ },
|
||||
%w{ func layer }, %w{ }, %w{ }, %w{ },
|
||||
# thumb-double
|
||||
# letter type punc type nav type func type
|
||||
%w{ space }, %w{ }, %w{ }, %w{ },
|
||||
%w{ control }, %w{ }, %w{ }, %w{ },
|
||||
%w{ alt }, %w{ }, %w{ }, %w{ },
|
||||
# thumb-home
|
||||
# letter type punc type nav type func type
|
||||
%w{ space }, %w{ }, %w{ }, %w{ },
|
||||
%w{ control }, %w{ }, %w{ }, %w{ },
|
||||
%w{ alt }, %w{ }, %w{ }, %w{ },
|
||||
#
|
||||
# right hand
|
||||
#
|
||||
# number
|
||||
# letter type punc type nav type func type
|
||||
%w{ 5 }, %w{ f5 }, %w{ f5 }, %w{ f5 }, # 1.5
|
||||
%w{ 6 }, %w{ f6 }, %w{ f6 }, %w{ f6 },
|
||||
%w{ 7 }, %w{ f7 }, %w{ f7 }, %w{ f7 },
|
||||
%w{ 8 }, %w{ f8 }, %w{ f8 }, %w{ f8 },
|
||||
%w{ 9 }, %w{ f9 }, %w{ f9 }, %w{ f9 },
|
||||
%w{ 0 }, %w{ f10 }, %w{ f10 }, %w{ f10 },
|
||||
%w{ 0 }, %w{ f12 }, %w{ f12 }, %w{ f12 },
|
||||
# top
|
||||
# letter type punc type nav type func type
|
||||
%w{ }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
%w{ k }, %w{ = }, %w{ 9 }, %w{ f9 },
|
||||
%w{ h }, %w{ > shifted }, %w{ 5 }, %w{ f5 },
|
||||
%w{ g }, %w{ " shifted }, %w{ 6 }, %w{ f6 },
|
||||
%w{ f }, %w{ ] }, %w{ 7 }, %w{ f7 },
|
||||
%w{ q }, %w{ ` }, %w{ 8 }, %w{ f8 },
|
||||
%w{ q }, %w{ ` }, %w{ 8 }, %w{ f8 }, # 1.5
|
||||
# home
|
||||
# letter type punc type nav type func type
|
||||
%w{ s }, %w{ ) shifted }, %w{ 0 }, %w{ f10 },
|
||||
%w{ n }, %w{ _ shifted }, %w{ 1 }, %w{ f1 },
|
||||
%w{ r }, %w{ / }, %w{ 2 }, %w{ f2 },
|
||||
%w{ t }, %w{ \} shifted }, %w{ 3 }, %w{ f3 },
|
||||
%w{ d }, %w{ . }, %w{ 4 }, %w{ f4 },
|
||||
%w{ umlaut }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
# bottom
|
||||
# letter type punc type nav type func type
|
||||
%w{ enter }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
%w{ b }, %w{ + shifted }, %w{ 9 }, %w{ f9 },
|
||||
%w{ m }, %w{ $ shifted }, %w{ 5 }, %w{ f5 },
|
||||
%w{ j }, %w{ & shifted }, %w{ 6 }, %w{ f6 },
|
||||
%w{ y }, %w{ # shifted }, %w{ 7 }, %w{ f7 },
|
||||
%w{ ; }, %w{ ^ shifted }, %w{ 8 }, %w{ f8 },
|
||||
%w{ shift_r capslock }, %w{ }, %w{ }, %w{ }, # 1.5
|
||||
# underbottom
|
||||
# letter type punc type nav type func type
|
||||
%w{ nav layer }, %w{ }, %w{ }, %w{ },
|
||||
%w{ left }, %w{ }, %w{ }, %w{ },
|
||||
%w{ up }, %w{ }, %w{ }, %w{ },
|
||||
%w{ down }, %w{ }, %w{ }, %w{ },
|
||||
%w{ right }, %w{ }, %w{ }, %w{ },
|
||||
# thumb-top
|
||||
# letter type punc type nav type func type
|
||||
%w{ punc layer }, %w{ }, %w{ func layer }, %w{ },
|
||||
%w{ nav layer }, %w{ func layer }, %w{ }, %w{ },
|
||||
# thumb-double
|
||||
# letter type punc type nav type func type
|
||||
%w{ menu }, %w{ }, %w{ }, %w{ },
|
||||
%w{ func layer }, %w{ }, %w{ }, %w{ },
|
||||
%w{ punc latch }, %w{ punc layer }, %w{ NULL }, %w{ NULL },
|
||||
# thumb-home
|
||||
# letter type punc type nav type func type
|
||||
%w{ menu }, %w{ }, %w{ }, %w{ },
|
||||
%w{ func layer }, %w{ }, %w{ }, %w{ },
|
||||
%w{ punc latch }, %w{ punc layer }, %w{ NULL }, %w{ NULL },
|
||||
|
||||
].each_slice(Key::Layers.size).map do |layers|
|
||||
Key.new layers
|
||||
|
|
|
@ -270,11 +270,11 @@ NULL,
|
|||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
KEY_F1,
|
||||
KEY_F1,
|
||||
KEY_F1,
|
||||
KEY_F1,
|
||||
KEY_F1,
|
||||
MEDIAKEY_AUDIO_MUTE,
|
||||
MEDIAKEY_AUDIO_VOL_UP,
|
||||
MEDIAKEY_AUDIO_VOL_DOWN,
|
||||
MEDIAKEY_NEXT_TRACK,
|
||||
MEDIAKEY_PREV_TRACK,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
|
@ -602,11 +602,11 @@ KB_MATRIX_LAYER(
|
|||
&kbfun_transparent,
|
||||
&kbfun_transparent,
|
||||
&kbfun_transparent,
|
||||
&kbfun_press_release,
|
||||
&kbfun_press_release,
|
||||
&kbfun_press_release,
|
||||
&kbfun_press_release,
|
||||
&kbfun_press_release,
|
||||
&kbfun_mediakey_press_release,
|
||||
&kbfun_mediakey_press_release,
|
||||
&kbfun_mediakey_press_release,
|
||||
&kbfun_mediakey_press_release,
|
||||
&kbfun_mediakey_press_release,
|
||||
&kbfun_transparent,
|
||||
&kbfun_transparent,
|
||||
&kbfun_transparent,
|
||||
|
@ -934,11 +934,11 @@ KB_MATRIX_LAYER(
|
|||
&kbfun_transparent,
|
||||
&kbfun_transparent,
|
||||
&kbfun_transparent,
|
||||
&kbfun_press_release,
|
||||
&kbfun_press_release,
|
||||
&kbfun_press_release,
|
||||
&kbfun_press_release,
|
||||
&kbfun_press_release,
|
||||
&kbfun_mediakey_press_release,
|
||||
&kbfun_mediakey_press_release,
|
||||
&kbfun_mediakey_press_release,
|
||||
&kbfun_mediakey_press_release,
|
||||
&kbfun_mediakey_press_release,
|
||||
&kbfun_transparent,
|
||||
&kbfun_transparent,
|
||||
&kbfun_transparent,
|
||||
|
|
Loading…
Reference in New Issue