UNPKG

interface.server

Version:

Design interactive interfaces using various devices and OSC/0MQ/WebSockets

18 lines (14 loc) 367 B
module.exports = { name:'simple', transports: [ { type:'osc', port:10080 }, ], inputs: { blah: { min: 200, max: 300 }, }, outputs :{}, mappings: [ { input: { io:'keyboard', name:'a' }, expression: function(v) { console.log("Key input a", v) } }, { input: { io:'keyboard', name:'b' }, output:{ io:'simple', name:'blah' } } ], }