beam-keyboard
Advanced tools
Comparing version 0.3.0-first to 0.3.1-deadend
@@ -10,2 +10,3 @@ #!/usr/bin/env node | ||
process.on('unhandledRejection', function (r) { return console.log(r); }); | ||
var _packageName = 'beam-keyboard'; | ||
var _debug = false; | ||
@@ -16,3 +17,3 @@ // npm packets | ||
if (process.argv.length < 3) { | ||
console.error("Usage: node " + path.basename(__filename) + " <profile.json>"); | ||
console.error("Usage: " + _packageName + " <profile.json>"); | ||
process.exit(1); | ||
@@ -19,0 +20,0 @@ } |
{ | ||
"oauth": "0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqr" | ||
} |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
{ | ||
"name": "beam-keyboard", | ||
"version": "0.3.0-first", | ||
"description": "", | ||
"version": "0.3.1-deadend", | ||
"description": "A handy keyboard for Beam Interactive 2", | ||
"main": "index.js", | ||
@@ -15,3 +15,2 @@ "scripts": { | ||
"dependencies": { | ||
"@types/node": "^7.0.18", | ||
"beam-interactive-node2": "^1.0.1", | ||
@@ -25,7 +24,8 @@ "fs": "0.0.1-security", | ||
"type": "git", | ||
"url": "git+https://github.com/Metaa/beam-interactive2-keyboard" | ||
"url": "git+https://github.com/Metaa/beam-interactive2-keyboard#beam-end" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^7.0.18", | ||
"typescript": "^2.3.2" | ||
} | ||
} |
@@ -71,8 +71,8 @@ # Interactive2 Keyboard [![Beam](doc/beamM.png)](https://beam.pro/) [![NodeJS](doc/nodejs.png)](https://nodejs.org/) [![NPM version](https://img.shields.io/npm/v/beam-keyboard.svg)](https://www.npmjs.com/package/beam-keyboard) | ||
Currently there is only *button*, but support for others (like for *joystick*) will follow. | ||
- **path** (String) | ||
That's the path to where the handler [NodeJS](https://nodejs.org/) file is located. | ||
You can also pass a name of a default handler (e.g. ``robotjs``). | ||
- **config** | ||
The config your handler needs to get initialized. | ||
Can be anything you want. | ||
- **path** (String) | ||
That's the path to where the handler [NodeJS](https://nodejs.org/) file is located. | ||
You can also pass a name of a default handler (e.g. ``robotjs``). | ||
- **config** | ||
The config your handler needs to get initialized. | ||
Can be anything you want. | ||
- **layout** (String) | ||
@@ -94,6 +94,6 @@ The path to your layout config file. | ||
The name of the scene is the key. | ||
- **<sceneName>** (Array) | ||
(for example: '*default*') | ||
This holds the configuration of the buttons in [JSON](https://www.w3schools.com/js/js_json_intro.asp) format. | ||
You can design the layout and copy the [JSON](https://www.w3schools.com/js/js_json_intro.asp) configuration in the ![Interactive Studio logo](doc/interactiveStudio.png) [*Interactive studio*](https://beam.pro/i/studio). | ||
- **<sceneName>** (Array) | ||
(for example: '*default*') | ||
This holds the configuration of the buttons in [JSON](https://www.w3schools.com/js/js_json_intro.asp) format. | ||
You can design the layout and copy the [JSON](https://www.w3schools.com/js/js_json_intro.asp) configuration in the ![Interactive Studio logo](doc/interactiveStudio.png) [*Interactive studio*](https://beam.pro/i/studio). | ||
@@ -100,0 +100,0 @@ ### Mapping files |
@@ -14,2 +14,3 @@ #!/usr/bin/env node | ||
const _packageName = 'beam-keyboard'; | ||
const _debug: boolean = false; | ||
@@ -24,3 +25,3 @@ | ||
if (process.argv.length < 3) { | ||
console.error(`Usage: node ${path.basename(__filename)} <profile.json>`); | ||
console.error(`Usage: ${_packageName} <profile.json>`); | ||
process.exit(1); | ||
@@ -27,0 +28,0 @@ } |
@@ -0,0 +0,0 @@ import {GameClient, IButton, IButtonInput, IInputEvent, IParticipant} from "beam-interactive-node2"; |
@@ -0,0 +0,0 @@ import {IButton, IButtonInput, IInputEvent, IParticipant} from "beam-interactive-node2"; |
@@ -0,0 +0,0 @@ import {IButton, IButtonInput, IInputEvent, IParticipant} from "beam-interactive-node2"; |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
81743
2
27
757
- Removed@types/node@^7.0.18
- Removed@types/node@7.10.14(transitive)