Permalink
Browse files

jubeat support

  • Loading branch information...
1 parent fad38f4 commit ff660fc8a5b5cae633937954d5efdd1abfb3084e Noom committed May 12, 2012
Showing with 90 additions and 0 deletions.
  1. +30 −0 client/layouts/jubeat.js
  2. +43 −0 client/skins/default/skin.css
  3. +17 −0 server/config.ini
@@ -0,0 +1,30 @@
+
+i2DX.layout('jubeat', function(ui) {
+
+ function style(index) {
+ return {
+ width: '222px',
+ height: '222px',
+ bottom: (6 + 264 * (Math.floor((15-index) / 4))) + 'px',
+ marginLeft: (index % 4) * 264 + 6 + 'px'
+ };
+ }
+
+ ui.button('jubeat_1', style(0));
+ ui.button('jubeat_2', style(1));
+ ui.button('jubeat_3', style(2));
+ ui.button('jubeat_4', style(3));
+ ui.button('jubeat_5', style(4));
+ ui.button('jubeat_6', style(5));
+ ui.button('jubeat_7', style(6));
+ ui.button('jubeat_8', style(7));
+ ui.button('jubeat_9', style(8));
+ ui.button('jubeat_10', style(9));
+ ui.button('jubeat_11', style(10));
+ ui.button('jubeat_12', style(11));
+ ui.button('jubeat_13', style(12));
+ ui.button('jubeat_14', style(13));
+ ui.button('jubeat_15', style(14));
+ ui.button('jubeat_16', style(15));
+
+});
@@ -125,6 +125,49 @@
.popn_1.state-pressed,
.popn_9.state-pressed { border-color: #e9e8e7; }
+/* style for Jubeat buttons */
+.jubeat_1,
+.jubeat_2,
+.jubeat_3,
+.jubeat_4,
+.jubeat_5,
+.jubeat_6,
+.jubeat_7,
+.jubeat_8,
+.jubeat_9,
+.jubeat_10,
+.jubeat_11,
+.jubeat_12,
+.jubeat_13,
+.jubeat_14,
+.jubeat_15,
+.jubeat_16
+{
+ border: 4px solid #454443;
+ background: #090807;
+}
+
+/* style for Jubeat buttons (pressed state) */
+.jubeat_1.state-pressed,
+.jubeat_2.state-pressed,
+.jubeat_3.state-pressed,
+.jubeat_4.state-pressed,
+.jubeat_5.state-pressed,
+.jubeat_6.state-pressed,
+.jubeat_7.state-pressed,
+.jubeat_8.state-pressed,
+.jubeat_9.state-pressed,
+.jubeat_10.state-pressed,
+.jubeat_11.state-pressed,
+.jubeat_12.state-pressed,
+.jubeat_13.state-pressed,
+.jubeat_14.state-pressed,
+.jubeat_15.state-pressed,
+.jubeat_16.state-pressed
+{
+ background: #8b8685;
+ border-color: #bef;
+}
/* i2dx logo */
View
@@ -27,6 +27,23 @@ popn_7 = v
popn_8 = g
popn_9 = b
+jubeat_1 = 4
+jubeat_2 = 5
+jubeat_3 = 6
+jubeat_4 = 7
+jubeat_5 = r
+jubeat_6 = t
+jubeat_7 = y
+jubeat_8 = u
+jubeat_9 = f
+jubeat_10 = g
+jubeat_11 = h
+jubeat_12 = j
+jubeat_13 = v
+jubeat_14 = b
+jubeat_15 = n
+jubeat_16 = m
+
start = o
select = p

0 comments on commit ff660fc

Please sign in to comment.