Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

aframe-proxy-controls

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aframe-proxy-controls

A-Frame component to proxy keyboard/gamepad controls between devices over WebRTC.

Source
npmnpm
Version
0.5.1
Version published
Weekly downloads
7
40%
Maintainers
1
Weekly downloads
 
Created
Source

A-Frame proxy-controls Component

(In Progress) A-Frame component to proxy keyboard/gamepad controls between devices over WebRTC.

Overview

With a mobile device / Google Cardboard for WebVR, designing the UI around a single button is an obstacle. This component provides an experimental way to proxy user input events (keyboard, perhaps Leap Motion later) from a keyboard-connected device to the mobile viewer.

For performance, WebRTC DataStreams are used to minimize latency between the devices. Browser support for this standard is limited - notably, Safari (including all iPhone browsers) does not support it. I will consider adding fallback support via WebSockets in the future, if the latency is bearable.

Usage

This component should be used in the viewer application, to receive UI events from a remote application. A reusable remote application example will be available soon, but the API is simple enough that you can also build your own.

Keywords

aframe

FAQs

Package last updated on 02 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts