This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# default | |
include "109.nodoka" | |
# like 104 | |
# SEEALSO: http://ja.wikipedia.org/wiki/キー配列#101.E3.82.AD.E3.83.BC.E3.83.9C.E3.83.BC.E3.83.89 | |
key *IC-S-SemiColon = Colon # : | |
key *IC-Colon = S-_7 # ' | |
key *IC-S-Colon = S-_2 # " | |
key *IC-半角/全角 = S-CommercialAt # ` | |
key *IC-S-半角/全角 = S-CircumflexAccent # ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# One Shot modifier settings | |
# CapsLk | |
mod ctrl += !!英数 | |
key *IC-*S-*A-*C-*英数 = *Esc | |
key R-*英数 = &Ignore | |
# SemiColon | |
key *IC-SemiColon = Enter | |
key *IC-A-SemiColon = A-Enter | |
key *IC-C-~S-SemiColon = SemiColon # ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## extend binds | |
# | |
key *IC-C-Colon = S-CommercialAt # ` | |
key *IC-C-Solidus = ReverseSolidus # \ | |
key *IC-S-Space = S-YenSign # | | |
# ひらがな | |
key *IC-C-ひらがな = S-Minus # = | |
key *IC-S-ひらがな = S-Semicolon # + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## no human can use following keys | |
key *IC-*A-*S-*C-Minus = &Undefined | |
key *IC-*A-*S-*C-CircumflexAccent = &Undefined | |
key *IC-*A-*S-*C-YenSign = &Undefined | |
key *IC-*A-*S-*C-Backspace = &Undefined | |
key *IC-*A-*S-*C-Enter = &Undefined | |
key *IC-*A-*S-*C-RightShift = &Undefined | |
key *IC-*A-*S-*C-ReverseSolidus = &Undefined | |
key *IC-*A-*S-*C-半角/全角 = &Undefined | |
key *IC-*S-*C-半角/全角 = &Undefined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:ok pushVirus({ method_name => 'cough', filter_names => [] }); | |
:ng pushVirus({ method_name => 'cough', filter_names => ['mask'] }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<item> | |
<name>Test</name> <appendix>Test</appendix> | |
<identifier>remap.kmnk_test</identifier> | |
<autogen>--KeyToKey-- KeyCode::KEY_1, ModifierFlag::CONTROL_L, KeyCode::KEY_2</autogen> | |
<autogen>--KeyToKey-- KeyCode::KEY_1, KeyCode::KEY_2</autogen> | |
<autogen>--KeyToKey-- KeyCode::KEY_2, KeyCode::KEY_1</autogen> | |
<autogen>--KeyToKey-- KeyCode::KEY_2, ModifierFlag::CONTROL_L, KeyCode::KEY_1</autogen> | |
</item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (robot) -> | |
robot.respond /hello/, (msg) -> | |
msg.send ['hello', msg.message.user.name].join ' ' | |
msg.notice ['hello', msg.message.user.name].join ' ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Namespace('sample.widget') | |
.use('sample.rect.ui createRectModel') | |
.define (ns) -> | |
registerElement = (element, dataset) -> | |
rectModel = ns.createRectModel element, dataset.classOn, dataset.classOff | |
element.addEventListener 'click', (event) -> | |
rectModel.notify('toggle').run() | |
rectModel.notify('move').run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Namespace('sample.widget') | |
.use('sample.rect.ui createRectModel') | |
.define(function (ns) { | |
var registerElement; | |
registerElement = function (element, dataset) { | |
var rectModel = ns.createRectModel(element, dataset.classOn, dataset.classOff); | |
element.addEventListener('click', function (event) { | |
rectModel.notify('toggle').run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Namespace('sample.widget').use('sample.rect.ui createRectModel').define(function(ns) { | |
var registerElement; | |
registerElement = function(element, dataset) { | |
var rectModel; | |
rectModel = ns.createRectModel(element, dataset.classOn, dataset.classOff); | |
return element.addEventListener('click', function(event) { | |
rectModel.notify('toggle').run(); | |
return rectModel.notify('move').run(); | |
}); | |
}; |
OlderNewer