-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ba8ea7
commit ac60746
Showing
14 changed files
with
39 additions
and
41 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
var keyboard = require('../'); | ||
var keyboard = require('../')(); | ||
|
||
keyboard.color('left', { | ||
color: 'red', | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
var keyboard = require('../'); | ||
var keyboard = require('../')(); | ||
|
||
keyboard.mode('breathe', { | ||
left: {color:'blue',secondary:'red'}, | ||
midle: {color:'blue', secondary:'red'}, | ||
right: {color:'blue', secondary:'red'}, | ||
}); | ||
left: {color:'blue',secondary:'red'}, | ||
midle: {color:'blue', secondary:'red'}, | ||
right: {color:'blue', secondary:'red'}, | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
// Hal Pomeranz ([email protected]), Deer Run Associates, 2015-04-08 | ||
// This code released under Creative Commons Attribution license (CC BY) | ||
|
||
var keyboard = require('msi-keyboard'); | ||
var keyboard = require('msi-keyboard')(); | ||
var argv = require('minimist')(process.argv.slice(2), { | ||
string: 'clmrM'.split(''), | ||
unknown: Usage | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
var keyboard = require('../'); | ||
var keyboard = require('../')(); | ||
|
||
keyboard.mode('wave', 'blue'); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
var keyboard = require('../'); | ||
var keyboard = require('../')(); | ||
|
||
keyboard.mode('wave', { | ||
left: 'red', | ||
middle: 'green', | ||
right: 'blue' | ||
}, 5); | ||
left: 'red', | ||
middle: 'green', | ||
right: 'blue' | ||
}, 5); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
var keyboard = require('../'); | ||
var keyboard = require('../')(); | ||
|
||
keyboard.mode('wave', { | ||
left: {color:'green',secondary:'blue'}, | ||
middle: {color:'blue', secondary:'green'}, | ||
right: {color:'green', secondary:'blue'} | ||
}, 2); | ||
left: {color:'green',secondary:'blue'}, | ||
middle: {color:'blue', secondary:'green'}, | ||
right: {color:'green', secondary:'blue'} | ||
}, 2); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
var keyboard = require('../'); | ||
var keyboard = require('../')(); | ||
|
||
keyboard.mode('wave', { | ||
left: {color:'blue',secondary:'red'}, | ||
middle: {color:'blue', secondary:'red'}, | ||
right: {color:'blue', secondary:'red'}, | ||
}, 2); | ||
left: {color:'blue',secondary:'red'}, | ||
middle: {color:'blue', secondary:'red'}, | ||
right: {color:'blue', secondary:'red'}, | ||
}, 2); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
var findKeyboard = require('./lib/findKeyboard'); | ||
|
||
module.exports = findKeyboard(); | ||
module.exports = require('./lib/findKeyboard'); |
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