Csound Csound-dev Csound-tekno Search About

Joystick-in idea.

Date1998-05-12 08:36
FromJamie Bullock
SubjectJoystick-in idea.
Is anyone interested in writing an opcode which reads data from the joystick port on PC soundcards (a bit platform-specific I know)?
I've used the joystick port before; I have a few apps which convert joystick port data to MIDI - I know this can then be routed to Csound's midiin opcodes, but it would be nice if Csound could read the port directly - to gain higher resolution and lower latency.
The opcode could take the form:
 
k1, k2, k3 .... k8  joyin irange1, irange2 ...irange8[,imode]
 
Where it takes in data, maps it to the range specified by the irange settings (ie 0-irange), and outputs the value at k-rate (k1 etc.)
 
Is anyone interested in writing such a thing ... or am I asking the impossible?
 
Cheers,
 
JamieB