JInT_HIDlda

superclass: JInT

/**

2006  Till Bovermann (IEM)

*/


implements JustInTerface for a Logitech Dual Action device.


s.boot;

(

// plug in a HID device and start HIDDeviceService

q = q ? ();

HIDDeviceService.buildDeviceList;


// get first responding device

q.device = HIDDeviceService.devices.first

)


HIDresponder.load;


j = JInT_HIDlda.new(s, q.device.locID)

j.start


j.info


j.inspect


p = p ? ProxySpace.push(s)


~y = {SinOsc.ar(j[\lj].kr[0].lag(0.25) * 400 + 400) * j[\b1].kr.lag(0.3) * 0.5}

~y.play

~y.free


j.stop


HIDresponder.releaseAll