Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

beam-keyboard

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beam-keyboard - npm Package Compare versions

Comparing version 0.3.0-first to 0.3.1-deadend

3

bin/beam-keyboard-cli.js

@@ -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";

{
"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.
- **&lt;sceneName&gt;** (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)&nbsp;[*Interactive studio*](https://beam.pro/i/studio).
- **&lt;sceneName&gt;** (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)&nbsp;[*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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc