Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
= launchpad
{}[https://travis-ci.org/thomasjachmann/launchpad]
This gem provides a ruby interface to access novation's launchpad programmatically. LEDs can be lighted and button presses can be responded to. Internally, launchpad's MIDI input/output is used to accomplish this.
The interfaces should be rather stable now (sorry, I changed quite a bit since the last release), so experiment with them and comment on their usability. This still is work in progress. If you need anything or think the interfaces could be improved in any way, please contact me.
Sometimes, the launchpad won't react to anything or react to/light up the wrong LEDs. Don't despair, just dis- and reconnect the thing. It seems that some (unexpected) MIDI signals make it hickup.
== More Info
If you don't know what launchpad is, visit:
If you're into other languages or want to know what goes on behind the scenes MIDI wise, have a look at:
== Requirements
== Compatibility
The gem is known to be compatible with the following ruby versions:
== Installation
The gem is hosted on RubyGems[https://rubygems.org/], so in order to use it, you're gonna gem install it:
gem install launchpad
== Usage
There are two main entry points:
This is a simple example (only requiring the device for output) that switches on all LEDs (for testing), resets the launchpad again and then lights the grid button at position 4/4 (from top left).
require 'launchpad/device'
device = Launchpad::Device.new device.test_leds sleep 1 device.reset sleep 1 device.change :grid, :x => 4, :y => 4, :red => :high, :green => :low
This is an interaction example lighting all grid buttons in red when pressed and keeping them lit.
require 'launchpad'
interaction = Launchpad::Interaction.new interaction.response_to(:grid, :down) do |interaction, action| interaction.device.change(:grid, action.merge(:red => :high)) end interaction.response_to(:mixer, :down) do |interaction, action| interaction.stop end
interaction.start
For more details, see the examples. examples/color_picker.rb is the most complex example with interaction.
== Future plans
== Changelog
=== v.0.3.0
=== v.0.2.2
=== v.0.2.1
=== v.0.2.0
=== v0.1.1
=== v0.1.0
== Copyright
Copyright (c) 2009 Thomas Jachmann. See LICENSE for details.
FAQs
Unknown package
We found that launchpad demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.