{"_id":"@dermah/pulsar-input-keyboard","_rev":"5-553c22d25a31cfb719ee2dbdef2b779c","name":"@dermah/pulsar-input-keyboard","description":"Transmit pulses using nothing but terminal and keyboard","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@dermah/pulsar-input-keyboard","version":"0.1.0","description":"Transmit pulses using nothing but terminal and keyboard","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Dermah/pulsar-input-keyboard.git"},"keywords":["pulsar","keyboard"],"author":{"name":"Sputnik"},"license":"MIT","bugs":{"url":"https://github.com/Dermah/pulsar-input-keyboard/issues"},"homepage":"https://github.com/Dermah/pulsar-input-keyboard#readme","dependencies":{"jsonfile":"^2.2.3"},"gitHead":"8424f85f586cd0e7645c19e0cac7373af7527beb","_id":"@dermah/pulsar-input-keyboard@0.1.0","_shasum":"dfbe0292868231a52a9970c7175741470cb707e5","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.5.0","_npmUser":{"name":"dermah","email":"stevena7@gmail.com"},"dist":{"shasum":"dfbe0292868231a52a9970c7175741470cb707e5","tarball":"https://registry.npmjs.org/@dermah/pulsar-input-keyboard/-/pulsar-input-keyboard-0.1.0.tgz","integrity":"sha512-9ky200fV2l3NW6YIsYRhI363rY8PJKU5JKlRE2C/+m6ncM2FG9On4HS+LEnH4B29qwxJk3H1NmkS3W0EUJYoTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPCkN0J8XVg/ChrYqY2yFZxQHcqiwnwWK/ujA2/1abtAIhAKqGlRT8cw0QjbMFX6iZK4cEV25RM1yvsLAQiOOmrWiv"}]},"maintainers":[{"name":"dermah","email":"stevena7@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pulsar-input-keyboard-0.1.0.tgz_1457863504486_0.8285017041489482"}},"0.2.0":{"name":"@dermah/pulsar-input-keyboard","version":"0.2.0","description":"Transmit pulses using nothing but terminal and keyboard","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Dermah/pulsar-input-keyboard.git"},"keywords":["pulsar","keyboard"],"author":{"name":"Sputnik"},"license":"MIT","bugs":{"url":"https://github.com/Dermah/pulsar-input-keyboard/issues"},"homepage":"https://github.com/Dermah/pulsar-input-keyboard#readme","dependencies":{"jsonfile":"^2.2.3"},"gitHead":"96b840dc7a9931dace1a476c75bb74b4b1641569","_id":"@dermah/pulsar-input-keyboard@0.2.0","_shasum":"4c6796e9d9b9bd50713f40ab51fbca36a08583a8","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"dermah","email":"inquiry@dermah.com"},"dist":{"shasum":"4c6796e9d9b9bd50713f40ab51fbca36a08583a8","tarball":"https://registry.npmjs.org/@dermah/pulsar-input-keyboard/-/pulsar-input-keyboard-0.2.0.tgz","integrity":"sha512-3HC35dNgixa8G9nkIrd9aQ7OEW9p6VRBB7OiQJj3ZgZQrShFd+YpIKkMLElojC2T1kbasc8jiroS1E7qVXCD+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgJfBhRTs0xWHbGgBFChIAWk0vlF9pphdz/iooCoLXNAiEApYRLSQM8yREPlgC2NUYCKD4ZF3fi8Z32ES7sP60gyTE="}]},"maintainers":[{"name":"dermah","email":"stevena7@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/pulsar-input-keyboard-0.2.0.tgz_1466086322150_0.928297414444387"}}},"readme":"# pulsar-input-keyboard\nTransmit pulses using nothing but terminal and keyboard\n\nAn input method that is very tightly coupled with [pulsar `v0.2.x`](https://github.com/Dermah/pulsar/tree/v0.2.1) because that is where it was extracted from.\n\n# Usage\n\n## Setup\n```JavaScript\nvar Processor = require('@dermah/pulsar-input-keyboard');\nvar processor = new Processor(config);\n```\nwhere `config` is the same object you're giving [pulsar-transmitter](https://github.com/Dermah/pulsar-transmitter/tree/v0.1.1). It looks like this\n\n```JSON\n{\n  \"songPath\": \"./song.mp3\",\n  \"totalCols\" : 2,\n  \"totalRows\" : 2\n}\n```\n\n`processor` is an EventEmitter that can emit these events:\n\n* `pulse`\n* `pulse update`\n* `pulsar control`\n\nWhen the processor is created, the console will detect any key entered and emit pulse events accordingly.\n\n## Key recording\n\nTo record your keypresses, press `}` to start recording and `{` when you are finished to write out the keypresses to `PULSARLOG.json`. To play them back, press `]` to load `PULSARLOG.json` and `[` to start playing.\n\nPress `F8` to play the song specified in the `config` object. This cheats by using command line utilities. If you're on Windows, download [MPlayer](http://sourceforge.net/projects/mplayerwin/) and place `mplayer.exe` in this folder.\n\nPress `ctrl-c` to stop listening for the keyboard.\n\n\n# Capabilities\n\nThis thing takes control of the console so that key presses trigger\n* pulse emissions\n* timed pulse emissions\n* combinations or pulse emission\n* music playback\n* keylogging to file of all future keypresses\n* playback of keylog files\n","maintainers":[{"email":"inquiry@dermah.com","name":"dermah"}],"time":{"modified":"2022-06-12T17:01:12.027Z","created":"2016-03-13T10:05:04.890Z","0.1.0":"2016-03-13T10:05:04.890Z","0.2.0":"2016-06-16T14:12:04.668Z"},"homepage":"https://github.com/Dermah/pulsar-input-keyboard#readme","keywords":["pulsar","keyboard"],"repository":{"type":"git","url":"git+https://github.com/Dermah/pulsar-input-keyboard.git"},"author":{"name":"Sputnik"},"bugs":{"url":"https://github.com/Dermah/pulsar-input-keyboard/issues"},"license":"MIT","readmeFilename":"README.md"}