Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
infinitton-idisplay
Advanced tools
infinitton-idisplay
is a Node.js library for interfacing
with the Infinitton.
❗ Please note that
infinitton-idisplay
is NOT a standalone application. Instead,infinitton-idevice
is a code library, which developers can use to make their own applications which interface with the Infinitton.
This library is a modified version of elgato-stream-deck
that does not have dependencies to image libraries, and that talks to the Infinitton device instead of the Elgato Stream Deck.
$ npm install --save infinitton-idisplay
const Infinitton = require('infinitton-idisplay');
// Automatically discovers connected Infinittons, and attaches to the first one.
// Throws if there are no connected Infinitton devices.
// You also have the option of providing the devicePath yourself as the first argument to the constructor.
// For example: const infinitton = new Infinitton('\\\\?\\hid#vid_ffff&pid_1f40&mi_00#7&56cf813&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}')
// Device paths can be obtained via node-hid: https://github.com/node-hid/node-hid
const myInfinitton = new Infinitton();
myInfinitton.on('down', keyIndex => {
console.log('key %d down', keyIndex);
});
myInfinitton.on('up', keyIndex => {
console.log('key %d up', keyIndex);
});
// Fired whenever an error is detected by the `node-hid` library.
// Always add a listener for this event! If you don't, errors will be silently dropped.
myInfinitton.on('error', error => {
console.error(error);
});
// Fill the first button form the left in the first row with a solid red color. This is synchronous.
myInfinitton.fillColor(4, 255, 0, 0);
console.log('Successfully wrote a red square to key 4.');
FAQs
An npm module for interfacing with the Infinitton buttons
The npm package infinitton-idisplay receives a total of 283 weekly downloads. As such, infinitton-idisplay popularity was classified as not popular.
We found that infinitton-idisplay demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.