2010/1/19 Michael Jones <[email protected]>: > 2) Hat Jog Function: > > I would like to make the hat button on the controller jog the x and y > axis by a fixed amount (i.e. 0.01" or 0.001" or maybe whatever is > selected in the menu in Axis) each time it is pressed. I may go as > far as using a modifier button, and the hat together to make it do the > same for the Z axis.... but not sure yet.
Doesn't connecting the hat output pin to halui.jog.0.plus (etc) do that? FWIW I just use analogue jogging, with the left hand index-finger buttons setting high speed with top, medium speed with bottom and very slow with both. I think it is worth having a modifier required as otherwise you tend to jog when picking up the controller. That was a relatively easy: loadrt mux4 addf mux4.0 servo-thread net jog-slow input.0.btn-top2 => mux4.0.sel1 net jog-fast input.0.btn-base => mux4.0.sel0 setp mux4.0.in0 0 setp mux4.0.in1 20 setp mux4.0.in2 200 setp mux4.0.in3 2000 net jog-speed halui.jog-speed <= mux4.0.out -- atp ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
