@ -3,115 +3,121 @@
< head >
< meta charset = "UTF-8" >
< title > hotkeys< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1, maximum-scale=1" >
< link rel = "stylesheet" type = "text/css" href = "src/style.css" >
< script type = "text/javascript" src = "https://rawgit.com/jaywcjlove/hotkeys/master/src/hotkeys.js" > < / script >
< / head >
< body >
< div class = "title" > HotKeys< / div >
< div class = "header" >
< div class = "title" > HotKeys< / div >
< div class = "github_wrapper" >
< a href = "https://github.com/jaywcjlove/hotkeys/zipball/master" >
< button class = "github_style" > Download as zip< / button >
< / a >
< a href = "https://github.com/jaywcjlove/hotkeys/tarball/master" >
< button class = "github_style" > Download as tar.gz< / button >
< / a >
< a href = "https://github.com/jaywcjlove/hotkeys/" >
< button class = "github_style" > Fork on Github< / button >
< / a >
< a href = "https://github.com/jaywcjlove/hotkeys/" >
< button class = "github_style" > Doc on Github< / button >
< / a >
< / div >
< div class = "info" > A robust Javascript library for capturing keyboard input and key combinations entered. It has no dependencies. Try to press your keyboard, The following button will highlight.< / div >
< div class = "warpper" >
< / div >
< div class = "github_wrapper" >
< a href = "https://github.com/jaywcjlove/hotkeys/zipball/master" >
< button class = "github_style" > Download as zip< / button >
< / a >
< a href = "https://github.com/jaywcjlove/hotkeys/tarball/master" >
< button class = "github_style" > Download as tar.gz< / button >
< / a >
< a href = "https://github.com/jaywcjlove/hotkeys/" >
< button class = "github_style" > Fork on Github< / button >
< / a >
< a href = "https://github.com/jaywcjlove/hotkeys/" >
< button class = "github_style" > Doc on Github< / button >
< / a >
< div class = "board" >
< div class = "keyboard" id = "keyboard" >
< ul >
< li data-keycode = "27" > esc< / li >
< li data-keycode = "112" > F1< / li >
< li data-keycode = "113" > F2< / li >
< li data-keycode = "114" > F3< / li >
< li data-keycode = "115" > F4< / li >
< li data-keycode = "116" > F5< / li >
< li data-keycode = "117" > F6< / li >
< li data-keycode = "118" > F7< / li >
< li data-keycode = "119" > F8< / li >
< li data-keycode = "120" > F9< / li >
< li data-keycode = "121" > F10< / li >
< li data-keycode = "122" > F11< / li >
< li data-keycode = "123" > F12< / li >
< li data-keycode = "-1" > 〇 < / li >
< li data-keycode = "192" > < span > ~< / span > < span > `< / span > < / li >
< li data-keycode = "49" > < span > !< / span > < span > 1< / span > < / li >
< li data-keycode = "50" > < span > @< / span > < span > 2< / span > < / li >
< li data-keycode = "51" > < span > #< / span > < span > 3< / span > < / li >
< li data-keycode = "52" > < span > $< / span > < span > 4< / span > < / li >
< li data-keycode = "53" > < span > %< / span > < span > 5< / span > < / li >
< li data-keycode = "54" > < span > ^< / span > < span > 6< / span > < / li >
< li data-keycode = "55" > < span > & < / span > < span > 7< / span > < / li >
< li data-keycode = "56" > < span > *< / span > < span > 8< / span > < / li >
< li data-keycode = "57" > < span > (< / span > < span > 9< / span > < / li >
< li data-keycode = "48" > < span > )< / span > < span > 0< / span > < / li >
< li data-keycode = "189" > < span > _ < / span > < span > -< / span > < / li >
< li data-keycode = "187" > < span > + < / span > < span > =< / span > < / li >
< li data-keycode = "8" > < span > delete< / span > < / li >
< li data-keycode = "9" > < span > tab< / span > < / li >
< li data-keycode = "81" > Q< / li >
< li data-keycode = "87" > W< / li >
< li data-keycode = "69" > E< / li >
< li data-keycode = "82" > R< / li >
< li data-keycode = "84" > T< / li >
< li data-keycode = "89" > Y< / li >
< li data-keycode = "85" > U< / li >
< li data-keycode = "73" > I< / li >
< li data-keycode = "79" > O< / li >
< li data-keycode = "80" > P< / li >
< li data-keycode = "219" > < span > {< / span > < span > [< / span > < / li >
< li data-keycode = "221" > < span > }< / span > < span > ]< / span > < / li >
< li data-keycode = "220" > < span > |< / span > < span > \< / span > < / li >
< li data-keycode = "20" > < i > < / i > < span > CapsLock< / span > < / li >
< li data-keycode = "65" > A< / li >
< li data-keycode = "83" > S< / li >
< li data-keycode = "68" > D< / li >
< li data-keycode = "70" > F< / li >
< li data-keycode = "71" > G< / li >
< li data-keycode = "72" > H< / li >
< li data-keycode = "74" > J< / li >
< li data-keycode = "75" > K< / li >
< li data-keycode = "76" > L< / li >
< li data-keycode = "186" > < span > :< / span > < span > ;< / span > < / li >
< li data-keycode = "222" > < span > "< / span > < span > '< / span > < / li >
< li data-keycode = "13" > < i > enter< / i > < span > return< / span > < / li >
< li data-keycode = "16" > < span > shift< / span > < / li >
< li data-keycode = "90" > Z< / li >
< li data-keycode = "88" > X< / li >
< li data-keycode = "67" > C< / li >
< li data-keycode = "86" > V< / li >
< li data-keycode = "66" > B< / li >
< li data-keycode = "78" > N< / li >
< li data-keycode = "77" > M< / li >
< li data-keycode = "188" > < span > < < / span > < span > ,< / span > < / li >
< li data-keycode = "190" > < span > > < / span > < span > .< / span > < / li >
< li data-keycode = "191" > < span > ?< / span > < span > /< / span > < / li >
< li data-keycode = "16" > < span > shift< / span > < / li >
< li data-keycode = "-1" > < span > fn< / span > < / li >
< li data-keycode = "17" > < span > control< / span > < / li >
< li data-keycode = "18" > < i > alt< / i > < span > option< / span > < / li >
< li data-keycode = "91" > < span > command< / span > < / li >
< li data-keycode = "32" > < / li >
< li data-keycode = "93" > < span > command< / span > < / li >
< li data-keycode = "18" > < i > alt< / i > < span > option< / span > < / li >
< li data-keycode = "37" > ◀< / li >
< li data-keycode = "38" > ▲< / li >
< li data-keycode = "39" > ▶< / li >
< li data-keycode = "40" > ▼< / li >
< / ul >
< / div >
< div class = "info" > A robust Javascript library for capturing keyboard input and key combinations entered. It has no dependencies. Try to press your keyboard, The following button will highlight.< / div >
< / div >
< div class = "warpper" >
< div class = "key_info" id = "key_info" > < / div >
< div class = "board" >
< div class = "keyboard" id = "keyboard" >
< ul >
< li data-keycode = "27" > esc< / li >
< li data-keycode = "112" > F1< / li >
< li data-keycode = "113" > F2< / li >
< li data-keycode = "114" > F3< / li >
< li data-keycode = "115" > F4< / li >
< li data-keycode = "116" > F5< / li >
< li data-keycode = "117" > F6< / li >
< li data-keycode = "118" > F7< / li >
< li data-keycode = "119" > F8< / li >
< li data-keycode = "120" > F9< / li >
< li data-keycode = "121" > F10< / li >
< li data-keycode = "122" > F11< / li >
< li data-keycode = "123" > F12< / li >
< li data-keycode = "-1" > 〇 < / li >
< li data-keycode = "192" > < span > ~< / span > < span > `< / span > < / li >
< li data-keycode = "49" > < span > !< / span > < span > 1< / span > < / li >
< li data-keycode = "50" > < span > @< / span > < span > 2< / span > < / li >
< li data-keycode = "51" > < span > #< / span > < span > 3< / span > < / li >
< li data-keycode = "52" > < span > $< / span > < span > 4< / span > < / li >
< li data-keycode = "53" > < span > %< / span > < span > 5< / span > < / li >
< li data-keycode = "54" > < span > ^< / span > < span > 6< / span > < / li >
< li data-keycode = "55" > < span > & < / span > < span > 7< / span > < / li >
< li data-keycode = "56" > < span > *< / span > < span > 8< / span > < / li >
< li data-keycode = "57" > < span > (< / span > < span > 9< / span > < / li >
< li data-keycode = "48" > < span > )< / span > < span > 0< / span > < / li >
< li data-keycode = "189" > < span > _ < / span > < span > -< / span > < / li >
< li data-keycode = "187" > < span > + < / span > < span > =< / span > < / li >
< li data-keycode = "8" > < span > delete< / span > < / li >
< li data-keycode = "9" > < span > tab< / span > < / li >
< li data-keycode = "81" > Q< / li >
< li data-keycode = "87" > W< / li >
< li data-keycode = "69" > E< / li >
< li data-keycode = "82" > R< / li >
< li data-keycode = "84" > T< / li >
< li data-keycode = "89" > Y< / li >
< li data-keycode = "85" > U< / li >
< li data-keycode = "73" > I< / li >
< li data-keycode = "79" > O< / li >
< li data-keycode = "80" > P< / li >
< li data-keycode = "219" > < span > {< / span > < span > [< / span > < / li >
< li data-keycode = "221" > < span > }< / span > < span > ]< / span > < / li >
< li data-keycode = "220" > < span > |< / span > < span > \< / span > < / li >
< li data-keycode = "20" > < i > < / i > < span > CapsLock< / span > < / li >
< li data-keycode = "65" > A< / li >
< li data-keycode = "83" > S< / li >
< li data-keycode = "68" > D< / li >
< li data-keycode = "70" > F< / li >
< li data-keycode = "71" > G< / li >
< li data-keycode = "72" > H< / li >
< li data-keycode = "74" > J< / li >
< li data-keycode = "75" > K< / li >
< li data-keycode = "76" > L< / li >
< li data-keycode = "186" > < span > :< / span > < span > ;< / span > < / li >
< li data-keycode = "222" > < span > "< / span > < span > '< / span > < / li >
< li data-keycode = "13" > < i > enter< / i > < span > return< / span > < / li >
< li data-keycode = "16" > < span > shift< / span > < / li >
< li data-keycode = "90" > Z< / li >
< li data-keycode = "88" > X< / li >
< li data-keycode = "67" > C< / li >
< li data-keycode = "86" > V< / li >
< li data-keycode = "66" > B< / li >
< li data-keycode = "78" > N< / li >
< li data-keycode = "77" > M< / li >
< li data-keycode = "188" > < span > < < / span > < span > ,< / span > < / li >
< li data-keycode = "190" > < span > > < / span > < span > .< / span > < / li >
< li data-keycode = "191" > < span > ?< / span > < span > /< / span > < / li >
< li data-keycode = "16" > < span > shift< / span > < / li >
< li data-keycode = "-1" > < span > fn< / span > < / li >
< li data-keycode = "17" > < span > control< / span > < / li >
< li data-keycode = "18" > < i > alt< / i > < span > option< / span > < / li >
< li data-keycode = "91" > < span > command< / span > < / li >
< li data-keycode = "32" > < / li >
< li data-keycode = "93" > < span > command< / span > < / li >
< li data-keycode = "18" > < i > alt< / i > < span > option< / span > < / li >
< li data-keycode = "37" > ◀< / li >
< li data-keycode = "38" > ▲< / li >
< li data-keycode = "39" > ▶< / li >
< li data-keycode = "40" > ▼< / li >
< / ul >
< / div >
< / div >
< br / >
< br / >
< p > HotKeys is an input capture library with some very special features, it is easy to pick up and use, has a reasonable footprint (~3kb), and has no dependencies. It should not interfere with any JavaScript libraries or frameworks.< / p >