Foot pedal and Hi object
Hello,
I have just bought this foot pedal:
http://www.pcsensor.com/usb-foot-control-keyboard-mouse-button-three-switch-pedal-fs3_p-p180.html
I would like to use it via the hi object, but I can't get any output. I can though select it in the devices list, it's called FootSwitch 3.
This device behaves in a slightly odd manner with Mac computers: it is detected as an external keyboard and sends its information as if keyboard keys were pressed. The devices comes with a (windows...) software which allows to assign the keys it sends: I have assigned F7, F8, and F9.
Thus, I do get the corresponding output from the key object! Unfortunately, I can't use key for my application because I need to have Max running in the background while I'm using another program, so the hi object would be ideal. But there comes the wierd issue: I've tried to select Apple Internal Keyboard / Trackpad 4, which outputs my keyboard strokes including F7, 8 and 9, but not the FootSwitch data...
I hope this is clear, if anyone has a clue could you let me know?
Thanks very much in advance
Ollie
Hello,
I've read there is a windows app to configure the foot pedal so may be using a unusual letter like √ ,¢, ß could be the trick...
Hi GeneralH,
Thanks for your reply. Yes, true, and unfortunately I don't have regular access to a windows computer to reconfigure the pedal. I tried with Wine but it's a heck of a job, which seems to me unnecessary because I do get the pedals input in the key object anyway. F7, 8 and 9 - keys from the keyboard also show up normally in both key and hi objects. In other apps, the pedal also acts just as the keyboard F-keys. So it seems the hi object filters out the pedal's input from the keyboard input as coming in from another channel, and while focusing on the pedal's channel, it doesn't get any information :s...
Is there a way to monitor usb HID inputs on a very low level, such as with a terminal command or so? I could try to understand the exact messaging path and "inform" Max about it somehow. I have tried an alternative object: ic.key, which I can't get to work at the moment, even for the Mac keyboard. I do get trackpad info from it though.
Any other idea?
Best,
Olivier