Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@diefarbe/lib

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@diefarbe/lib

NodeJS library for connecting to the DasKeyboard 5Q

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

Build Status

Node Lib

This is a Node.JS library for interfacing with the DasKeyboard 5Q.

Running

npm install
npm run-script build # builds the library
npm run-script poc-ts # builds and runs the POC

Permissions on Linux

To prevent needing to run as root, you'll need to update your udev stuff.

Place this file at /etc/udev/rules.d/51-5q.rules:

SUBSYSTEM=="input", GROUP="input", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="24f0", ATTRS{idProduct}=="2020", MODE:="666", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="24f0", ATTRS{idProduct}=="2020", MODE="0666", GROUP="plugdev"

This will give the group plugdev access to the keyboard.

Then reload your udev configuration with: sudo udevadm control --reload-rules

Then reconnect your keyboard.

Firmware Versions

In the POC you'll see a way to check the firmware version. Turns out these keyboards are shipping with versions all over the place.

Some early versions may not light up the allColors test properly, or may have bugs that make animations like the sparkleBatch test unrunnable.

Right now, for best results - we're supporting the latest firmware (7.3.253).

FAQs

Package last updated on 17 Jul 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc