Hey Guys,
Sorry If I'm a complete noob. I have literally never played with macro's and stuff before and I'm just diving straight in here. I'm trying to get my Joystick to control a PTZ camera and I was hoping to have the X axis as pan, the Y axis as tilt and two of the buttons as zoom. Now the joystick has a slider on it and I was wondering how I could get event ghost to send a signal to the PTZ that varies with that sliders position. So If the slider was halfway and I moved the x axis the PTZ would pan at half speed. Currently Event Ghost reads the "left" "Up" "Right" "Down" commands from the joystick and outputs from the serial port (though I have yet to test the PTZ with it) a string such as "A0 00 00 00 00 00 AF 0F" with the value for pan changing with speed. I have no idea how to script anything properly but am willing to learn if that's what it takes. I've thus far only been using the "add event" and "add action" tools so if there's a tutorial or something blindingly obvious I'm missing I'm also keen to know. Thanks in Advance
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Joystick Z-Axis
-
ChevronTango
- Posts: 2
- Joined: Sun Feb 28, 2010 11:36 pm
Re: Joystick Z-Axis
Hey Guys, Update
If I add the Joystick as a Human Interface device then I can register each axis seperately. The problem now come in trying to script something that will broadcast to the PTZ the correct direction and speed. I'm almost certain this requires scripting so I'm now officially out of my depth. Any thoughts would be apreciated. I'm using the Serial Plugin and the write command now contained in it at the moment so some basics on what my next step is would be great.
Thanks
If I add the Joystick as a Human Interface device then I can register each axis seperately. The problem now come in trying to script something that will broadcast to the PTZ the correct direction and speed. I'm almost certain this requires scripting so I'm now officially out of my depth. Any thoughts would be apreciated. I'm using the Serial Plugin and the write command now contained in it at the moment so some basics on what my next step is would be great.
Thanks