webapi: github.com/gowebapi/webapi/device Index | Files | Directories

package device

import "github.com/gowebapi/webapi/device"

Package device


Package Files



batteryPackage battery provides information about the battery status of the hosting device.
gamepadPackage gamepad is low-level interface that represents gamepad devices.
inputcapabilitiesPackage inputcapabilities is a way to determine the capabilities of different input devices in response to DOM input events.
keyboardPackage keyboard contains keybaord layout and ability to capture keys that are normally reserved by the underlying host operating system.
sensorPackage sensor is to access (mobile phone) sensors like accelerometer, ambient light, geolocation, gyroscope etc.
toucheventsPackage touchevents is low-level events that represent one or more points of contact with a touch-sensitive surface, and changes of those points with respect to the surface and any DOM elements displayed upon it (e.g.
usbPacakge usb is for securely providing access to Universal Serial Bus devices from web pages.
wakelockPackage wakelock is to request a wake lock that prevents some aspect of the device from entering a power-saving state (e.g., preventing the system from turning off the screen).
webvrPackage webvr is for accessing virtual reality (VR) devices, including sensors and head-mounted displays on the Web.
webxrPackage webxr is for accessing virtual reality (VR) and augmented reality (AR) devices, including sensors and head-mounted displays, on the Web.

Updated 2019-09-21. Refresh now. Tools for package owners.