项目作者: aaronshaf

项目描述 :
Callbag source for connected gamepad inputs
高级语言: JavaScript
项目地址: git://github.com/aaronshaf/callbag-gamepads.git
创建时间: 2018-02-06T00:32:07Z
项目社区:https://github.com/aaronshaf/callbag-gamepads

开源协议:MIT License

下载


  1. yarn add callbag-gamepads
  1. const pipe = require("callbag-pipe");
  2. const forEach = require("callbag-for-each");
  3. const gamepads = require("callbag-gamepads");
  4. pipe(
  5. gamepads,
  6. forEach(gamepads => {
  7. // have fun
  8. })
  9. );

If you’re blessed with the pipeline operator:

  1. gamepads
  2. |> forEach(gamepads => {
  3. // have fun
  4. });

Verified to work with

Learn more