There are example configs for the xhc-hb04 (linuxcnc 2.6) in
   configs/sim/axis/xhc-hb04

Some overall documentaion (same as provided using the config picker):
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=configs/sim/axis/xhc-hb04/README;h=13ae26413bbf0eaa60b19212c9e6fc2d679ac703;hb=HEAD

Info for a common button layout (layout2):
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=configs/sim/axis/xhc-hb04/xhc-hb04-layout2.txt;h=d360ebb71512aa15aadcf42b42d11d5551137de8;hb=HEAD

Note:
   The increment sizes can be scaled using the scales provision.

   These configs are _examples_ and use a tcl script to aid in 
   configuration and a helper component named xhc_hb04_util.comp

   The driver can be used directly with a user-written hal confiuration:
     loadusr -W xhc-hb04 -I buttons.cfg -H [user_options]

   The driver can be executed from the command line to test a device and
   to show its options:

   $ xhc-hb04 -h
   xhc-hb04 version 2.7.0~pre0 by Frederic RIBLE (fri...@teaser.fr)
   Usage: xhc-hb04 [-I ini-file] [-h] [-H] [-s 1|2]
    -I ini-file: configuration file defining the MPG keyboard layout
    -h: usage (this)
    -H: run in real-time HAL mode (run in simulation mode by default)
    -x: wait for pendant detection before creating HAL pins
    -s: step sequence (*.001 unit):
        1: 1,10,100,1000 (default)
        2: 1,5,10,20

   Configuration file section format:
   [XHC-HB04]
   BUTTON=XX:button-thename
   ...
       where XX=hexcode, thename=nameforbutton

-- 
Dewey Garrett


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to