surface_master 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 186d651bbe04a8255ccc6d5d85b7faf13c7e1345
4
- data.tar.gz: 1b4b9684879c2c01703301979ffba653e11811ea
3
+ metadata.gz: c82b8ffbad946a378d1c9641fab07478e3e21525
4
+ data.tar.gz: 2ed191613960271f0f67771cd0b2ff37e1b8ed34
5
5
  SHA512:
6
- metadata.gz: ba465d6123b0d6c9547e31b13f548e03bf795c8b727c296e144651cce84d13d82f47d65cf94c58942245d23c688e06e4810569ed7c34c50d26ec4dd59835202f
7
- data.tar.gz: 5d65cc3500a1e1cdf4b29c3114bd3561548b32ded2c2ac00726a1404b4a74f6c26693f83847fc25193efd5f3229df60045d81aaaa88060395c752bdf078511c9
6
+ metadata.gz: 92c9daacdb5c77692cece264485d6f8522b7a8c5c5f948dcd9fb6b1f9c2234add96990eb26453b89076d0e91808d512eea1474238ba85a18d360eb8ba9a3896d
7
+ data.tar.gz: ff9ab75a95dadf7869a2b491d4aeb539f9f372811bf2abc91d338ab4e928de7bd70cc44ea1ea2d2f0113b302fc1ff0350eccb197ebd7bb57d8ac7bfcd117e80c
@@ -1,5 +1,10 @@
1
1
  # Changes
2
2
 
3
+ ## v0.6.0
4
+
5
+ * Invert Y coordinate for Numark Orbit, to match behavior of Novation Launchpad.
6
+
7
+
3
8
  ## v0.5.1
4
9
 
5
10
  * Log to stderr.
@@ -208,7 +208,7 @@ module SurfaceMaster
208
208
  end
209
209
 
210
210
  def decode_grid(decoded, note, _velocity)
211
- decoded[:control] = decoded[:control].merge(x: note / 4, y: note % 4)
211
+ decoded[:control] = decoded[:control].merge(x: note / 4, y: 3 - (note % 4))
212
212
  decoded
213
213
  end
214
214
 
@@ -1,4 +1,4 @@
1
1
  #
2
2
  module SurfaceMaster
3
- VERSION = "0.5.1"
3
+ VERSION = "0.6.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: surface_master
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Frisby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-27 00:00:00.000000000 Z
11
+ date: 2015-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: portmidi