Sebastian, The pokeys docs list 3 hid instances however I can only ever see two.
The pokeys is configured in windows using its own software package where users map various input types to either keyboard or joystick functions. The keyboard hid seems to work fine with hal_input but its the joystick_hid implementation I seem to have an issue with. I can see my hal_input pins within emc but they will change state once and then stop responding. If I unplug and plug the pokeys and restart emc the same cycle repeats. Keyboard_ hid with this device is a waste in my opinion. Why copy a input device that's already connected. The joystick_hid only allows for digital and analog inputs. The goal would be to gain access to the higher functions of the pokeys like matrix keypads, lcd display, encoders and others, Of the 3 hid instances one is used to send commands to the pokeys. Using those commands one could gain direct access to all of those functions bypassing key and button mapping. Thoughts? ------Original Message------ From: Sebastian Kuzminsky Sender: [email protected] To: Work To: Emc mail list ReplyTo: Sebastian Kuzminsky Subject: Re: [Emc-users] Guidance on usb comp Sent: Feb 23, 2011 4:19 PM On 02/23/2011 01:31 PM, Jean-Paul Moniz wrote: > So, > > No matter what I try I can't seem to get the pokeys55 board to play nice with > emc and hal using hal_input or hid_comp. Looking at seb's shuttle comp I'm > thinking that a comp could be written for this device. I have the protocol > spec for the pokeys. > > Could I use hidraw to send request packets to the board and then receive the > expected response? I would think this is relatively straight forward for some > but not so clear for myself I bet it can be made to work :-) The PoKeys55 docs claim that the device implements a standard USB HID keyboard and joystick. Based on that, I'd expect it to just work with hal_input. Is that not the case? -- Sebastian Kuzminsky the moon is full here every night / and i can bathe here in his light the leaves will bury every year / and no one knows i'm gone -- tom waits Sent on the TELUS Mobility network with BlackBerry ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
