├── ps3 ├── .npmignore ├── node_modules │ ├── ar-drone │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── test │ │ │ ├── run.js │ │ │ ├── fixtures │ │ │ │ ├── pave.bin │ │ │ │ ├── navdata.bin │ │ │ │ └── pave-68.bin │ │ │ ├── common.js │ │ │ ├── unit │ │ │ │ ├── control │ │ │ │ │ ├── test-at.js │ │ │ │ │ └── test-AtCommand.js │ │ │ │ └── misc │ │ │ │ │ └── test-meta.js │ │ │ └── integration │ │ │ │ └── control │ │ │ │ └── UdpControl │ │ │ │ └── test-message-flushing.js │ │ ├── Makefile │ │ ├── node_modules │ │ │ └── buffy │ │ │ │ ├── benchmarks │ │ │ │ ├── Readme.md │ │ │ │ ├── Makefile │ │ │ │ ├── package.json │ │ │ │ └── binary.js │ │ │ │ ├── test │ │ │ │ ├── run.js │ │ │ │ ├── common.js │ │ │ │ └── unit │ │ │ │ │ └── test-buffy.js │ │ │ │ ├── Makefile │ │ │ │ ├── .npmignore │ │ │ │ └── index.js │ │ ├── examples │ │ │ ├── tcp-video-stream.js │ │ │ ├── udp-control.js │ │ │ └── png-stream.js │ │ └── lib │ │ │ ├── misc │ │ │ └── meta.js │ │ │ ├── control │ │ │ ├── AtCommand.js │ │ │ └── at.js │ │ │ └── navdata │ │ │ └── maskingFunctions.js │ └── ps3.js │ │ ├── node_modules │ │ └── node-hid │ │ │ ├── hidapi │ │ │ ├── pc │ │ │ │ ├── .npmignore │ │ │ │ ├── hidapi.pc.in │ │ │ │ ├── hidapi-libusb.pc.in │ │ │ │ └── hidapi-hidraw.pc.in │ │ │ ├── testgui │ │ │ │ ├── TestGUI.app.in │ │ │ │ │ └── Contents │ │ │ │ │ │ ├── PkgInfo │ │ │ │ │ │ └── Resources │ │ │ │ │ │ ├── Signal11.icns │ │ │ │ │ │ └── English.lproj │ │ │ │ │ │ └── InfoPlist.strings │ │ │ │ ├── start.sh │ │ │ │ ├── .npmignore │ │ │ │ ├── mac_support.h │ │ │ │ ├── Makefile-manual │ │ │ │ ├── Makefile.freebsd │ │ │ │ └── Makefile.linux │ │ │ ├── windows │ │ │ │ ├── ddk_build │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── hidapi.def │ │ │ │ │ └── sources │ │ │ │ ├── .npmignore │ │ │ │ ├── Makefile-manual │ │ │ │ ├── Makefile.am │ │ │ │ └── Makefile.mingw │ │ │ ├── bootstrap │ │ │ ├── libusb │ │ │ │ ├── .npmignore │ │ │ │ ├── Makefile-manual │ │ │ │ └── Makefile.am │ │ │ ├── m4 │ │ │ │ └── .npmignore │ │ │ ├── .gitattributes │ │ │ ├── mac │ │ │ │ ├── .npmignore │ │ │ │ ├── Makefile.am │ │ │ │ └── Makefile-manual │ │ │ ├── linux │ │ │ │ ├── .npmignore │ │ │ │ └── Makefile.am │ │ │ ├── hidtest │ │ │ │ ├── .npmignore │ │ │ │ └── Makefile.am │ │ │ ├── LICENSE-orig.txt │ │ │ ├── .npmignore │ │ │ ├── AUTHORS.txt │ │ │ ├── HACKING.txt │ │ │ ├── android │ │ │ │ └── jni │ │ │ │ │ └── Android.mk │ │ │ └── LICENSE.txt │ │ │ ├── .npmignore │ │ │ ├── src │ │ │ ├── .npmignore │ │ │ ├── show-devices.js │ │ │ ├── test-ps3.js │ │ │ ├── test-buzzers.js │ │ │ └── test-powermate.js │ │ │ ├── node_modules │ │ │ ├── .bin │ │ │ │ └── node-pre-gyp │ │ │ ├── node-pre-gyp │ │ │ │ ├── node_modules │ │ │ │ │ ├── .bin │ │ │ │ │ │ ├── rc │ │ │ │ │ │ ├── nopt │ │ │ │ │ │ ├── rimraf │ │ │ │ │ │ ├── mkdirp │ │ │ │ │ │ └── semver │ │ │ │ │ ├── nopt │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── abbrev │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ └── .travis.yml │ │ │ │ │ ├── request │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── extend │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ └── component.json │ │ │ │ │ │ │ ├── bl │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ └── readable-stream │ │ │ │ │ │ │ │ │ │ ├── .zuul.yml │ │ │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ │ ├── string_decoder │ │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ │ │ ├── core-util-is │ │ │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ │ │ ├── process-nextick-args │ │ │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ │ ├── readme.md │ │ │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ │ │ ├── isarray │ │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ │ └── component.json │ │ │ │ │ │ │ │ │ │ └── util-deprecate │ │ │ │ │ │ │ │ │ │ │ ├── node.js │ │ │ │ │ │ │ │ │ │ │ └── History.md │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ ├── duplex.js │ │ │ │ │ │ │ │ │ │ ├── writable.js │ │ │ │ │ │ │ │ │ │ ├── passthrough.js │ │ │ │ │ │ │ │ │ │ ├── transform.js │ │ │ │ │ │ │ │ │ │ └── readable.js │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ ├── qs │ │ │ │ │ │ │ │ ├── .eslintignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ │ │ ├── bower.json │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ └── utils.js │ │ │ │ │ │ │ ├── isstream │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ └── isstream.js │ │ │ │ │ │ │ ├── json-stringify-safe │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ └── mocha.opts │ │ │ │ │ │ │ ├── hawk │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ ├── hoek │ │ │ │ │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ │ │ │ │ └── modules │ │ │ │ │ │ │ │ │ │ │ │ ├── ignore.txt │ │ │ │ │ │ │ │ │ │ │ │ ├── test1.js │ │ │ │ │ │ │ │ │ │ │ │ ├── test2.js │ │ │ │ │ │ │ │ │ │ │ │ └── test3.js │ │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ │ │ │ │ └── hoek.png │ │ │ │ │ │ │ │ │ │ └── .npmignore │ │ │ │ │ │ │ │ │ ├── sntp │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ └── examples │ │ │ │ │ │ │ │ │ │ │ └── offset.js │ │ │ │ │ │ │ │ │ ├── boom │ │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ │ │ │ │ └── boom.png │ │ │ │ │ │ │ │ │ │ └── .npmignore │ │ │ │ │ │ │ │ │ └── cryptiles │ │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ │ │ ├── hawk.png │ │ │ │ │ │ │ │ │ └── logo.png │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ └── bower.json │ │ │ │ │ │ │ ├── form-data │ │ │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ │ │ └── browser.js │ │ │ │ │ │ │ ├── node-uuid │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ │ │ └── test.html │ │ │ │ │ │ │ │ ├── bower.json │ │ │ │ │ │ │ │ ├── component.json │ │ │ │ │ │ │ │ └── bin │ │ │ │ │ │ │ │ │ └── uuid │ │ │ │ │ │ │ ├── http-signature │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ ├── ctype │ │ │ │ │ │ │ │ │ │ └── .npmignore │ │ │ │ │ │ │ │ │ └── asn1 │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ │ │ │ ├── ber │ │ │ │ │ │ │ │ │ │ ├── errors.js │ │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .dir-locals.el │ │ │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ ├── combined-stream │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ │ └── delayed-stream │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ └── Makefile │ │ │ │ │ │ │ ├── stringstream │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ └── LICENSE.txt │ │ │ │ │ │ │ ├── har-validator │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ ├── is-my-json-valid │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ │ │ ├── xtend │ │ │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ │ │ │ │ ├── mutable.js │ │ │ │ │ │ │ │ │ │ │ │ ├── immutable.js │ │ │ │ │ │ │ │ │ │ │ │ └── .jshintrc │ │ │ │ │ │ │ │ │ │ │ ├── generate-function │ │ │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ │ │ └── .travis.yml │ │ │ │ │ │ │ │ │ │ │ ├── generate-object-property │ │ │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ │ │ │ │ └── is-property │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── .npmignore │ │ │ │ │ │ │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ │ │ │ └── jsonpointer │ │ │ │ │ │ │ │ │ │ │ │ └── .travis.yml │ │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ │ │ │ │ └── json-schema-draft4 │ │ │ │ │ │ │ │ │ │ │ │ ├── nullAndObject.json │ │ │ │ │ │ │ │ │ │ │ │ ├── nullAndFormat.json │ │ │ │ │ │ │ │ │ │ │ │ └── pattern.json │ │ │ │ │ │ │ │ │ │ ├── require.js │ │ │ │ │ │ │ │ │ │ └── example.js │ │ │ │ │ │ │ │ │ ├── commander │ │ │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ │ │ │ └── graceful-readlink │ │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ │ ├── chalk │ │ │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ │ │ │ ├── has-ansi │ │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ │ │ │ │ └── ansi-regex │ │ │ │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ │ │ │ ├── strip-ansi │ │ │ │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ │ │ │ └── ansi-regex │ │ │ │ │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ │ │ │ └── escape-string-regexp │ │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ │ └── readme.md │ │ │ │ │ │ │ │ │ └── bluebird │ │ │ │ │ │ │ │ │ │ └── js │ │ │ │ │ │ │ │ │ │ └── main │ │ │ │ │ │ │ │ │ │ ├── bluebird.js │ │ │ │ │ │ │ │ │ │ ├── each.js │ │ │ │ │ │ │ │ │ │ ├── filter.js │ │ │ │ │ │ │ │ │ │ └── any.js │ │ │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ │ │ ├── schemas │ │ │ │ │ │ │ │ │ ├── har.json │ │ │ │ │ │ │ │ │ ├── cache.json │ │ │ │ │ │ │ │ │ ├── pageTimings.json │ │ │ │ │ │ │ │ │ ├── record.json │ │ │ │ │ │ │ │ │ ├── creator.json │ │ │ │ │ │ │ │ │ ├── content.json │ │ │ │ │ │ │ │ │ ├── cacheEntry.json │ │ │ │ │ │ │ │ │ ├── log.json │ │ │ │ │ │ │ │ │ ├── cookie.json │ │ │ │ │ │ │ │ │ └── page.json │ │ │ │ │ │ │ │ │ └── error.js │ │ │ │ │ │ │ ├── tunnel-agent │ │ │ │ │ │ │ │ ├── .jshintrc │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ ├── oauth-sign │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ ├── aws-sign2 │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ ├── forever-agent │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ └── mime-types │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ └── mime-db │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ └── .travis.yml │ │ │ │ │ ├── tar-pack │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ └── fixtures │ │ │ │ │ │ │ │ ├── packed-file.txt │ │ │ │ │ │ │ │ ├── to-pack │ │ │ │ │ │ │ │ ├── bar.txt │ │ │ │ │ │ │ │ └── foo.txt │ │ │ │ │ │ │ │ └── packed.tar.gz │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── fstream-ignore │ │ │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ ├── .ignore │ │ │ │ │ │ │ │ │ └── zz-cleanup.js │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ ├── minimatch │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ │ │ └── lru-cache │ │ │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ │ │ │ │ └── CONTRIBUTORS │ │ │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ │ │ ├── extglob-ending-with-state-char.js │ │ │ │ │ │ │ │ │ │ │ └── caching.js │ │ │ │ │ │ │ │ │ └── inherits │ │ │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ │ │ └── basic.js │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ ├── graceful-fs │ │ │ │ │ │ │ │ └── .npmignore │ │ │ │ │ │ │ ├── fstream │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ ├── graceful-fs │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ ├── fs.js │ │ │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ │ │ └── readdir-sort.js │ │ │ │ │ │ │ │ │ └── inherits │ │ │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ └── .npmignore │ │ │ │ │ │ │ ├── tar │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ │ └── block-stream │ │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ │ │ ├── fixtures.tgz │ │ │ │ │ │ │ │ │ └── zz-cleanup.js │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ │ ├── packer.js │ │ │ │ │ │ │ │ │ └── extracter.js │ │ │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ │ │ └── global-header-writer.js │ │ │ │ │ │ │ ├── readable-stream │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ │ ├── string_decoder │ │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ │ ├── core-util-is │ │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ │ └── isarray │ │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ │ └── component.json │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── duplex.js │ │ │ │ │ │ │ │ ├── writable.js │ │ │ │ │ │ │ │ ├── passthrough.js │ │ │ │ │ │ │ │ ├── transform.js │ │ │ │ │ │ │ │ └── readable.js │ │ │ │ │ │ │ ├── rimraf │ │ │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ │ │ ├── test-sync.js │ │ │ │ │ │ │ │ │ ├── test-async.js │ │ │ │ │ │ │ │ │ └── run.sh │ │ │ │ │ │ │ │ └── AUTHORS │ │ │ │ │ │ │ ├── debug │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ ├── uid-number │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ └── once │ │ │ │ │ │ │ │ ├── once.js │ │ │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ │ └── once.js │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ └── .npmignore │ │ │ │ │ ├── npmlog │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ ├── ansi │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── .jshintrc │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ ├── beep │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ └── clear │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ └── History.md │ │ │ │ │ │ │ ├── are-we-there-yet │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ ├── delegates │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ └── History.md │ │ │ │ │ │ │ │ └── readable-stream │ │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ │ ├── string_decoder │ │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ │ ├── core-util-is │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ └── isarray │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ └── component.json │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── duplex.js │ │ │ │ │ │ │ │ ├── transform.js │ │ │ │ │ │ │ │ ├── writable.js │ │ │ │ │ │ │ │ ├── passthrough.js │ │ │ │ │ │ │ │ └── readable.js │ │ │ │ │ │ │ └── gauge │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── has-unicode │ │ │ │ │ │ │ │ ├── README.md~ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ ├── lodash.pad │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ │ ├── lodash._basetostring │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ │ └── lodash._createpadding │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ │ └── lodash.repeat │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ ├── lodash.padleft │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ │ ├── lodash._basetostring │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ │ └── lodash._createpadding │ │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ │ └── lodash.repeat │ │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ └── lodash.padright │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ ├── lodash._basetostring │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ └── lodash._createpadding │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ └── lodash.repeat │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ └── example.png │ │ │ │ │ ├── rc │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── deep-extend │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ │ └── mocha.opts │ │ │ │ │ │ │ └── minimist │ │ │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ │ └── parse.js │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── whitespace.js │ │ │ │ │ │ │ │ ├── parse_modified.js │ │ │ │ │ │ │ │ ├── stop_early.js │ │ │ │ │ │ │ │ ├── kv_short.js │ │ │ │ │ │ │ │ └── dotted.js │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── browser.js │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ └── ini.js │ │ │ │ │ │ └── LICENSE.APACHE2 │ │ │ │ │ ├── tar │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ │ │ └── test.js │ │ │ │ │ │ │ ├── fstream │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ │ └── graceful-fs │ │ │ │ │ │ │ │ │ └── fs.js │ │ │ │ │ │ │ └── block-stream │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── test │ │ │ │ │ │ │ ├── fixtures.tgz │ │ │ │ │ │ │ ├── cb-never-called-1.0.1.tgz │ │ │ │ │ │ │ └── zz-cleanup.js │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── global-header-writer.js │ │ │ │ │ │ └── examples │ │ │ │ │ │ │ ├── extracter.js │ │ │ │ │ │ │ └── packer.js │ │ │ │ │ ├── semver │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ └── .travis.yml │ │ │ │ │ ├── mkdirp │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── minimist │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ │ └── parse.js │ │ │ │ │ │ │ │ └── test │ │ │ │ │ │ │ │ ├── whitespace.js │ │ │ │ │ │ │ │ ├── parse_modified.js │ │ │ │ │ │ │ │ ├── dotted.js │ │ │ │ │ │ │ │ └── default_bool.js │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ └── pow.js │ │ │ │ │ │ ├── bin │ │ │ │ │ │ │ └── usage.txt │ │ │ │ │ │ └── test │ │ │ │ │ │ │ └── root.js │ │ │ │ │ └── rimraf │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ └── glob │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ ├── inherits │ │ │ │ │ │ ├── inherits.js │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── minimatch │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ └── brace-expansion │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ ├── balanced-match │ │ │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ └── example.js │ │ │ │ │ │ │ └── concat-map │ │ │ │ │ │ │ │ ├── .travis.yml │ │ │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ │ └── map.js │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ └── example.js │ │ │ │ │ │ ├── inflight │ │ │ │ │ │ └── .eslintrc │ │ │ │ │ │ ├── once │ │ │ │ │ │ ├── once.js │ │ │ │ │ │ └── test │ │ │ │ │ │ │ └── once.js │ │ │ │ │ │ └── path-is-absolute │ │ │ │ │ │ └── index.js │ │ │ │ ├── bin │ │ │ │ │ └── node-pre-gyp.cmd │ │ │ │ ├── lib │ │ │ │ │ ├── util │ │ │ │ │ │ └── nw-pre-gyp │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── rebuild.js │ │ │ │ │ └── reinstall.js │ │ │ │ └── appveyor.yml │ │ │ └── nan │ │ │ │ ├── include_dirs.js │ │ │ │ └── tools │ │ │ │ ├── README.md │ │ │ │ └── package.json │ │ │ ├── .gitmodules │ │ │ └── build │ │ │ └── HID │ │ │ └── v0.5.1 │ │ │ └── Release │ │ │ └── node-v46-darwin-x64 │ │ │ └── HID.node │ │ ├── .npmignore │ │ ├── examples │ │ ├── c.jar │ │ ├── test_screenshot.png │ │ └── ps3client.html │ │ └── lib │ │ └── ps3.js ├── mapping.jpg └── README.md ├── video ├── .gitignore ├── .idea │ ├── .name │ ├── misc.xml │ ├── scopes │ │ └── scope_settings.xml │ ├── encodings.xml │ ├── vcs.xml │ ├── ardrone-nodejs-browser-control.iml │ └── modules.xml ├── manual.js ├── drone │ └── camera-feed.js ├── README.md ├── server.js ├── package.json ├── public │ └── drone-feed.html └── client.js └── app ├── Drone ├── Assets.xcassets │ ├── Contents.json │ ├── AppIcon.appiconset │ │ ├── Drone app icon-29.png │ │ ├── Drone app icon-40.png │ │ ├── Drone app icon-76.png │ │ ├── Drone app icon-29@2x.png │ │ ├── Drone app icon-29@3x.png │ │ ├── Drone app icon-40@2x.png │ │ ├── Drone app icon-40@3x.png │ │ ├── Drone app icon-60@2x.png │ │ ├── Drone app icon-60@3x.png │ │ ├── Drone app icon-76@2x.png │ │ └── Drone app icon-83.5@2x.png │ └── cardboard-outline.imageset │ │ ├── cardboard-outline.png │ │ └── Contents.json ├── ViewController.swift └── FPVViewController.swift ├── Drone.xcodeproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ ├── Andy.xcuserdatad │ └── UserInterfaceState.xcuserstate │ ├── wc-sfhs.xcuserdatad │ └── UserInterfaceState.xcuserstate │ ├── johnghantous.xcuserdatad │ └── UserInterfaceState.xcuserstate │ ├── nishandsouza.xcuserdatad │ └── UserInterfaceState.xcuserstate │ └── Arnav_Gudibande.xcuserdatad │ └── UserInterfaceState.xcuserstate ├── DroneTests └── Info.plist └── DroneUITests └── Info.plist /ps3/.npmignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | -------------------------------------------------------------------------------- /video/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /video/.idea/.name: -------------------------------------------------------------------------------- 1 | ardrone-nodejs-browser-control -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/.npmignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | *.un~ 3 | /node_modules 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/pc/.npmignore: -------------------------------------------------------------------------------- 1 | *.pc 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/test/run.js: -------------------------------------------------------------------------------- 1 | var urun = require('urun'); 2 | urun(__dirname); 3 | -------------------------------------------------------------------------------- /ps3/mapping.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/mapping.jpg -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | build 3 | node_modules 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/src/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | build 3 | .lock-wscript 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/testgui/TestGUI.app.in/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPL???? -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/windows/ddk_build/.npmignore: -------------------------------------------------------------------------------- 1 | *.log 2 | obj*_*_* -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | npm test 5 | 6 | .PHONY: test 7 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/.bin/node-pre-gyp: -------------------------------------------------------------------------------- 1 | ../node-pre-gyp/bin/node-pre-gyp -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/.bin/rc: -------------------------------------------------------------------------------- 1 | ../rc/index.js -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/node_modules/buffy/benchmarks/Readme.md: -------------------------------------------------------------------------------- 1 | # Benchmarks 2 | 3 | Work in progress ... 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/node_modules/buffy/test/run.js: -------------------------------------------------------------------------------- 1 | var urun = require('urun'); 2 | urun(__dirname); 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/.bin/nopt: -------------------------------------------------------------------------------- 1 | ../nopt/bin/nopt.js -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/.bin/rimraf: -------------------------------------------------------------------------------- 1 | ../rimraf/bin.js -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/.bin/mkdirp: -------------------------------------------------------------------------------- 1 | ../mkdirp/bin/cmd.js -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/.bin/semver: -------------------------------------------------------------------------------- 1 | ../semver/bin/semver -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/nopt/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | autoreconf --install --verbose --force 3 | -------------------------------------------------------------------------------- /video/manual.js: -------------------------------------------------------------------------------- 1 | var arDrone = require('ar-drone'); 2 | var client = arDrone.createClient(); 3 | client.createRepl(); 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/packed-file.txt: -------------------------------------------------------------------------------- 1 | bar -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/to-pack/bar.txt: -------------------------------------------------------------------------------- 1 | baz -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/to-pack/foo.txt: -------------------------------------------------------------------------------- 1 | bar -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | ._.DS_Store 3 | node_modules 4 | ._.gitignore 5 | examples/._test_screenshot.png 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/node_modules/buffy/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | node test/run.js 5 | 6 | .PHONY: test 7 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/nan/include_dirs.js: -------------------------------------------------------------------------------- 1 | console.log(require('path').relative('.', __dirname)); 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/.npmignore: -------------------------------------------------------------------------------- 1 | *.tgz 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/node_modules/buffy/.npmignore: -------------------------------------------------------------------------------- 1 | *.un~ 2 | /node_modules 3 | /benchmarks/fixtures/*.bin 4 | /benchmarks/node_modules 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/examples/c.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/examples/c.jar -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/bin/node-pre-gyp.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | node "%~dp0\node-pre-gyp" %* 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --reporter spec 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/.npmignore: -------------------------------------------------------------------------------- 1 | /*.tgz 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/.npmignore: -------------------------------------------------------------------------------- 1 | */a 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/src/show-devices.js: -------------------------------------------------------------------------------- 1 | var HID = require('../'); 2 | 3 | console.log('devices:', HID.devices()); 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "hidapi"] 2 | path = hidapi 3 | url = https://github.com/signal11/hidapi.git 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/libusb/.npmignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.so 3 | *.la 4 | *.lo 5 | *.a 6 | .libs 7 | .deps 8 | hidtest-libusb 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/ignore.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/.npmignore: -------------------------------------------------------------------------------- 1 | test/fixtures 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/lib/browser.js: -------------------------------------------------------------------------------- 1 | module.exports = FormData; -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/test/fixtures/pave.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ar-drone/test/fixtures/pave.bin -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/testgui/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | xterm -e /Users/alan/work/hidapi/testgui/TestGUI.app/Contents/MacOS/tg 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/.zuul.yml: -------------------------------------------------------------------------------- 1 | ui: tape 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/ctype/.npmignore: -------------------------------------------------------------------------------- 1 | tst/ 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/.ignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | .*.swp 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | - 0.11 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/test/fixtures/navdata.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ar-drone/test/fixtures/navdata.bin -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/test/fixtures/pave-68.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ar-drone/test/fixtures/pave-68.bin -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | .#* 3 | node_modules 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/semver/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | coverage/ 3 | .nyc_output/ 4 | nyc_output/ 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /video/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/examples/test_screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/examples/test_screenshot.png -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "laxcomma": true, 3 | "asi": true 4 | } 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test1.js: -------------------------------------------------------------------------------- 1 | exports.x = 1; 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test2.js: -------------------------------------------------------------------------------- 1 | exports.y = 2; 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/test/modules/test3.js: -------------------------------------------------------------------------------- 1 | exports.z = 3; 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/m4/.npmignore: -------------------------------------------------------------------------------- 1 | # Ignore All, except pkg.m4, and of course this file. 2 | * 3 | !.gitignore 4 | !pkg.m4 5 | !ax_pthread.m4 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --recursive 2 | --require must 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.npmignore: -------------------------------------------------------------------------------- 1 | .nyc_output 2 | nyc_output 3 | node_modules 4 | coverage 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/semver/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.10' 4 | - '0.12' 5 | - 'iojs' 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | node_modules 3 | examples/extract/ 4 | test/tmp/ 5 | test/fixtures/ 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /video/.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-29.png -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-40.png -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-76.png -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/.npmignore: -------------------------------------------------------------------------------- 1 | coverage 2 | tests 3 | node_modules 4 | examples 5 | release.sh 6 | disabled.appveyor.yml 7 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | cosmicrealms.com 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-29@2x.png -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-29@3x.png -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-40@2x.png -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-40@3x.png -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-60@2x.png -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-60@3x.png -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-76@2x.png -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | *.sln text eol=crlf 4 | *.vcproj text eol=crlf 5 | 6 | bootstrap text eol=lf 7 | configure.ac text eol=lf 8 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.10' 4 | - '0.12' 5 | - 'iojs' 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "node": true, 3 | "asi": true, 4 | "laxcomma": true 5 | } 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/AppIcon.appiconset/Drone app icon-83.5@2x.png -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 4.0 6 | 7 | sudo: false 8 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | node_modules 3 | examples/extract/ 4 | test/tmp/ 5 | test/fixtures/ 6 | -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/cardboard-outline.imageset/cardboard-outline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone/Assets.xcassets/cardboard-outline.imageset/cardboard-outline.png -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | -------------------------------------------------------------------------------- /video/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | node_modules/ 3 | examples/deep-copy/ 4 | examples/path/ 5 | examples/filter-copy/ 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/node_modules/buffy/index.js: -------------------------------------------------------------------------------- 1 | var buffy = exports; 2 | 3 | buffy.Reader = require('./lib/Reader'); 4 | buffy.createReader = function(options) { 5 | return new buffy.Reader(options); 6 | }; 7 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/node_modules/buffy/test/common.js: -------------------------------------------------------------------------------- 1 | var common = exports; 2 | var path = require('path'); 3 | 4 | common.root = path.join(__dirname, '..'); 5 | common.lib = path.join(common.root, 'lib'); 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/.npmignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | node_modules/ 3 | examples/deep-copy/ 4 | examples/path/ 5 | examples/filter-copy/ 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/.npmignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .DS_Store 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 4.0 6 | 7 | sudo: false 8 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 4.0 6 | 7 | sudo: false 8 | 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /video/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/README.md~: -------------------------------------------------------------------------------- 1 | has-unicode 2 | =========== 3 | 4 | Try to guess if your terminal supports unicode 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/Makefile: -------------------------------------------------------------------------------- 1 | browser: 2 | node ./support/compile 3 | 4 | .PHONY: browser -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /app/Drone.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/windows/.npmignore: -------------------------------------------------------------------------------- 1 | Debug 2 | Release 3 | *.exp 4 | *.ilk 5 | *.lib 6 | *.suo 7 | *.vcproj.* 8 | *.ncb 9 | *.suo 10 | *.dll 11 | *.pdb 12 | .deps 13 | .libs 14 | *.lo 15 | *.la 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | .PHONY: test 7 | 8 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 4.0 6 | 7 | sudo: false 8 | 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/test-sync.js: -------------------------------------------------------------------------------- 1 | var rimraf = require("../rimraf") 2 | , path = require("path") 3 | rimraf.sync(path.join(__dirname, "target")) 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign/README.md: -------------------------------------------------------------------------------- 1 | oauth-sign 2 | ========== 3 | 4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent/README.md: -------------------------------------------------------------------------------- 1 | tunnel-agent 2 | ============ 3 | 4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /app/Drone.xcodeproj/project.xcworkspace/xcuserdata/Andy.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone.xcodeproj/project.xcworkspace/xcuserdata/Andy.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/build/HID/v0.5.1/Release/node-v46-darwin-x64/HID.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/build/HID/v0.5.1/Release/node-v46-darwin-x64/HID.node -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | To get started, sign the 3 | Contributor License Agreement. 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/browser.js: -------------------------------------------------------------------------------- 1 | 2 | // when this is loaded into the browser, 3 | // just use the defaults... 4 | 5 | module.exports = function (name, defaults) { 6 | return defaults 7 | } 8 | -------------------------------------------------------------------------------- /video/drone/camera-feed.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created with JetBrains WebStorm. 3 | * User: rohitghatol 4 | * Date: 6/29/13 5 | * Time: 6:36 PM 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | 9 | require("dronestream").listen(3001); -------------------------------------------------------------------------------- /app/Drone.xcodeproj/project.xcworkspace/xcuserdata/wc-sfhs.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone.xcodeproj/project.xcworkspace/xcuserdata/wc-sfhs.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/mac/.npmignore: -------------------------------------------------------------------------------- 1 | Debug 2 | Release 3 | *.exp 4 | *.ilk 5 | *.lib 6 | *.suo 7 | *.vcproj.* 8 | *.ncb 9 | *.suo 10 | *.dll 11 | *.pdb 12 | *.o 13 | hidapi-hidtest 14 | .deps 15 | .libs 16 | *.la 17 | *.lo 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "io.js" 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/aws-sign2/README.md: -------------------------------------------------------------------------------- 1 | aws-sign 2 | ======== 3 | 4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module. 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/index.js: -------------------------------------------------------------------------------- 1 | if ('undefined' == typeof window) { 2 | module.exports = require('./lib/debug'); 3 | } else { 4 | module.exports = require('./debug'); 5 | } 6 | -------------------------------------------------------------------------------- /app/Drone.xcodeproj/project.xcworkspace/xcuserdata/johnghantous.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone.xcodeproj/project.xcworkspace/xcuserdata/johnghantous.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /app/Drone.xcodeproj/project.xcworkspace/xcuserdata/nishandsouza.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone.xcodeproj/project.xcworkspace/xcuserdata/nishandsouza.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/test/fixtures.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/test/fixtures.tgz -------------------------------------------------------------------------------- /app/Drone.xcodeproj/project.xcworkspace/xcuserdata/Arnav_Gudibande.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/app/Drone.xcodeproj/project.xcworkspace/xcuserdata/Arnav_Gudibande.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/linux/.npmignore: -------------------------------------------------------------------------------- 1 | Debug 2 | Release 3 | *.exp 4 | *.ilk 5 | *.lib 6 | *.suo 7 | *.vcproj.* 8 | *.ncb 9 | *.suo 10 | *.dll 11 | *.pdb 12 | *.o 13 | *.so 14 | hidtest-hidraw 15 | .deps 16 | .libs 17 | *.lo 18 | *.la 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/testgui/TestGUI.app.in/Contents/Resources/Signal11.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/testgui/TestGUI.app.in/Contents/Resources/Signal11.icns -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/nopt/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | language: node_js 3 | node_js: 4 | - '0.8' 5 | - '0.10' 6 | - '0.12' 7 | - 'iojs' 8 | before_install: 9 | - npm install -g npm@latest 10 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should \ 5 | --reporter spec \ 6 | --bail 7 | 8 | .PHONY: test -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test/*.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | 9 | pids 10 | logs 11 | results 12 | 13 | npm-debug.log 14 | node_modules 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/hidtest/.npmignore: -------------------------------------------------------------------------------- 1 | Debug 2 | Release 3 | *.exp 4 | *.ilk 5 | *.lib 6 | *.suo 7 | *.vcproj.* 8 | *.ncb 9 | *.suo 10 | *.dll 11 | *.pdb 12 | *.o 13 | .deps/ 14 | .libs/ 15 | hidtest-hidraw 16 | hidtest-libusb 17 | hidtest 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Array.isArray || function (arr) { 2 | return Object.prototype.toString.call(arr) == '[object Array]'; 3 | }; 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "iojs" 8 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/test-async.js: -------------------------------------------------------------------------------- 1 | var rimraf = require("../rimraf") 2 | , path = require("path") 3 | rimraf(path.join(__dirname, "target"), function (er) { 4 | if (er) throw er 5 | }) 6 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | node_modules 15 | npm-debug.log -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Array.isArray || function (arr) { 2 | return Object.prototype.toString.call(arr) == '[object Array]'; 3 | }; 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/test/cb-never-called-1.0.1.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/test/cb-never-called-1.0.1.tgz -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/examples/tcp-video-stream.js: -------------------------------------------------------------------------------- 1 | // Run this to receive the raw video stream from your drone as buffers. 2 | 3 | var arDrone = require('..'); 4 | 5 | var video = arDrone.createClient().getVideoStream(); 6 | 7 | video.on('data', console.log); 8 | video.on('error', console.log); 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/forever-agent/README.md: -------------------------------------------------------------------------------- 1 | forever-agent 2 | ============= 3 | 4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/packed.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/test/fixtures/packed.tar.gz -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - iojs 4 | - 0.12 5 | - 0.10 6 | - 0.8 7 | before_install: 8 | - "npm config set spin false" 9 | - "npm install -g npm/npm" 10 | -------------------------------------------------------------------------------- /video/README.md: -------------------------------------------------------------------------------- 1 | A.R Drone Video Stream 2 | ========================== 3 | 4 | This broadcasts the stream from the A.R. Drone 2.0 to localhost:3000 5 | 6 | References 7 | ------------ 8 | This project uses following libraries: 9 | * node-ar-drone 10 | * dronestream 11 | * socket.io 12 | 13 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "index.html", 3 | "name": "nw-pre-gyp-module-test", 4 | "description": "Node-webkit-based module test.", 5 | "version": "0.0.1", 6 | "window": { 7 | "show": false 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Array.isArray || function (arr) { 2 | return Object.prototype.toString.call(arr) == '[object Array]'; 3 | }; 4 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/example.png -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/har.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "log" 5 | ], 6 | "properties": { 7 | "log": { 8 | "$ref": "#log" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/testgui/TestGUI.app.in/Contents/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/testgui/TestGUI.app.in/Contents/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/images/hawk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/images/hawk.png -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/images/logo.png -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2012 Michael Hart (michael.hart.au@gmail.com) 2 | 3 | This project is free software released under the MIT license: 4 | http://www.opensource.org/licenses/mit-license.php 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/lib/misc/meta.js: -------------------------------------------------------------------------------- 1 | var meta = exports; 2 | 3 | // lists public methods of a class 4 | meta.methods = function(Constructor) { 5 | var methods = Object.keys(Constructor.prototype); 6 | 7 | return methods.filter(function(name) { 8 | return !/^_/.test(name); 9 | }); 10 | }; 11 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/node.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * For Node.js, simply re-export the core `util.deprecate` function. 4 | */ 5 | 6 | module.exports = require('util').deprecate; 7 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/fixtures.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/fixtures.tgz -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.8' 4 | - '0.10' 5 | - '0.12' 6 | - 'iojs' 7 | before_install: 8 | - npm install -g npm@latest 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/.dir-locals.el: -------------------------------------------------------------------------------- 1 | ((nil . ((indent-tabs-mode . nil) 2 | (tab-width . 8) 3 | (fill-column . 80))) 4 | (js-mode . ((js-indent-level . 2) 5 | (indent-tabs-mode . nil) 6 | ))) -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/windows/Makefile-manual: -------------------------------------------------------------------------------- 1 | 2 | 3 | OS=$(shell uname) 4 | 5 | ifneq (,$(findstring MINGW,$(OS))) 6 | FILE=Makefile.mingw 7 | endif 8 | 9 | ifeq ($(FILE), ) 10 | all: 11 | $(error Your platform ${OS} is not supported at this time.) 12 | endif 13 | 14 | include $(FILE) 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var ansiRegex = require('ansi-regex'); 3 | var re = new RegExp(ansiRegex().source); // remove the `g` flag 4 | module.exports = re.test.bind(re); 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | branches: 7 | only: 8 | - master 9 | notifications: 10 | email: 11 | - rod@vagg.org 12 | script: npm test 13 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | */ 10 | 11 | module.exports = require('./db.json') 12 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/node_modules/buffy/benchmarks/Makefile: -------------------------------------------------------------------------------- 1 | results/ascii-strings-binary.csv: binary.js fixtures/ascii-strings.bin 2 | node $^ | tee $@ 3 | 4 | results/ascii-strings-buffy.csv: buffy.js fixtures/ascii-strings.bin 5 | node $^ | tee $@ 6 | 7 | fixtures/ascii-strings.bin: fixtures/generate-strings.js 8 | node $^ $@ 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/testgui/.npmignore: -------------------------------------------------------------------------------- 1 | Debug 2 | Release 3 | *.exp 4 | *.ilk 5 | *.lib 6 | *.suo 7 | *.vcproj.* 8 | *.ncb 9 | *.suo 10 | *.dll 11 | *.pdb 12 | *.o 13 | hidapi-testgui 14 | hidapi-hidraw-testgui 15 | hidapi-libusb-testgui 16 | .deps 17 | .libs 18 | *.la 19 | *.lo 20 | TestGUI.app 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: "node_js" 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.10 6 | - 0.11 7 | - 0.12 8 | - iojs-v1.0 9 | - iojs-v2.0 10 | - iojs 11 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/mac/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi.la 2 | libhidapi_la_SOURCES = hid.c 3 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 5 | 6 | hdrdir = $(includedir)/hidapi 7 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 8 | 9 | EXTRA_DIST = Makefile-manual 10 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sfhacks/Virtual-Reality-Drone/HEAD/ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var ansiRegex = require('ansi-regex')(); 3 | 4 | module.exports = function (str) { 5 | return typeof str === 'string' ? str.replace(ansiRegex, '') : str; 6 | }; 7 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/error.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | function ValidationError (errors) { 4 | this.name = 'ValidationError' 5 | this.errors = errors 6 | } 7 | 8 | ValidationError.prototype = Error.prototype 9 | 10 | module.exports = ValidationError 11 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js: -------------------------------------------------------------------------------- 1 | var balanced = require('./'); 2 | 3 | console.log(balanced('{', '}', 'pre{in{nested}}post')); 4 | console.log(balanced('{', '}', 'pre{first}between{second}post')); 5 | 6 | -------------------------------------------------------------------------------- /video/.idea/ardrone-nodejs-browser-control.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/LICENSE-orig.txt: -------------------------------------------------------------------------------- 1 | HIDAPI - Multi-Platform library for 2 | communication with HID devices. 3 | 4 | Copyright 2009, Alan Ott, Signal 11 Software. 5 | All Rights Reserved. 6 | 7 | This software may be used by anyone for any reason so 8 | long as the copyright notice in the source files 9 | remains intact. 10 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/AUTHORS: -------------------------------------------------------------------------------- 1 | # Authors sorted by whether or not they're me. 2 | Isaac Z. Schlueter (http://blog.izs.me) 3 | Wayne Larsen (http://github.com/wvl) 4 | ritch 5 | Marcel Laverdet 6 | Yosef Dinerstein 7 | -------------------------------------------------------------------------------- /video/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /video/server.js: -------------------------------------------------------------------------------- 1 | var compression = require('compression'); 2 | 3 | var express = require('express') 4 | , app = express() 5 | , server = require("http").createServer(app) 6 | 7 | app.use(compression()); 8 | app.use(express.static(__dirname + '/public')); 9 | 10 | require("./drone/camera-feed"); 11 | require("./drone/controller"); 12 | 13 | server.listen(3000); 14 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @node node_modules/lab/bin/lab 3 | test-cov: 4 | @node node_modules/lab/bin/lab -t 100 -m 3000 5 | test-cov-html: 6 | @node node_modules/lab/bin/lab -r html -o coverage.html 7 | 8 | .PHONY: test test-cov test-cov-html 9 | 10 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/lib/control/AtCommand.js: -------------------------------------------------------------------------------- 1 | module.exports = AtCommand; 2 | function AtCommand(type, number, args) { 3 | this.type = type; 4 | this.number = number; 5 | this.args = args; 6 | } 7 | 8 | AtCommand.prototype.toString = function() { 9 | var args = [this.number].concat(this.args); 10 | return 'AT*' + this.type + '=' + args.join(',') + '\r'; 11 | }; 12 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/pc/hidapi.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: hidapi 7 | Description: C Library for USB/Bluetooth HID device access from Linux, Mac OS X, FreeBSD, and Windows. 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lhidapi 10 | Cflags: -I${includedir}/hidapi 11 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/cache.json: -------------------------------------------------------------------------------- 1 | { 2 | "properties": { 3 | "beforeRequest": { 4 | "$ref": "#cacheEntry" 5 | }, 6 | "afterRequest": { 7 | "$ref": "#cacheEntry" 8 | }, 9 | "comment": { 10 | "type": "string" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | // Load modules 2 | 3 | var Stringify = require('./stringify'); 4 | var Parse = require('./parse'); 5 | 6 | 7 | // Declare internals 8 | 9 | var internals = {}; 10 | 11 | 12 | module.exports = { 13 | stringify: Stringify, 14 | parse: Parse 15 | }; 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | before_install: 3 | - curl --location http://git.io/1OcIZA | bash -s 4 | node_js: 5 | - 0.8 6 | - 0.10 7 | - 0.11 8 | branches: 9 | only: 10 | - master 11 | notifications: 12 | email: 13 | - rod@vagg.org 14 | script: npm test 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | complexity.md 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/rimraf/test/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | code=0 4 | for i in test-*.js; do 5 | echo -n $i ... 6 | bash setup.sh 7 | node $i 8 | if [ -d target ]; then 9 | echo "fail" 10 | code=1 11 | else 12 | echo "pass" 13 | fi 14 | done 15 | rm -rf target 16 | exit $code 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/libusb/Makefile-manual: -------------------------------------------------------------------------------- 1 | 2 | 3 | OS=$(shell uname) 4 | 5 | ifeq ($(OS), Linux) 6 | FILE=Makefile.linux 7 | endif 8 | 9 | ifeq ($(OS), FreeBSD) 10 | FILE=Makefile.freebsd 11 | endif 12 | 13 | ifeq ($(FILE), ) 14 | all: 15 | $(error Your platform ${OS} is not supported by hidapi/libusb at this time.) 16 | endif 17 | 18 | include $(FILE) 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.1 / 2014-11-25 3 | ================== 4 | 5 | * browser: use `console.warn()` for deprecation calls 6 | * browser: more jsdocs 7 | 8 | 1.0.0 / 2014-04-30 9 | ================== 10 | 11 | * initial commit 12 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/.npmignore: -------------------------------------------------------------------------------- 1 | 2 | # Autotools-added generated files 3 | Makefile.in 4 | aclocal.m4 5 | autom4te.cache/ 6 | config.* 7 | configure 8 | depcomp 9 | install-sh 10 | libusb/Makefile.in 11 | linux/Makefile.in 12 | ltmain.sh 13 | mac/Makefile.in 14 | missing 15 | testgui/Makefile.in 16 | windows/Makefile.in 17 | 18 | Makefile 19 | stamp-h1 20 | libtool 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: [123] }); 9 | }); 10 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/extglob-ending-with-state-char.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var minimatch = require('../') 3 | 4 | test('extglob ending with statechar', function(t) { 5 | t.notOk(minimatch('ax', 'a?(b*)')) 6 | t.ok(minimatch('ax', '?(a*|b)')) 7 | t.end() 8 | }) 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: ['123'] }); 9 | }); 10 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | npm-debug.log 15 | node_modules/* 16 | *.DS_Store 17 | test/* -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | complexity.md 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/test/common.js: -------------------------------------------------------------------------------- 1 | var common = exports; 2 | var path = require('path'); 3 | 4 | common.root = path.join(__dirname, '..'); 5 | common.lib = path.join(common.root, 'lib'); 6 | common.fixtures = path.join(__dirname, 'fixtures'); 7 | 8 | common.UDP_PORT = 13571; 9 | common.TCP_PORT = 13572; 10 | 11 | common.isTravisCi = function() { 12 | return Boolean(process.env.CI); 13 | }; 14 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/testgui/mac_support.h: -------------------------------------------------------------------------------- 1 | /******************************* 2 | Mac support for HID Test GUI 3 | 4 | Alan Ott 5 | Signal 11 Software 6 | 7 | *******************************/ 8 | 9 | #ifndef MAC_SUPPORT_H__ 10 | #define MAC_SUPPORT_H__ 11 | 12 | extern "C" { 13 | void init_apple_message_system(); 14 | void check_apple_events(); 15 | } 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/lib/rebuild.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = exports = rebuild; 4 | 5 | exports.usage = 'Runs "clean" and "build" at once'; 6 | 7 | function rebuild (gyp, argv, callback) { 8 | gyp.todo.unshift( 9 | { name: 'clean', args: [] }, 10 | { name: 'build', args: ['rebuild'] } 11 | ); 12 | process.nextTick(callback); 13 | } 14 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/lib/reinstall.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = exports = rebuild; 4 | 5 | exports.usage = 'Runs "clean" and "install" at once'; 6 | 7 | function rebuild (gyp, argv, callback) { 8 | gyp.todo.unshift( 9 | { name: 'clean', args: [] }, 10 | { name: 'install', args: [] } 11 | ); 12 | process.nextTick(callback); 13 | } 14 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/index.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | , lstat = fs.lstatSync; 3 | 4 | exports.readlinkSync = function (p) { 5 | if (lstat(p).isSymbolicLink()) { 6 | return fs.readlinkSync(p); 7 | } else { 8 | return p; 9 | } 10 | }; 11 | 12 | 13 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | var tap = require("tap") 2 | , rimraf = require("rimraf") 3 | , path = require("path") 4 | 5 | tap.test("remove fixtures", function (t) { 6 | rimraf(path.resolve(__dirname, "fixtures"), function (er) { 7 | t.ifError(er, "remove fixtures") 8 | t.end() 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | components 7 | build 8 | results.tap 9 | results.xml 10 | npm-shrinkwrap.json 11 | config.json 12 | .DS_Store 13 | */.DS_Store 14 | */*/.DS_Store 15 | ._* 16 | */._* 17 | */*/._* 18 | coverage.* 19 | lib-cov 20 | 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/test/unit/control/test-at.js: -------------------------------------------------------------------------------- 1 | var common = require('../../common'); 2 | var assert = require('assert'); 3 | var test = require('utest'); 4 | var at = require(common.lib + '/control/at'); 5 | 6 | test('at', { 7 | '-0.8': function() { 8 | assert.equal(at.floatString(-0.8), -1085485875); 9 | }, 10 | 11 | '0': function() { 12 | assert.equal(at.floatString(0), 0); 13 | }, 14 | }); 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/linux/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi-hidraw.la 2 | libhidapi_hidraw_la_SOURCES = hid.c 3 | libhidapi_hidraw_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ $(CFLAGS_HIDRAW) 5 | libhidapi_hidraw_la_LIBADD = $(LIBS_HIDRAW) 6 | 7 | hdrdir = $(includedir)/hidapi 8 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 9 | 10 | EXTRA_DIST = Makefile-manual 11 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/pc/hidapi-libusb.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: hidapi-libusb 7 | Description: C Library for USB HID device access from Linux, Mac OS X, FreeBSD, and Windows. This is the libusb implementation. 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lhidapi-libusb 10 | Cflags: -I${includedir}/hidapi 11 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/lib/control/at.js: -------------------------------------------------------------------------------- 1 | // module for generic AT command related functionality 2 | var at = exports; 3 | 4 | at.floatString = function(number) { 5 | // Not sure if this is correct, but it works for the example provided in 6 | // the drone manual ... (should be revisted) 7 | var buffer = new Buffer(4); 8 | buffer.writeFloatBE(number, 0); 9 | return -~parseInt(buffer.toString('hex'), 16) - 1; 10 | }; 11 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/test/test.js: -------------------------------------------------------------------------------- 1 | require('./basic-test') 2 | 3 | if (!process.env.SAUCE_KEY || !process.env.SAUCE_USER) 4 | return console.log('SAUCE_KEY and/or SAUCE_USER not set, not running sauce tests') 5 | 6 | if (!/v0\.10/.test(process.version)) 7 | return console.log('Not Node v0.10.x, not running sauce tests') 8 | 9 | require('./sauce.js') -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/pc/hidapi-hidraw.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: hidapi-hidraw 7 | Description: C Library for USB/Bluetooth HID device access from Linux, Mac OS X, FreeBSD, and Windows. This is the hidraw implementation. 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lhidapi-hidraw 10 | Cflags: -I${includedir}/hidapi 11 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/test/unit/control/test-AtCommand.js: -------------------------------------------------------------------------------- 1 | var common = require('../../common'); 2 | var assert = require('assert'); 3 | var test = require('utest'); 4 | var AtCommand = require(common.lib + '/control/AtCommand'); 5 | 6 | test('AtCommand', { 7 | 'converting to string': function() { 8 | var cmd = new AtCommand('FOO', 1, [2, '3']); 9 | assert.equal(cmd.toString(), 'AT*FOO=1,2,3\r'); 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/pageTimings.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "properties": { 4 | "onContentLoad": { 5 | "type": "number", 6 | "min": -1 7 | }, 8 | "onLoad": { 9 | "type": "number", 10 | "min": -1 11 | }, 12 | "comment": { 13 | "type": "string" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/test.js: -------------------------------------------------------------------------------- 1 | var tape = require('tape') 2 | var gen = require('./') 3 | 4 | tape('valid', function(t) { 5 | t.same(gen('a', 'b'), 'a.b') 6 | t.end() 7 | }) 8 | 9 | tape('invalid', function(t) { 10 | t.same(gen('a', '-b'), 'a["-b"]') 11 | t.end() 12 | }) -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/record.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "name", 5 | "value" 6 | ], 7 | "properties": { 8 | "name": { 9 | "type": "string" 10 | }, 11 | "value": { 12 | "type": "string" 13 | }, 14 | "comment": { 15 | "type": "string" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | 4 | module.exports = { 5 | 6 | newInvalidAsn1Error: function(msg) { 7 | var e = new Error(); 8 | e.name = 'InvalidAsn1Error'; 9 | e.message = msg || ''; 10 | return e; 11 | } 12 | 13 | }; 14 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/node_modules/buffy/benchmarks/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Felix Geisendörfer (http://debuggable.com/)", 3 | "name": "buffy-benchmarks", 4 | "private": true, 5 | "version": "0.0.0", 6 | "dependencies": { 7 | "binary": "~0.3.0", 8 | "lorem-ipsum": "0.0.7" 9 | }, 10 | "devDependencies": {}, 11 | "optionalDependencies": {}, 12 | "engines": { 13 | "node": "*" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.0 / 2014-10-17 3 | ================== 4 | 5 | * adds `.fluent()` to api 6 | 7 | 0.0.3 / 2014-01-13 8 | ================== 9 | 10 | * fix receiver for .method() 11 | 12 | 0.0.2 / 2014-01-13 13 | ================== 14 | 15 | * Object.defineProperty() sucks 16 | * Initial commit 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/creator.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "name", 5 | "version" 6 | ], 7 | "properties": { 8 | "name": { 9 | "type": "string" 10 | }, 11 | "version": { 12 | "type": "string" 13 | }, 14 | "comment": { 15 | "type": "string" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; 4 | 5 | module.exports = function (str) { 6 | if (typeof str !== 'string') { 7 | throw new TypeError('Expected a string'); 8 | } 9 | 10 | return str.replace(matchOperatorsRe, '\\$&'); 11 | }; 12 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/packer.js: -------------------------------------------------------------------------------- 1 | var tar = require("../tar.js") 2 | , fstream = require("fstream") 3 | , fs = require("fs") 4 | 5 | var dir_destination = fs.createWriteStream('dir.tar') 6 | 7 | // This must be a "directory" 8 | fstream.Reader({ path: __dirname, type: "Directory" }) 9 | .pipe(tar.Pack({ noProprietary: true })) 10 | .pipe(dir_destination) -------------------------------------------------------------------------------- /video/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NodeCopter-Trail", 3 | "description": "NodeCopter Trail", 4 | "author": "VR Drone", 5 | "version": "0.0.1", 6 | "dependencies": { 7 | "ar-drone": "latest", 8 | "express": "latest", 9 | "socket.io":"latest", 10 | "socket.io-client":"latest", 11 | "dronestream":"latest" 12 | }, 13 | "devDependencies": { 14 | 15 | }, 16 | "engine": "node >= 0.6.6" 17 | } 18 | -------------------------------------------------------------------------------- /app/Drone/Assets.xcassets/cardboard-outline.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "cardboard-outline.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/mkdirp/bin/usage.txt: -------------------------------------------------------------------------------- 1 | usage: mkdirp [DIR1,DIR2..] {OPTIONS} 2 | 3 | Create each supplied directory including any necessary parent directories that 4 | don't yet exist. 5 | 6 | If the directory already exists, do nothing. 7 | 8 | OPTIONS are: 9 | 10 | -m, --mode If a directory needs to be created, set the mode as an octal 11 | permission string. 12 | 13 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/extracter.js: -------------------------------------------------------------------------------- 1 | var tar = require("../tar.js") 2 | , fs = require("fs") 3 | 4 | fs.createReadStream(__dirname + "/../test/fixtures/c.tar") 5 | .pipe(tar.Extract({ path: __dirname + "/extract" })) 6 | .on("error", function (er) { 7 | console.error("error here") 8 | }) 9 | .on("end", function () { 10 | console.error("done") 11 | }) 12 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/test/ini.js: -------------------------------------------------------------------------------- 1 | var cc =require('../lib/utils') 2 | var INI = require('ini') 3 | var assert = require('assert') 4 | 5 | function test(obj) { 6 | 7 | var _json, _ini 8 | var json = cc.parse (_json = JSON.stringify(obj)) 9 | var ini = cc.parse (_ini = INI.stringify(obj)) 10 | console.log(_ini, _json) 11 | assert.deepEqual(json, ini) 12 | } 13 | 14 | 15 | test({hello: true}) 16 | 17 | -------------------------------------------------------------------------------- /video/public/drone-feed.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Drone Stream 5 | 6 | 7 | 8 |

Ar Drone Parrot Feed

9 |
10 | 11 | 12 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/AUTHORS.txt: -------------------------------------------------------------------------------- 1 | 2 | HIDAPI Authors: 3 | 4 | Alan Ott : 5 | Original Author and Maintainer 6 | Linux, Windows, and Mac implementations 7 | 8 | Ludovic Rousseau : 9 | Formatting for Doxygen documentation 10 | Bug fixes 11 | Correctness fixes 12 | 13 | 14 | For a comprehensive list of contributions, see the commit list at github: 15 | http://github.com/signal11/hidapi/commits/master 16 | 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/HACKING.txt: -------------------------------------------------------------------------------- 1 | This file is mostly for the maintainer. 2 | 3 | 1. Build hidapi.dll 4 | 2. Build hidtest.exe in DEBUG and RELEASE 5 | 3. Commit all 6 | 7 | 4. Run the Following 8 | export VERSION=0.1.0 9 | export TAG_NAME=hidapi-$VERSION 10 | git tag $TAG_NAME 11 | git archive --format zip --prefix $TAG_NAME/ $TAG_NAME >../$TAG_NAME.zip 12 | 5. Test the zip file. 13 | 6. Run the following: 14 | git push origin $TAG_NAME 15 | 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/src/test-ps3.js: -------------------------------------------------------------------------------- 1 | var HID = require('../'); 2 | var REPL = require('repl'); 3 | 4 | var repl = REPL.start('node-hid> '); 5 | var hid = new HID.HID(1356, 616); 6 | 7 | console.log('features', hid.getFeatureReport(0xf2, 17)); 8 | 9 | hid.gotData = function (err, data) { 10 | console.log('got ps3 data', data); 11 | this.read(this.gotData.bind(this)); 12 | } 13 | 14 | hid.read(hid.gotData.bind(hid)); 15 | 16 | repl.context.hid = hid; 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/windows/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi.la 2 | libhidapi_la_SOURCES = hid.c 3 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 5 | libhidapi_la_LIBADD = $(LIBS) 6 | 7 | hdrdir = $(includedir)/hidapi 8 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 9 | 10 | EXTRA_DIST = \ 11 | ddk_build \ 12 | hidapi.vcproj \ 13 | hidtest.vcproj \ 14 | Makefile-manual \ 15 | Makefile.mingw \ 16 | hidapi.sln 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = nextTick; 3 | 4 | function nextTick(fn) { 5 | var args = new Array(arguments.length - 1); 6 | var i = 0; 7 | while (i < args.length) { 8 | args[i++] = arguments[i]; 9 | } 10 | process.nextTick(function afterTick() { 11 | fn.apply(null, args); 12 | }); 13 | } 14 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/bluebird.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var old; 3 | if (typeof Promise !== "undefined") old = Promise; 4 | function noConflict() { 5 | try { if (Promise === bluebird) Promise = old; } 6 | catch (e) {} 7 | return bluebird; 8 | } 9 | var bluebird = require("./promise.js")(); 10 | bluebird.noConflict = noConflict; 11 | module.exports = bluebird; 12 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/each.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = function(Promise, INTERNAL) { 3 | var PromiseReduce = Promise.reduce; 4 | 5 | Promise.prototype.each = function (fn) { 6 | return PromiseReduce(this, fn, null, INTERNAL); 7 | }; 8 | 9 | Promise.each = function (promises, fn) { 10 | return PromiseReduce(promises, fn, null, INTERNAL); 11 | }; 12 | }; 13 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/android/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH:= $(call my-dir) 2 | 3 | HIDAPI_ROOT_REL:= ../.. 4 | HIDAPI_ROOT_ABS:= $(LOCAL_PATH)/../.. 5 | 6 | include $(CLEAR_VARS) 7 | 8 | LOCAL_SRC_FILES := \ 9 | $(HIDAPI_ROOT_REL)/libusb/hid.c 10 | 11 | LOCAL_C_INCLUDES += \ 12 | $(HIDAPI_ROOT_ABS)/hidapi \ 13 | $(HIDAPI_ROOT_ABS)/android 14 | 15 | LOCAL_SHARED_LIBRARIES := libusb1.0 16 | 17 | LOCAL_MODULE := libhidapi 18 | 19 | include $(BUILD_SHARED_LIBRARY) 20 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/stop_early.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('stops parsing on the first non-option when stopEarly is set', function (t) { 5 | var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], { 6 | stopEarly: true 7 | }); 8 | 9 | t.deepEqual(argv, { 10 | aaa: 'bbb', 11 | _: ['ccc', '--ddd'] 12 | }); 13 | 14 | t.end(); 15 | }); 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/windows/ddk_build/hidapi.def: -------------------------------------------------------------------------------- 1 | LIBRARY hidapi 2 | EXPORTS 3 | hid_open @1 4 | hid_write @2 5 | hid_read @3 6 | hid_close @4 7 | hid_get_product_string @5 8 | hid_get_manufacturer_string @6 9 | hid_get_serial_number_string @7 10 | hid_get_indexed_string @8 11 | hid_error @9 12 | hid_set_nonblocking @10 13 | hid_enumerate @11 14 | hid_open_path @12 15 | hid_send_feature_report @13 16 | hid_get_feature_report @14 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/filter.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = function(Promise, INTERNAL) { 3 | var PromiseMap = Promise.map; 4 | 5 | Promise.prototype.filter = function (fn, options) { 6 | return PromiseMap(this, fn, options, INTERNAL); 7 | }; 8 | 9 | Promise.filter = function (promises, fn, options) { 10 | return PromiseMap(promises, fn, options, INTERNAL); 11 | }; 12 | }; 13 | -------------------------------------------------------------------------------- /video/client.js: -------------------------------------------------------------------------------- 1 | 2 | var arDrone = require('ar-drone'); 3 | 4 | var io = require('socket.io-client'), 5 | socket = io.connect('localhost', { 6 | port: 3111 7 | }); 8 | socket.on('connect', function () { console.log("socket connected"); }); 9 | sockets('image', { image: 'whazzzup?' }); 10 | 11 | 12 | var client = arDrone.createClient(); 13 | client.getPngStream() 14 | .on('error', console.log) 15 | .on('data', function(frame) { 16 | socket.emit('image', { image: frame }); 17 | }); 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/beep/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /** 4 | * Invokes the terminal "beep" sound once per second on every exact second. 5 | */ 6 | 7 | process.title = 'beep' 8 | 9 | var cursor = require('../../')(process.stdout) 10 | 11 | function beep () { 12 | cursor.beep() 13 | setTimeout(beep, 1000 - (new Date()).getMilliseconds()) 14 | } 15 | 16 | setTimeout(beep, 1000 - (new Date()).getMilliseconds()) 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/examples/ps3client.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/testgui/Makefile-manual: -------------------------------------------------------------------------------- 1 | 2 | 3 | OS=$(shell uname) 4 | 5 | ifeq ($(OS), Darwin) 6 | FILE=Makefile.mac 7 | endif 8 | 9 | ifneq (,$(findstring MINGW,$(OS))) 10 | FILE=Makefile.mingw 11 | endif 12 | 13 | ifeq ($(OS), Linux) 14 | FILE=Makefile.linux 15 | endif 16 | 17 | ifeq ($(OS), FreeBSD) 18 | FILE=Makefile.freebsd 19 | endif 20 | 21 | ifeq ($(FILE), ) 22 | all: 23 | $(error Your platform ${OS} is not supported at this time.) 24 | endif 25 | 26 | include $(FILE) 27 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/index.js: -------------------------------------------------------------------------------- 1 | var isProperty = require('is-property') 2 | 3 | var gen = function(obj, prop) { 4 | return isProperty(prop) ? obj+'.'+prop : obj+'['+JSON.stringify(prop)+']' 5 | } 6 | 7 | gen.valid = isProperty 8 | gen.property = function (prop) { 9 | return isProperty(prop) ? prop : JSON.stringify(prop) 10 | } 11 | 12 | module.exports = gen 13 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = require('./lib/_stream_readable.js'); 2 | exports.Stream = require('stream'); 3 | exports.Readable = exports; 4 | exports.Writable = require('./lib/_stream_writable.js'); 5 | exports.Duplex = require('./lib/_stream_duplex.js'); 6 | exports.Transform = require('./lib/_stream_transform.js'); 7 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 8 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hawk", 3 | "repo": "hueniverse/hawk", 4 | "description": "HTTP Hawk Authentication Scheme", 5 | "version": "1.0.0", 6 | "keywords": [ 7 | "http", 8 | "authentication", 9 | "scheme", 10 | "hawk" 11 | ], 12 | "dependencies": {}, 13 | "development": {}, 14 | "license": "BSD", 15 | "main": "lib/browser.js", 16 | "scripts": [ 17 | "lib/browser.js" 18 | ] 19 | } -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js: -------------------------------------------------------------------------------- 1 | var Sntp = require('../lib'); 2 | 3 | // Request offset once 4 | 5 | Sntp.offset(function (err, offset) { 6 | 7 | console.log(offset); // New (served fresh) 8 | 9 | // Request offset again 10 | 11 | Sntp.offset(function (err, offset) { 12 | 13 | console.log(offset); // Identical (served from cache) 14 | }); 15 | }); 16 | 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "qs", 3 | "repository": "hapijs/qs", 4 | "description": "query-string parser / stringifier with nesting support", 5 | "version": "5.1.0", 6 | "keywords": ["querystring", "query", "parser"], 7 | "main": "lib/index.js", 8 | "scripts": [ 9 | "lib/index.js", 10 | "lib/parse.js", 11 | "lib/stringify.js", 12 | "lib/utils.js" 13 | ], 14 | "license": "BSD-3-Clause" 15 | } 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/test/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/example/basic.js: -------------------------------------------------------------------------------- 1 | var Ignore = require("../") 2 | Ignore({ path: __dirname 3 | , ignoreFiles: [".ignore", ".gitignore"] 4 | }) 5 | .on("child", function (c) { 6 | console.error(c.path.substr(c.root.path.length + 1)) 7 | c.on("ignoreFile", onIgnoreFile) 8 | }) 9 | .on("ignoreFile", onIgnoreFile) 10 | 11 | function onIgnoreFile (e) { 12 | console.error("adding ignore file", e.path) 13 | } 14 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number/README.md: -------------------------------------------------------------------------------- 1 | Use this module to convert a username/groupname to a uid/gid number. 2 | 3 | Usage: 4 | 5 | ``` 6 | npm install uid-number 7 | ``` 8 | 9 | Then, in your node program: 10 | 11 | ```javascript 12 | var uidNumber = require("uid-number") 13 | uidNumber("isaacs", function (er, uid, gid) { 14 | // gid is null because we didn't ask for a group name 15 | // uid === 24561 because that's my number. 16 | }) 17 | ``` 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/mutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | function extend(target) { 4 | for (var i = 1; i < arguments.length; i++) { 5 | var source = arguments[i] 6 | 7 | for (var key in source) { 8 | if (source.hasOwnProperty(key)) { 9 | target[key] = source[key] 10 | } 11 | } 12 | } 13 | 14 | return target 15 | } 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/once.js: -------------------------------------------------------------------------------- 1 | module.exports = once 2 | 3 | once.proto = once(function () { 4 | Object.defineProperty(Function.prototype, 'once', { 5 | value: function () { 6 | return once(this) 7 | }, 8 | configurable: true 9 | }) 10 | }) 11 | 12 | function once (fn) { 13 | var called = false 14 | return function () { 15 | if (called) return 16 | called = true 17 | return fn.apply(this, arguments) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/clear/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /** 4 | * Like GNU ncurses "clear" command. 5 | * https://github.com/mscdex/node-ncurses/blob/master/deps/ncurses/progs/clear.c 6 | */ 7 | 8 | process.title = 'clear' 9 | 10 | function lf () { return '\n' } 11 | 12 | require('../../')(process.stdout) 13 | .write(Array.apply(null, Array(process.stdout.getWindowSize()[1])).map(lf).join('')) 14 | .eraseData(2) 15 | .goto(1, 1) 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/lib/index.js: -------------------------------------------------------------------------------- 1 | // Export sub-modules 2 | 3 | exports.error = exports.Error = require('boom'); 4 | exports.sntp = require('sntp'); 5 | 6 | exports.server = require('./server'); 7 | exports.client = require('./client'); 8 | exports.crypto = require('./crypto'); 9 | exports.utils = require('./utils'); 10 | 11 | exports.uri = { 12 | authenticate: exports.server.authenticateBewit, 13 | getBewit: exports.client.getBewit 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream/README.md: -------------------------------------------------------------------------------- 1 | # block-stream 2 | 3 | A stream of blocks. 4 | 5 | Write data into it, and it'll output data in buffer blocks the size you 6 | specify, padding with zeroes if necessary. 7 | 8 | ```javascript 9 | var block = new BlockStream(512) 10 | fs.createReadStream("some-file").pipe(block) 11 | block.pipe(fs.createWriteStream("block-file")) 12 | ``` 13 | 14 | When `.end()` or `.flush()` is called, it'll pad the block with zeroes. 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | // If you have no idea what ASN.1 or BER is, see this: 4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc 5 | 6 | var Ber = require('./ber/index'); 7 | 8 | 9 | 10 | ///--- Exported API 11 | 12 | module.exports = { 13 | 14 | Ber: Ber, 15 | 16 | BerReader: Ber.Reader, 17 | 18 | BerWriter: Ber.Writer 19 | 20 | }; 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/test/once.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var once = require('../once.js') 3 | 4 | test('once', function (t) { 5 | var f = 0 6 | var foo = once(function (g) { 7 | t.equal(f, 0) 8 | f ++ 9 | return f + g + this 10 | }) 11 | for (var i = 0; i < 1E3; i++) { 12 | t.same(f, i === 0 ? 0 : 1) 13 | var g = foo.call(1, 1) 14 | t.same(g, i === 0 ? 3 : undefined) 15 | t.same(f, 1) 16 | } 17 | t.end() 18 | }) 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/windows/ddk_build/sources: -------------------------------------------------------------------------------- 1 | TARGETNAME=hidapi 2 | TARGETTYPE=DYNLINK 3 | UMTYPE=console 4 | UMENTRY=main 5 | 6 | MSC_WARNING_LEVEL=/W3 /WX 7 | 8 | TARGETLIBS=$(SDK_LIB_PATH)\hid.lib \ 9 | $(SDK_LIB_PATH)\setupapi.lib \ 10 | $(SDK_LIB_PATH)\kernel32.lib \ 11 | $(SDK_LIB_PATH)\comdlg32.lib 12 | 13 | USE_MSVCRT=1 14 | 15 | INCLUDES= ..\..\hidapi 16 | SOURCES= ..\hid.c \ 17 | 18 | 19 | TARGET_DESTINATION=retail 20 | 21 | MUI=0 22 | MUI_COMMENT="HID Interface DLL" 23 | 24 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/lib/global-header-writer.js: -------------------------------------------------------------------------------- 1 | module.exports = GlobalHeaderWriter 2 | 3 | var ExtendedHeaderWriter = require("./extended-header-writer.js") 4 | , inherits = require("inherits") 5 | 6 | inherits(GlobalHeaderWriter, ExtendedHeaderWriter) 7 | 8 | function GlobalHeaderWriter (props) { 9 | if (!(this instanceof GlobalHeaderWriter)) { 10 | return new GlobalHeaderWriter(props) 11 | } 12 | ExtendedHeaderWriter.call(this, props) 13 | this.props.type = "g" 14 | } 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/kv_short.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('short -k=v' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b=123' ]); 8 | t.deepEqual(argv, { b: 123, _: [] }); 9 | }); 10 | 11 | test('multi short -k=v' , function (t) { 12 | t.plan(1); 13 | 14 | var argv = parse([ '-a=whatever', '-b=robots' ]); 15 | t.deepEqual(argv, { a: 'whatever', b: 'robots', _: [] }); 16 | }); 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/fs.js: -------------------------------------------------------------------------------- 1 | // eeeeeevvvvviiiiiiillllll 2 | // more evil than monkey-patching the native builtin? 3 | // Not sure. 4 | 5 | var mod = require("module") 6 | var pre = '(function (exports, require, module, __filename, __dirname) { ' 7 | var post = '});' 8 | var src = pre + process.binding('natives').fs + post 9 | var vm = require('vm') 10 | var fn = vm.runInThisContext(src) 11 | fn(exports, require, module, __filename, __dirname) 12 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/block-stream/README.md: -------------------------------------------------------------------------------- 1 | # block-stream 2 | 3 | A stream of blocks. 4 | 5 | Write data into it, and it'll output data in buffer blocks the size you 6 | specify, padding with zeroes if necessary. 7 | 8 | ```javascript 9 | var block = new BlockStream(512) 10 | fs.createReadStream("some-file").pipe(block) 11 | block.pipe(fs.createWriteStream("block-file")) 12 | ``` 13 | 14 | When `.end()` or `.flush()` is called, it'll pad the block with zeroes. 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/test/unit/misc/test-meta.js: -------------------------------------------------------------------------------- 1 | var common = require('../../common'); 2 | var assert = require('assert'); 3 | var test = require('utest'); 4 | var meta = require(common.lib + '/misc/meta'); 5 | 6 | function SampleClass() {} 7 | SampleClass.prototype.a = function() {}; 8 | SampleClass.prototype.b = function() {}; 9 | SampleClass.prototype._c = function() {}; 10 | SampleClass.prototype._d = function() {}; 11 | 12 | test('meta', { 13 | 'methods': function() { 14 | assert.deepEqual(meta.methods(SampleClass), ['a', 'b']); 15 | }, 16 | }); 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/History.md: -------------------------------------------------------------------------------- 1 | 2 | 0.3.0 / 2014-05-09 3 | ================== 4 | 5 | * package: remove "test" script and "devDependencies" 6 | * package: remove "engines" section 7 | * pacakge: remove "bin" section 8 | * package: beautify 9 | * examples: remove `starwars` example (#15) 10 | * Documented goto, horizontalAbsolute, and eraseLine methods in README.md (#12, @Jammerwoch) 11 | * add `.jshintrc` file 12 | 13 | < 0.3.0 14 | ======= 15 | 16 | * Prehistoric 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/immutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | function extend() { 4 | var target = {} 5 | 6 | for (var i = 0; i < arguments.length; i++) { 7 | var source = arguments[i] 8 | 9 | for (var key in source) { 10 | if (source.hasOwnProperty(key)) { 11 | target[key] = source[key] 12 | } 13 | } 14 | } 15 | 16 | return target 17 | } 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/examples/extracter.js: -------------------------------------------------------------------------------- 1 | var tar = require("../tar.js") 2 | , fs = require("fs") 3 | 4 | 5 | function onError(err) { 6 | console.error('An error occurred:', err) 7 | } 8 | 9 | function onEnd() { 10 | console.log('Extracted!') 11 | } 12 | 13 | var extractor = tar.Extract({path: __dirname + "/extract"}) 14 | .on('error', onError) 15 | .on('end', onEnd); 16 | 17 | fs.createReadStream(__dirname + "/../test/fixtures/c.tar") 18 | .on('error', onError) 19 | .pipe(extractor); 20 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env" : { 3 | "node" : true 4 | }, 5 | "rules" : { 6 | "semi": [2, "never"], 7 | "strict": 0, 8 | "quotes": [1, "single", "avoid-escape"], 9 | "no-use-before-define": 0, 10 | "curly": 0, 11 | "no-underscore-dangle": 0, 12 | "no-lonely-if": 1, 13 | "no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}], 14 | "no-mixed-requires": 0, 15 | "space-infix-ops": 0 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/global-header-writer.js: -------------------------------------------------------------------------------- 1 | module.exports = GlobalHeaderWriter 2 | 3 | var ExtendedHeaderWriter = require("./extended-header-writer.js") 4 | , inherits = require("inherits") 5 | 6 | inherits(GlobalHeaderWriter, ExtendedHeaderWriter) 7 | 8 | function GlobalHeaderWriter (props) { 9 | if (!(this instanceof GlobalHeaderWriter)) { 10 | return new GlobalHeaderWriter(props) 11 | } 12 | ExtendedHeaderWriter.call(this, props) 13 | this.props.type = "g" 14 | } 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "multiple types of null and object containing properties", 4 | "schema": { 5 | "type": ["null", "object"], 6 | "properties": { 7 | "foo": {} 8 | } 9 | }, 10 | "tests": [ 11 | { 12 | "description": "null is valid", 13 | "data": null, 14 | "valid": true 15 | } 16 | ] 17 | } 18 | ] 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js: -------------------------------------------------------------------------------- 1 | var expand = require('./'); 2 | 3 | console.log(expand('http://any.org/archive{1996..1999}/vol{1..4}/part{a,b,c}.html')); 4 | console.log(expand('http://www.numericals.com/file{1..100..10}.txt')); 5 | console.log(expand('http://www.letters.com/file{a..z..2}.txt')); 6 | console.log(expand('mkdir /usr/local/src/bash/{old,new,dist,bugs}')); 7 | console.log(expand('chown root /usr/{ucb/{ex,edit},lib/{ex?.?*,how_ex}}')); 8 | 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/nan/tools/README.md: -------------------------------------------------------------------------------- 1 | 1to2 naively converts source code files from NAN 1 to NAN 2. There will be erroneous conversions, 2 | false positives and missed opportunities. The input files are rewritten in place. Make sure that 3 | you have backups. You will have to manually review the changes afterwards and do some touchups. 4 | 5 | ```sh 6 | $ tools/1to2.js 7 | 8 | Usage: 1to2 [options] 9 | 10 | Options: 11 | 12 | -h, --help output usage information 13 | -V, --version output the version number 14 | ``` 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/nan/tools/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "1to2", 3 | "version": "1.0.0", 4 | "description": "NAN 1 -> 2 Migration Script", 5 | "main": "1to2.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/nodejs/nan.git" 9 | }, 10 | "contributors": [ 11 | "Benjamin Byholm (https://github.com/kkoopa/)", 12 | "Mathias Küsel (https://github.com/mathiask88/)" 13 | ], 14 | "dependencies": { 15 | "glob": "~5.0.10", 16 | "commander": "~2.8.1" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | var Stream = require('stream'); // hack to fix a circular dependency issue when used with browserify 2 | exports = module.exports = require('./lib/_stream_readable.js'); 3 | exports.Stream = Stream; 4 | exports.Readable = exports; 5 | exports.Writable = require('./lib/_stream_writable.js'); 6 | exports.Duplex = require('./lib/_stream_duplex.js'); 7 | exports.Transform = require('./lib/_stream_transform.js'); 8 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 9 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/src/test-buzzers.js: -------------------------------------------------------------------------------- 1 | 2 | var buzzers = require('./buzzers'); 3 | 4 | var buzzerController = new buzzers.BuzzerController(); 5 | 6 | function blinkLed(buzzerNumber) 7 | { 8 | buzzerController.led(buzzerNumber, true); 9 | setTimeout(function () { 10 | buzzerController.led(buzzerNumber, false); 11 | }, 500); 12 | } 13 | 14 | buzzerController.on('button', function (buzzer, button, state) { 15 | console.log('buzzer', buzzer, 'button', button, 'state', state); 16 | if (state) { 17 | blinkLed(buzzer); 18 | } 19 | }); 20 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/hidtest/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 2 | 3 | ## Linux 4 | if OS_LINUX 5 | noinst_PROGRAMS = hidtest-libusb hidtest-hidraw 6 | 7 | hidtest_hidraw_SOURCES = hidtest.cpp 8 | hidtest_hidraw_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la 9 | 10 | hidtest_libusb_SOURCES = hidtest.cpp 11 | hidtest_libusb_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la 12 | else 13 | 14 | # Other OS's 15 | noinst_PROGRAMS = hidtest 16 | 17 | hidtest_SOURCES = hidtest.cpp 18 | hidtest_LDADD = $(top_builddir)/$(backend)/libhidapi.la 19 | 20 | endif 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4.0" 4 | - "io.js" 5 | - "0.12" 6 | - "0.10" 7 | sudo: false 8 | 9 | after_script: "npm run test-cov && cat ./coverage/lcov.info | codecov && cat ./coverage/lcov.info | coveralls" 10 | 11 | webhooks: 12 | urls: https://webhooks.gitter.im/e/237280ed4796c19cc626 13 | on_success: change # options: [always|never|change] default: always 14 | on_failure: always # options: [always|never|change] default: always 15 | on_start: false # default: false 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hawk", 3 | "main": "lib/browser.js", 4 | "license": "./LICENSE", 5 | "ignore": [ 6 | "!lib", 7 | "lib/*", 8 | "!lib/browser.js", 9 | "index.js" 10 | ], 11 | "keywords": [ 12 | "http", 13 | "authentication", 14 | "scheme", 15 | "hawk" 16 | ], 17 | "authors": [ 18 | "Eran Hammer " 19 | ], 20 | "repository": { 21 | "type": "git", 22 | "url": "git://github.com/hueniverse/hawk.git" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // clean up the fixtures 2 | 3 | var tap = require("tap") 4 | , rimraf = require("rimraf") 5 | , test = tap.test 6 | , path = require("path") 7 | 8 | test("clean fixtures", function (t) { 9 | rimraf(path.resolve(__dirname, "fixtures"), function (er) { 10 | t.ifError(er, "rimraf ./fixtures/") 11 | t.end() 12 | }) 13 | }) 14 | 15 | test("clean tmp", function (t) { 16 | rimraf(path.resolve(__dirname, "tmp"), function (er) { 17 | t.ifError(er, "rimraf ./tmp/") 18 | t.end() 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/lib/ps3.js: -------------------------------------------------------------------------------- 1 | var HID = require('node-hid'); 2 | 3 | try { 4 | hid = new HID.HID(1356, 616); 5 | } catch (e) { 6 | throw "No controller is connected."; 7 | } 8 | 9 | rdata = []; 10 | 11 | /* 12 | 13 | P1[ [ Device <===> HID ] <==> PS3.js ] <==> P2[ rdata ]. 14 | Thus, P1_timing > P2_timing. 15 | 16 | */ 17 | 18 | hid.gotData = function (err, data) { 19 | rdata = data; 20 | 21 | //WindRL = rdata[41]; // 2: left wind, 1: right wind 22 | //WindBF = rdata[43]; // 1: front wind, 2: back wind 23 | 24 | return this.read(this.gotData.bind(this)); 25 | } 26 | 27 | hid.read(hid.gotData.bind(hid)); -------------------------------------------------------------------------------- /app/Drone/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // Drone 4 | // 5 | // Created 4/16/2016. 6 | // Copyright © 2016 VR Drone et. al. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | // Do any additional setup after loading the view, typically from a nib. 16 | } 17 | 18 | override func didReceiveMemoryWarning() { 19 | super.didReceiveMemoryWarning() 20 | // Dispose of any resources that can be recreated. 21 | } 22 | 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs/test/readdir-sort.js: -------------------------------------------------------------------------------- 1 | var test = require("tap").test 2 | var fs = require("../fs.js") 3 | 4 | var readdir = fs.readdir 5 | fs.readdir = function(path, cb) { 6 | process.nextTick(function() { 7 | cb(null, ["b", "z", "a"]) 8 | }) 9 | } 10 | 11 | var g = require("../") 12 | 13 | test("readdir reorder", function (t) { 14 | g.readdir("whatevers", function (er, files) { 15 | if (er) 16 | throw er 17 | t.same(files, [ "a", "b", "z" ]) 18 | t.end() 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/node_modules/buffy/test/unit/test-buffy.js: -------------------------------------------------------------------------------- 1 | var common = require('../common'); 2 | var test = require('utest'); 3 | var assert = require('assert'); 4 | var buffy = require(common.root); 5 | var Reader = require(common.lib + '/Reader'); 6 | 7 | test('buffy', { 8 | 'exports: Reader': function() { 9 | assert.strictEqual(buffy.Reader, Reader); 10 | }, 11 | 12 | 'createReader: maps to Reader constructor': function() { 13 | var reader = buffy.createReader(new Buffer(23)); 14 | assert.equal(reader instanceof Reader, true); 15 | assert.equal(reader.bytesAhead(), 23); 16 | }, 17 | }); 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/dotted.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('dotted alias', function (t) { 5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 6 | t.equal(argv.a.b, 22); 7 | t.equal(argv.aa.bb, 22); 8 | t.end(); 9 | }); 10 | 11 | test('dotted default', function (t) { 12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 13 | t.equal(argv.a.b, 11); 14 | t.equal(argv.aa.bb, 11); 15 | t.end(); 16 | }); 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "size", 5 | "mimeType" 6 | ], 7 | "properties": { 8 | "size": { 9 | "type": "integer" 10 | }, 11 | "compression": { 12 | "type": "integer" 13 | }, 14 | "mimeType": { 15 | "type": "string" 16 | }, 17 | "text": { 18 | "type": "string" 19 | }, 20 | "encoding": { 21 | "type": "string" 22 | }, 23 | "comment": { 24 | "type": "string" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/once.js: -------------------------------------------------------------------------------- 1 | var wrappy = require('wrappy') 2 | module.exports = wrappy(once) 3 | 4 | once.proto = once(function () { 5 | Object.defineProperty(Function.prototype, 'once', { 6 | value: function () { 7 | return once(this) 8 | }, 9 | configurable: true 10 | }) 11 | }) 12 | 13 | function once (fn) { 14 | var f = function () { 15 | if (f.called) return f.value 16 | f.called = true 17 | return f.value = fn.apply(this, arguments) 18 | } 19 | f.called = false 20 | return f 21 | } 22 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/LICENSE.txt: -------------------------------------------------------------------------------- 1 | HIDAPI can be used under one of three licenses. 2 | 3 | 1. The GNU General Public License, version 3.0, in LICENSE-gpl3.txt 4 | 2. A BSD-Style License, in LICENSE-bsd.txt. 5 | 3. The more liberal original HIDAPI license. LICENSE-orig.txt 6 | 7 | The license chosen is at the discretion of the user of HIDAPI. For example: 8 | 1. An author of GPL software would likely use HIDAPI under the terms of the 9 | GPL. 10 | 11 | 2. An author of commercial closed-source software would likely use HIDAPI 12 | under the terms of the BSD-style license or the original HIDAPI license. 13 | 14 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "validation of null and format", 4 | "schema": {"type": ["null", "string"], "format": "date-time"}, 5 | "tests": [ 6 | { 7 | "description": "a valid date-time string", 8 | "data": "1963-06-19T08:30:06.283185Z", 9 | "valid": true 10 | }, 11 | { 12 | "description": "allow null", 13 | "data": null, 14 | "valid": true 15 | } 16 | ] 17 | } 18 | ] -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/test/zz-cleanup.js: -------------------------------------------------------------------------------- 1 | // clean up the fixtures 2 | 3 | var tap = require("tap") 4 | , rimraf = require("rimraf") 5 | , test = tap.test 6 | , path = require("path") 7 | 8 | test("clean fixtures", function (t) { 9 | rimraf(path.resolve(__dirname, "fixtures"), function (er) { 10 | t.ifError(er, "rimraf ./fixtures/") 11 | t.end() 12 | }) 13 | }) 14 | 15 | test("clean tmp", function (t) { 16 | rimraf(path.resolve(__dirname, "tmp"), function (er) { 17 | t.ifError(er, "rimraf ./tmp/") 18 | t.end() 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/require.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | var path = require('path') 3 | var compile = require('./') 4 | 5 | delete require.cache[require.resolve(__filename)] 6 | 7 | module.exports = function(file, opts) { 8 | file = path.join(path.dirname(module.parent.filename), file) 9 | if (!fs.existsSync(file) && fs.existsSync(file+'.schema')) file += '.schema' 10 | if (!fs.existsSync(file) && fs.existsSync(file+'.json')) file += '.json' 11 | return compile(fs.readFileSync(file, 'utf-8'), opts) 12 | } 13 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/test/caching.js: -------------------------------------------------------------------------------- 1 | var Minimatch = require("../minimatch.js").Minimatch 2 | var tap = require("tap") 3 | tap.test("cache test", function (t) { 4 | var mm1 = new Minimatch("a?b") 5 | var mm2 = new Minimatch("a?b") 6 | t.equal(mm1, mm2, "should get the same object") 7 | // the lru should drop it after 100 entries 8 | for (var i = 0; i < 100; i ++) { 9 | new Minimatch("a"+i) 10 | } 11 | mm2 = new Minimatch("a?b") 12 | t.notEqual(mm1, mm2, "cache should have dropped") 13 | t.end() 14 | }) 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/examples/udp-control.js: -------------------------------------------------------------------------------- 1 | // Run this to make your drone take off for 5 seconds and then land itself 2 | // again. 3 | 4 | var UdpControl = require('../lib/control/UdpControl'); 5 | 6 | var control = new UdpControl(); 7 | var fly = true; 8 | var emergency = true; 9 | 10 | setInterval(function() { 11 | control.ref({fly: fly, emergency: emergency}); 12 | control.pcmd(); 13 | control.flush(); 14 | }, 30); 15 | 16 | // For the first second, disable emergency if there was one 17 | setTimeout(function() { 18 | emergency = false; 19 | }, 1000); 20 | 21 | setTimeout(function() { 22 | fly = false; 23 | }, 5000); 24 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-uuid", 3 | "version": "1.4.3", 4 | "homepage": "https://github.com/broofa/node-uuid", 5 | "authors": [ 6 | "Robert Kieffer " 7 | ], 8 | "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.", 9 | "main": "uuid.js", 10 | "keywords": [ 11 | "uuid", 12 | "gid", 13 | "rfc4122" 14 | ], 15 | "license": "MIT", 16 | "ignore": [ 17 | "**/.*", 18 | "node_modules", 19 | "bower_components", 20 | "test", 21 | "tests" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs/fs.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var fs = require('fs') 4 | 5 | module.exports = clone(fs) 6 | 7 | function clone (obj) { 8 | if (obj === null || typeof obj !== 'object') 9 | return obj 10 | 11 | if (obj instanceof Object) 12 | var copy = { __proto__: obj.__proto__ } 13 | else 14 | var copy = Object.create(null) 15 | 16 | Object.getOwnPropertyNames(obj).forEach(function (key) { 17 | Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key)) 18 | }) 19 | 20 | return copy 21 | } 22 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/any.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = function(Promise) { 3 | var SomePromiseArray = Promise._SomePromiseArray; 4 | function any(promises) { 5 | var ret = new SomePromiseArray(promises); 6 | var promise = ret.promise(); 7 | ret.setHowMany(1); 8 | ret.setUnwrap(); 9 | ret.init(); 10 | return promise; 11 | } 12 | 13 | Promise.any = function (promises) { 14 | return any(promises); 15 | }; 16 | 17 | Promise.prototype.any = function () { 18 | return any(this); 19 | }; 20 | 21 | }; 22 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/example.js: -------------------------------------------------------------------------------- 1 | var validator = require('./') 2 | 3 | var validate = validator({ 4 | type: 'object', 5 | properties: { 6 | hello: { 7 | required: true, 8 | type: 'string' 9 | } 10 | } 11 | }) 12 | 13 | console.log('should be valid', validate({hello: 'world'})) 14 | console.log('should not be valid', validate({})) 15 | 16 | // get the last error message by checking validate.error 17 | // the following will print "data.hello is required" 18 | console.log('the errors were:', validate.errors) 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "qs", 3 | "main": "dist/qs.js", 4 | "version": "5.1.0", 5 | "homepage": "https://github.com/hapijs/qs", 6 | "authors": [ 7 | "Nathan LaFreniere " 8 | ], 9 | "description": "A querystring parser that supports nesting and arrays, with a depth limit", 10 | "keywords": [ 11 | "querystring", 12 | "qs" 13 | ], 14 | "license": "BSD-3-Clause", 15 | "ignore": [ 16 | "**/.*", 17 | "node_modules", 18 | "bower_components", 19 | "test", 20 | "tests" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- 1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core 2 | 3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. 4 | 5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.** 6 | 7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version. -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/default_bool.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var parse = require('../'); 3 | 4 | test('boolean default true', function (t) { 5 | var argv = parse([], { 6 | boolean: 'sometrue', 7 | default: { sometrue: true } 8 | }); 9 | t.equal(argv.sometrue, true); 10 | t.end(); 11 | }); 12 | 13 | test('boolean default false', function (t) { 14 | var argv = parse([], { 15 | boolean: 'somefalse', 16 | default: { somefalse: false } 17 | }); 18 | t.equal(argv.somefalse, false); 19 | t.end(); 20 | }); 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/mkdirp/test/root.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('../'); 2 | var path = require('path'); 3 | var fs = require('fs'); 4 | var test = require('tap').test; 5 | var _0755 = parseInt('0755', 8); 6 | 7 | test('root', function (t) { 8 | // '/' on unix, 'c:/' on windows. 9 | var file = path.resolve('/'); 10 | 11 | mkdirp(file, _0755, function (err) { 12 | if (err) throw err 13 | fs.stat(file, function (er, stat) { 14 | if (er) throw er 15 | t.ok(stat.isDirectory(), 'target is a directory'); 16 | t.end(); 17 | }) 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- 1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core 2 | 3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. 4 | 5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.** 6 | 7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version. -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/node-uuid/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-uuid", 3 | "repo": "broofa/node-uuid", 4 | "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.", 5 | "version": "1.4.3", 6 | "author": "Robert Kieffer ", 7 | "contributors": [ 8 | {"name": "Christoph Tavan ", "github": "https://github.com/ctavan"} 9 | ], 10 | "keywords": ["uuid", "guid", "rfc4122"], 11 | "dependencies": {}, 12 | "development": {}, 13 | "main": "uuid.js", 14 | "scripts": [ 15 | "uuid.js" 16 | ], 17 | "license": "MIT" 18 | } 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode/index.js: -------------------------------------------------------------------------------- 1 | "use strict" 2 | var os = require("os") 3 | var child_process = require("child_process") 4 | 5 | var hasUnicode = module.exports = function () { 6 | // Supported Win32 platforms (>XP) support unicode in the console, though 7 | // font support isn't fantastic. 8 | if (os.type() == "Windows_NT") { return true } 9 | 10 | var isUTF8 = /[.]UTF-8/ 11 | if (isUTF8.test(process.env.LC_ALL) 12 | || process.env.LC_CTYPE == 'UTF-8' 13 | || isUTF8.test(process.env.LANG)) { 14 | return true 15 | } 16 | 17 | return false 18 | } 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/test/once.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test 2 | var once = require('../once.js') 3 | 4 | test('once', function (t) { 5 | var f = 0 6 | function fn (g) { 7 | t.equal(f, 0) 8 | f ++ 9 | return f + g + this 10 | } 11 | fn.ownProperty = {} 12 | var foo = once(fn) 13 | t.equal(fn.ownProperty, foo.ownProperty) 14 | t.notOk(foo.called) 15 | for (var i = 0; i < 1E3; i++) { 16 | t.same(f, i === 0 ? 0 : 1) 17 | var g = foo.call(1, 1) 18 | t.ok(foo.called) 19 | t.same(g, 3) 20 | t.same(f, 1) 21 | } 22 | t.end() 23 | }) 24 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- 1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core 2 | 3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. 4 | 5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.** 6 | 7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version. -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/examples/packer.js: -------------------------------------------------------------------------------- 1 | var tar = require("../tar.js") 2 | , fstream = require("fstream") 3 | , fs = require("fs") 4 | 5 | var dirDest = fs.createWriteStream('dir.tar') 6 | 7 | 8 | function onError(err) { 9 | console.error('An error occurred:', err) 10 | } 11 | 12 | function onEnd() { 13 | console.log('Packed!') 14 | } 15 | 16 | var packer = tar.Pack({ noProprietary: true }) 17 | .on('error', onError) 18 | .on('end', onEnd); 19 | 20 | // This must be a "directory" 21 | fstream.Reader({ path: __dirname, type: "Directory" }) 22 | .on('error', onError) 23 | .pipe(packer) 24 | .pipe(dirDest) 25 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/src/test-powermate.js: -------------------------------------------------------------------------------- 1 | 2 | var PowerMate = require('./powermate'); 3 | 4 | var powerMate; 5 | for (var i = 0; i < PowerMate.deviceCount(); i++) { 6 | 7 | console.log('opening powermate', i); 8 | 9 | powerMate = new PowerMate.PowerMate(i); 10 | 11 | powerMate.on('buttonDown', function () { 12 | console.log('button down'); 13 | this.position = 0; 14 | }); 15 | 16 | powerMate.on('buttonUp', function () { 17 | console.log('button up'); 18 | }); 19 | 20 | powerMate.on('turn', function (delta, position) { 21 | console.log('delta', delta, 'position', position); 22 | this.setLed(position % 256); 23 | }); 24 | } -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/readme.md: -------------------------------------------------------------------------------- 1 | process-nextick-args 2 | ===== 3 | 4 | [![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args) 5 | 6 | ```bash 7 | npm install --save process-nextick-args 8 | ``` 9 | 10 | Always be able to pass arguments to process.nextTick, no matter the platform 11 | 12 | ```js 13 | var nextTick = require('process-nextick-args'); 14 | 15 | nextTick(function (a, b, c) { 16 | console.log(a, b, c); 17 | }, 'step', 3, 'profit'); 18 | ``` 19 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | var Stream = (function (){ 2 | try { 3 | return require('st' + 'ream'); // hack to fix a circular dependency issue when used with browserify 4 | } catch(_){} 5 | }()); 6 | exports = module.exports = require('./lib/_stream_readable.js'); 7 | exports.Stream = Stream || exports; 8 | exports.Readable = exports; 9 | exports.Writable = require('./lib/_stream_writable.js'); 10 | exports.Duplex = require('./lib/_stream_duplex.js'); 11 | exports.Transform = require('./lib/_stream_transform.js'); 12 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 13 | -------------------------------------------------------------------------------- /app/Drone/FPVViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FPVViewController.swift 3 | // Drone 4 | // 5 | // Created 4/16/2016. 6 | // Copyright © 2016 VR Drone, et. al. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class FPVViewController: UIViewController { 12 | 13 | @IBOutlet weak var webView: UIWebView! 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | let url = URL(string: "http://192.168.1.3:3000")! 18 | webView.loadRequest(URLRequest(url: url)) 19 | } 20 | 21 | override func didReceiveMemoryWarning() { 22 | super.didReceiveMemoryWarning() 23 | // Dispose of any resources that can be recreated. 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/README.md: -------------------------------------------------------------------------------- 1 | # abbrev-js 2 | 3 | Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev). 4 | 5 | Usage: 6 | 7 | var abbrev = require("abbrev"); 8 | abbrev("foo", "fool", "folding", "flop"); 9 | 10 | // returns: 11 | { fl: 'flop' 12 | , flo: 'flop' 13 | , flop: 'flop' 14 | , fol: 'folding' 15 | , fold: 'folding' 16 | , foldi: 'folding' 17 | , foldin: 'folding' 18 | , folding: 'folding' 19 | , foo: 'foo' 20 | , fool: 'fool' 21 | } 22 | 23 | This is handy for command-line scripts, or other cases where you want to be able to accept shorthands. 24 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/README.md: -------------------------------------------------------------------------------- 1 | # generate-object-property 2 | 3 | Generate safe JS code that can used to reference a object property 4 | 5 | npm install generate-object-property 6 | 7 | [![build status](http://img.shields.io/travis/mafintosh/generate-object-property.svg?style=flat)](http://travis-ci.org/mafintosh/generate-object-property) 8 | 9 | ## Usage 10 | 11 | ``` js 12 | var gen = require('generate-object-property'); 13 | console.log(gen('a','b')); // prints a.b 14 | console.log(gen('a', 'foo-bar')); // prints a["foo-bar"] 15 | ``` 16 | 17 | ## License 18 | 19 | MIT -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | var errors = require('./errors'); 4 | var types = require('./types'); 5 | 6 | var Reader = require('./reader'); 7 | var Writer = require('./writer'); 8 | 9 | 10 | ///--- Exports 11 | 12 | module.exports = { 13 | 14 | Reader: Reader, 15 | 16 | Writer: Writer 17 | 18 | }; 19 | 20 | for (var t in types) { 21 | if (types.hasOwnProperty(t)) 22 | module.exports[t] = types[t]; 23 | } 24 | for (var e in errors) { 25 | if (errors.hasOwnProperty(e)) 26 | module.exports[e] = errors[e]; 27 | } 28 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/LICENSE.APACHE2: -------------------------------------------------------------------------------- 1 | Apache License, Version 2.0 2 | 3 | Copyright (c) 2011 Dominic Tarr 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/qs/test/utils.js: -------------------------------------------------------------------------------- 1 | // Load modules 2 | 3 | var Code = require('code'); 4 | var Lab = require('lab'); 5 | var Utils = require('../lib/utils'); 6 | 7 | 8 | // Declare internals 9 | 10 | var internals = {}; 11 | 12 | 13 | // Test shortcuts 14 | 15 | var lab = exports.lab = Lab.script(); 16 | var expect = Code.expect; 17 | var describe = lab.experiment; 18 | var it = lab.test; 19 | 20 | 21 | describe('merge()', function () { 22 | 23 | it('can merge two objects with the same key', function (done) { 24 | 25 | expect(Utils.merge({ a: 'b' }, { a: 'c' })).to.deep.equal({ a: ['b', 'c'] }); 26 | done(); 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /ps3/README.md: -------------------------------------------------------------------------------- 1 | drone-ps3-controller 2 | ==== 3 | 4 | Control your ar.drone with ps3 controller. 5 | 6 | ### Installation 7 | 8 | ``` 9 | npm drone-ps3-controller 10 | ``` 11 | 12 | ### Running 13 | 14 | ``` 15 | cd drone-ps3-controller 16 | npm start 17 | ``` 18 | 19 | ### Flying 20 | 21 | Here's mapping. It's very similar to iPhone app. 22 | 23 | ![](https://raw.github.com/bobrik/drone-ps3-controller/master/mapping.jpg) 24 | 25 | ### But there is [node-drone-joystick](https://github.com/TooTallNate/node-drone-joystick) 26 | 27 | This thing didn't worked for me so I made my own. 28 | 29 | ### Testing 30 | 31 | I tested it on my macbook air and ar.drone 2.0. It works :) 32 | 33 | ### Authors 34 | 35 | * [Ian Babrou](https://github.com/bobrik) 36 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Node-webkit-based module test 6 | 22 | 23 | 24 |

Node-webkit-based module test

25 | 26 | 27 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/lru-cache/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # Authors, sorted by whether or not they are me 2 | Isaac Z. Schlueter 3 | Brian Cottingham 4 | Carlos Brito Lage 5 | Jesse Dailey 6 | Kevin O'Hara 7 | Marco Rogers 8 | Mark Cavage 9 | Marko Mikulicic 10 | Nathan Rajlich 11 | Satheesh Natesan 12 | Trent Mick 13 | ashleybrener 14 | n4kz 15 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/README.md: -------------------------------------------------------------------------------- 1 | # lodash.pad v3.1.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.pad` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.pad 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var pad = require('lodash.pad'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#pad) or [package source](https://github.com/lodash/lodash/blob/3.1.1-npm-packages/lodash.pad) for more details. 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/mac/Makefile-manual: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-07-03 7 | ########################################### 8 | 9 | all: hidtest 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=hid.o 14 | CPPOBJS=../hidtest/hidtest.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS+=-I../hidapi -Wall -g -c 17 | LIBS=-framework IOKit -framework CoreFoundation 18 | 19 | 20 | hidtest: $(OBJS) 21 | g++ -Wall -g $^ $(LIBS) -o hidtest 22 | 23 | $(COBJS): %.o: %.c 24 | $(CC) $(CFLAGS) $< -o $@ 25 | 26 | $(CPPOBJS): %.o: %.cpp 27 | $(CXX) $(CFLAGS) $< -o $@ 28 | 29 | clean: 30 | rm -f *.o hidtest $(CPPOBJS) 31 | 32 | .PHONY: clean 33 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/cacheEntry.json: -------------------------------------------------------------------------------- 1 | { 2 | "oneOf": [{ 3 | "type": "object", 4 | "optional": true, 5 | "required": [ 6 | "lastAccess", 7 | "eTag", 8 | "hitCount" 9 | ], 10 | "properties": { 11 | "expires": { 12 | "type": "string" 13 | }, 14 | "lastAccess": { 15 | "type": "string" 16 | }, 17 | "eTag": { 18 | "type": "string" 19 | }, 20 | "hitCount": { 21 | "type": "integer" 22 | }, 23 | "comment": { 24 | "type": "string" 25 | } 26 | } 27 | }, { 28 | "type": null, 29 | "additionalProperties": false 30 | }] 31 | } 32 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink/README.md: -------------------------------------------------------------------------------- 1 | # graceful-readlink 2 | [![NPM Version](http://img.shields.io/npm/v/graceful-readlink.svg?style=flat)](https://www.npmjs.org/package/graceful-readlink) 3 | [![NPM Downloads](https://img.shields.io/npm/dm/graceful-readlink.svg?style=flat)](https://www.npmjs.org/package/graceful-readlink) 4 | 5 | 6 | ## Usage 7 | 8 | ```js 9 | var readlinkSync = require('graceful-readlink').readlinkSync; 10 | console.log(readlinkSync(f)); 11 | // output 12 | // the file pointed to when `f` is a symbolic link 13 | // the `f` itself when `f` is not a symbolic link 14 | ``` 15 | ## Licence 16 | 17 | MIT License 18 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/log.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "version", 5 | "creator", 6 | "entries" 7 | ], 8 | "properties": { 9 | "version": { 10 | "type": "string" 11 | }, 12 | "creator": { 13 | "$ref": "#creator" 14 | }, 15 | "browser": { 16 | "$ref": "#creator" 17 | }, 18 | "pages": { 19 | "type": "array", 20 | "items": { 21 | "$ref": "#page" 22 | } 23 | }, 24 | "entries": { 25 | "type": "array", 26 | "items": { 27 | "$ref": "#entry" 28 | } 29 | }, 30 | "comment": { 31 | "type": "string" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/README.md: -------------------------------------------------------------------------------- 1 | # lodash.padleft v3.1.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.padLeft` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.padleft 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var padLeft = require('lodash.padleft'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#padLeft) or [package source](https://github.com/lodash/lodash/blob/3.1.1-npm-packages/lodash.padleft) for more details. 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/cookie.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "name", 5 | "value" 6 | ], 7 | "properties": { 8 | "name": { 9 | "type": "string" 10 | }, 11 | "value": { 12 | "type": "string" 13 | }, 14 | "path": { 15 | "type": "string" 16 | }, 17 | "domain": { 18 | "type": "string" 19 | }, 20 | "expires": { 21 | "type": ["string", "null"], 22 | "format": "date-time" 23 | }, 24 | "httpOnly": { 25 | "type": "boolean" 26 | }, 27 | "secure": { 28 | "type": "boolean" 29 | }, 30 | "comment": { 31 | "type": "string" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/node_modules/buffy/benchmarks/binary.js: -------------------------------------------------------------------------------- 1 | var benchmark = require('./lib/benchmark')('binary', process.argv[2]); 2 | 3 | benchmark('ascii-strings', function(binary, stream, cb) { 4 | var checksum = 0; 5 | var reachedEnd = false; 6 | 7 | var ws = binary() 8 | .loop(function (end) { 9 | this 10 | .word8('stringLength') 11 | .buffer('string', 'stringLength') 12 | .tap(function(vars) { 13 | checksum += vars.string.length; 14 | 15 | if (checksum === 650303) { 16 | cb(null, checksum); 17 | } 18 | }) 19 | }); 20 | 21 | stream 22 | .on('data', function(buffer) { 23 | ws.write(buffer); 24 | }) 25 | .on('end', function() { 26 | ws.end(); 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/README.md: -------------------------------------------------------------------------------- 1 | # lodash.padright v3.1.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.padRight` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.padright 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var padRight = require('lodash.padright'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#padRight) or [package source](https://github.com/lodash/lodash/blob/3.1.1-npm-packages/lodash.padright) for more details. 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/dotted.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('dotted alias', function (t) { 5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 6 | t.equal(argv.a.b, 22); 7 | t.equal(argv.aa.bb, 22); 8 | t.end(); 9 | }); 10 | 11 | test('dotted default', function (t) { 12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}}); 13 | t.equal(argv.a.b, 11); 14 | t.equal(argv.aa.bb, 11); 15 | t.end(); 16 | }); 17 | 18 | test('dotted default with no alias', function (t) { 19 | var argv = parse('', {default: {'a.b': 11}}); 20 | t.equal(argv.a.b, 11); 21 | t.end(); 22 | }); 23 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md: -------------------------------------------------------------------------------- 1 | cryptiles 2 | ========= 3 | 4 | General purpose crypto utilities 5 | 6 | [![Build Status](https://secure.travis-ci.org/hapijs/cryptiles.png)](http://travis-ci.org/hapijs/cryptiles) 7 | 8 | Lead Maintainer - [C J Silverio](https://github.com/ceejbot) 9 | 10 | ## Methods 11 | 12 | ### `randomString( size)` 13 | Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string. 14 | 15 | ### `fixedTimeComparison( a, b)` 16 | Compare two strings using fixed time algorithm (to prevent time-based analysis of MAC digest match). Returns `true` if the strings match, `false` if they differ. 17 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args/test.js: -------------------------------------------------------------------------------- 1 | var test = require("tap").test; 2 | var nextTick = require('./'); 3 | 4 | test('should work', function (t) { 5 | t.plan(5); 6 | nextTick(function (a) { 7 | t.ok(a); 8 | nextTick(function (thing) { 9 | t.equals(thing, 7); 10 | }, 7); 11 | }, true); 12 | nextTick(function (a, b, c) { 13 | t.equals(a, 'step'); 14 | t.equals(b, 3); 15 | t.equals(c, 'profit'); 16 | }, 'step', 3, 'profit'); 17 | }); 18 | 19 | test('correct number of arguments', function (t) { 20 | t.plan(1); 21 | nextTick(function () { 22 | t.equals(2, arguments.length, 'correct number'); 23 | }, 1, 2); 24 | }); 25 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2015 Joyent, Inc. 2 | 3 | var parser = require('./parser'); 4 | var signer = require('./signer'); 5 | var verify = require('./verify'); 6 | var util = require('./util'); 7 | 8 | 9 | 10 | ///--- API 11 | 12 | module.exports = { 13 | 14 | parse: parser.parseRequest, 15 | parseRequest: parser.parseRequest, 16 | 17 | sign: signer.signRequest, 18 | signRequest: signer.signRequest, 19 | 20 | sshKeyToPEM: util.sshKeyToPEM, 21 | sshKeyFingerprint: util.fingerprint, 22 | pemToRsaSSHKey: util.pemToRsaSSHKey, 23 | 24 | verify: verify.verifySignature, 25 | verifySignature: verify.verifySignature, 26 | verifyHMAC: verify.verifyHMAC 27 | }; 28 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._basetostring/README.md: -------------------------------------------------------------------------------- 1 | # lodash._basetostring v3.0.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseToString` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._basetostring 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var baseToString = require('lodash._basetostring'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basetostring) for more details. 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._basetostring/README.md: -------------------------------------------------------------------------------- 1 | # lodash._basetostring v3.0.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseToString` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._basetostring 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var baseToString = require('lodash._basetostring'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basetostring) for more details. 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._basetostring/README.md: -------------------------------------------------------------------------------- 1 | # lodash._basetostring v3.0.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseToString` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._basetostring 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var baseToString = require('lodash._basetostring'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._basetostring) for more details. 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/README.md: -------------------------------------------------------------------------------- 1 | # once 2 | 3 | Only call a function once. 4 | 5 | ## usage 6 | 7 | ```javascript 8 | var once = require('once') 9 | 10 | function load (file, cb) { 11 | cb = once(cb) 12 | loader.load('file') 13 | loader.once('load', cb) 14 | loader.once('error', cb) 15 | } 16 | ``` 17 | 18 | Or add to the Function.prototype in a responsible way: 19 | 20 | ```javascript 21 | // only has to be done once 22 | require('once').proto() 23 | 24 | function load (file, cb) { 25 | cb = cb.once() 26 | loader.load('file') 27 | loader.once('load', cb) 28 | loader.once('error', cb) 29 | } 30 | ``` 31 | 32 | Ironically, the prototype feature makes this module twice as 33 | complicated as necessary. 34 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.pad/node_modules/lodash._createpadding/README.md: -------------------------------------------------------------------------------- 1 | # lodash._createpadding v3.6.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createPadding` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._createpadding 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var createPadding = require('lodash._createpadding'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.6.1-npm-packages/lodash._createpadding) for more details. 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padleft/node_modules/lodash._createpadding/README.md: -------------------------------------------------------------------------------- 1 | # lodash._createpadding v3.6.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createPadding` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash._createpadding 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var createPadding = require('lodash._createpadding'); 18 | ``` 19 | 20 | See the [package source](https://github.com/lodash/lodash/blob/3.6.1-npm-packages/lodash._createpadding) for more details. 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/lib/navdata/maskingFunctions.js: -------------------------------------------------------------------------------- 1 | var constants = require('../constants'); 2 | 3 | exports.NAVDATA_NUM_TAGS = Object.keys(constants.options).length; 4 | exports.NAVDATA_OPTION_FULL_MASK = (1< Escape RegExp special characters 4 | 5 | 6 | ## Install 7 | 8 | ```sh 9 | $ npm install --save escape-string-regexp 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var escapeStringRegexp = require('escape-string-regexp'); 17 | 18 | var escapedString = escapeStringRegexp('how much $ for a unicorn?'); 19 | //=> how much \$ for a unicorn\? 20 | 21 | new RegExp(escapedString); 22 | ``` 23 | 24 | 25 | ## License 26 | 27 | MIT © [Sindre Sorhus](http://sindresorhus.com) 28 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/libusb/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi $(CFLAGS_LIBUSB) 2 | 3 | if OS_LINUX 4 | lib_LTLIBRARIES = libhidapi-libusb.la 5 | libhidapi_libusb_la_SOURCES = hid.c 6 | libhidapi_libusb_la_LDFLAGS = $(LTLDFLAGS) $(PTHREAD_CFLAGS) 7 | libhidapi_libusb_la_LIBADD = $(LIBS_LIBUSB) 8 | endif 9 | 10 | if OS_FREEBSD 11 | lib_LTLIBRARIES = libhidapi.la 12 | libhidapi_la_SOURCES = hid.c 13 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 14 | libhidapi_la_LIBADD = $(LIBS_LIBUSB) 15 | endif 16 | 17 | if OS_KFREEBSD 18 | lib_LTLIBRARIES = libhidapi.la 19 | libhidapi_la_SOURCES = hid.c 20 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 21 | libhidapi_la_LIBADD = $(LIBS_LIBUSB) 22 | endif 23 | 24 | hdrdir = $(includedir)/hidapi 25 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 26 | 27 | EXTRA_DIST = Makefile-manual 28 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/lodash.padright/node_modules/lodash._createpadding/node_modules/lodash.repeat/README.md: -------------------------------------------------------------------------------- 1 | # lodash.repeat v3.0.1 2 | 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.repeat` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | 9 | ```bash 10 | $ {sudo -H} npm i -g npm 11 | $ npm i --save lodash.repeat 12 | ``` 13 | 14 | In Node.js/io.js: 15 | 16 | ```js 17 | var repeat = require('lodash.repeat'); 18 | ``` 19 | 20 | See the [documentation](https://lodash.com/docs#repeat) or [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash.repeat) for more details. 21 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/extend/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "extend", 3 | "author": "Stefan Thomas (http://www.justmoon.net)", 4 | "version": "3.0.0", 5 | "description": "Port of jQuery.extend for node.js and the browser.", 6 | "scripts": [ 7 | "index.js" 8 | ], 9 | "contributors": [ 10 | { 11 | "name": "Jordan Harband", 12 | "url": "https://github.com/ljharb" 13 | } 14 | ], 15 | "keywords": [ 16 | "extend", 17 | "clone", 18 | "merge" 19 | ], 20 | "repository" : { 21 | "type": "git", 22 | "url": "https://github.com/justmoon/node-extend.git" 23 | }, 24 | "dependencies": { 25 | }, 26 | "devDependencies": { 27 | "tape" : "~3.0.0", 28 | "covert": "~0.4.0", 29 | "jscs": "~1.6.2" 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/lib/schemas/page.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "optional": true, 4 | "required": [ 5 | "startedDateTime", 6 | "id", 7 | "title", 8 | "pageTimings" 9 | ], 10 | "properties": { 11 | "startedDateTime": { 12 | "type": "string", 13 | "format": "date-time", 14 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))" 15 | }, 16 | "id": { 17 | "type": "string", 18 | "unique": true 19 | }, 20 | "title": { 21 | "type": "string" 22 | }, 23 | "pageTimings": { 24 | "$ref": "#pageTimings" 25 | }, 26 | "comment": { 27 | "type": "string" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/examples/png-stream.js: -------------------------------------------------------------------------------- 1 | // Run this to receive a png image stream from your drone. 2 | 3 | var arDrone = require('..'); 4 | var http = require('http'); 5 | 6 | console.log('Connecting png stream ...'); 7 | 8 | var pngStream = arDrone.createClient().getPngStream(); 9 | 10 | var lastPng; 11 | pngStream 12 | .on('error', console.log) 13 | .on('data', function(pngBuffer) { 14 | lastPng = pngBuffer; 15 | }); 16 | 17 | var server = http.createServer(function(req, res) { 18 | if (!lastPng) { 19 | res.writeHead(503); 20 | res.end('Did not receive any png data yet.'); 21 | return; 22 | } 23 | 24 | res.writeHead(200, {'Content-Type': 'image/png'}); 25 | res.end(lastPng); 26 | }); 27 | 28 | server.listen(8080, function() { 29 | console.log('Serving latest png on port 8080 ...'); 30 | }); 31 | 32 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "maxdepth": 4, 3 | "maxstatements": 200, 4 | "maxcomplexity": 12, 5 | "maxlen": 80, 6 | "maxparams": 5, 7 | 8 | "curly": true, 9 | "eqeqeq": true, 10 | "immed": true, 11 | "latedef": false, 12 | "noarg": true, 13 | "noempty": true, 14 | "nonew": true, 15 | "undef": true, 16 | "unused": "vars", 17 | "trailing": true, 18 | 19 | "quotmark": true, 20 | "expr": true, 21 | "asi": true, 22 | 23 | "browser": false, 24 | "esnext": true, 25 | "devel": false, 26 | "node": false, 27 | "nonstandard": false, 28 | 29 | "predef": ["require", "module", "__dirname", "__filename"] 30 | } 31 | -------------------------------------------------------------------------------- /app/DroneTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/DroneUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/appveyor.yml: -------------------------------------------------------------------------------- 1 | environment: 2 | matrix: 3 | - nodejs_version: 0.10.36 4 | - nodejs_version: 0.12.0 5 | - nodejs_version: 1.2.0 6 | 7 | platform: 8 | - x64 9 | - x86 10 | 11 | shallow_clone: true 12 | 13 | install: 14 | - ps: Install-Product node $env:nodejs_version $env:Platform 15 | - node --version 16 | - npm --version 17 | - SET PATH=%APPDATA%\npm;%PATH% 18 | - npm update -g npm 19 | - npm --version 20 | - node -e "console.log(process.arch);" 21 | - SET PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH% 22 | - if "%PLATFORM%" == "x64" set PATH=C:\Python27-x64;%PATH% 23 | - if "%PLATFORM%" == "x86" SET PATH=C:\python27;%PATH% 24 | - npm install 25 | - npm test 26 | - .\scripts\test.bat 27 | 28 | build: off 29 | test: off 30 | deploy: off 31 | -------------------------------------------------------------------------------- /ps3/node_modules/ar-drone/test/integration/control/UdpControl/test-message-flushing.js: -------------------------------------------------------------------------------- 1 | var common = require('../../../common'); 2 | var UdpControl = require(common.lib + '/control/UdpControl'); 3 | var dgram = require('dgram'); 4 | var assert = require('assert'); 5 | 6 | var receiver = dgram.createSocket('udp4'); 7 | receiver.bind(common.UDP_PORT); 8 | 9 | var control = new UdpControl({ip: '127.0.0.1', port: common.UDP_PORT}); 10 | 11 | var expectMessage = control.ref() + control.pcmd(); 12 | control.flush(); 13 | 14 | var receivedMessage = false; 15 | receiver.on('message', function(buffer) { 16 | assert.deepEqual(buffer.toString(), expectMessage); 17 | 18 | receiver.close(); 19 | control.close(); 20 | 21 | receivedMessage = true; 22 | }); 23 | 24 | process.on('exit', function() { 25 | assert.equal(receivedMessage, true); 26 | }); 27 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/hidapi/windows/Makefile.mingw: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-06-01 7 | ########################################### 8 | 9 | all: hidtest libhidapi.dll 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=hid.o 14 | CPPOBJS=../hidtest/hidtest.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS=-I../hidapi -g -c 17 | LIBS= -lsetupapi 18 | DLL_LDFLAGS = -mwindows -lsetupapi 19 | 20 | hidtest: $(OBJS) 21 | g++ -g $^ $(LIBS) -o hidtest 22 | 23 | libhidapi.dll: $(OBJS) 24 | $(CC) -g $^ $(DLL_LDFLAGS) -o libhidapi.dll 25 | 26 | $(COBJS): %.o: %.c 27 | $(CC) $(CFLAGS) $< -o $@ 28 | 29 | $(CPPOBJS): %.o: %.cpp 30 | $(CXX) $(CFLAGS) $< -o $@ 31 | 32 | clean: 33 | rm *.o ../hidtest/*.o hidtest.exe 34 | 35 | .PHONY: clean 36 | -------------------------------------------------------------------------------- /ps3/node_modules/ps3.js/node_modules/node-hid/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "pattern validation", 4 | "schema": {"pattern": "^a*$"}, 5 | "tests": [ 6 | { 7 | "description": "a matching pattern is valid", 8 | "data": "aaa", 9 | "valid": true 10 | }, 11 | { 12 | "description": "a non-matching pattern is invalid", 13 | "data": "abc", 14 | "valid": false 15 | }, 16 | { 17 | "description": "ignores non-strings", 18 | "data": true, 19 | "valid": true 20 | } 21 | ] 22 | } 23 | ] 24 | --------------------------------------------------------------------------------