New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aframe-keyboard-controls

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aframe-keyboard-controls - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

4

package.json
{
"name": "aframe-keyboard-controls",
"version": "0.1.2",
"version": "0.1.3",
"description": "Keyboard controls for A-Frame.",
"main": "gamepad-controls.js",
"main": "keyboard-controls.js",
"config": {

@@ -7,0 +7,0 @@ "demo_host": "localhost",

# A-Frame `keyboard-controls` Component
*(In Progress)* Keyboard controls for A-Frame.
Keyboard controls for A-Frame.
## Overview
Bindings and events for keyboard controls on an A-Frame VR scene. When combined with [proxy-controls](https://github.com/donmccurdy/aframe-proxy-controls), supports remote keyboard input from a host machine by WebRTC.
Bindings and events for keyboard controls on an A-Frame VR scene. When combined with [ProxyControls.js](https://proxy-controls.donmccurdy.com) (with the [proxy-controls](https://github.com/donmccurdy/aframe-proxy-controls) component for A-Frame), can also receive remote keyboard input by WebRTC.
## Usage
*Coming soon.*
Movement + keyboard events:
```html
<a-scene>
<a-entity camera
keyboard-controls>
</a-entity>
</a-scene>
```
Keyboard events only (no movement):
```html
<a-scene>
<a-entity camera
keyboard-controls="enabled: false">
</a-entity>
</a-scene>
```
## Usage + Remote Device
[ProxyControls.js ⇢ Docs](http://localhost:3000/#/docs#remote-device)
Example:
```html
<a-scene proxy-controls>
<a-entity camera
keyboard-controls>
</a-entity>
</a-scene>
```
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