################################################################################
#  Digitizer file for the Altek DataTab series digitizing tablets.
#  This is for an Altek Model 40 in format 8 (binary 1) with a 16
#  button puck.  This file works when the digitizer has the following 
#  switch  settings:
#    DIP   TOP LEFT    BOTTOM LEFT        TOP RIGHT    BOTTOM RIGHT
#     8      off           on                on             off      
#     7      off           on                on             on
#     6      on            on                off            on
#     5      on            off               off            off
#     4      off           off               on             off
#     3      off           on                off            on
#     2      NA            on                off            off
#     1      on            on                on             on
#
# NOTE:  the '\#' combinations are decimal representations of ascii characters
# Good luck and happy digitizing!
################################################################################
format = binary
baud = 9600
digcursor = al40f8_16

# set to continuous streaming mode
start=S2\13
# select format 8.  Binary type (either 1 or 2) set by dip switches only!
start=F8\13
# select rate 8 (50 points/second)
start=R8\13

#stop=

x_begin = 5
x_end   = 3
xmask1 = 00101111

xmask2 = 00111111
xmask3 = 00111111

y_begin = 8
y_end   = 6
ymask1 = 00101111

ymask2 = 00111111
ymask3 = 00111111

button  = 2
button_mask = 00011111


length = 8
sync_mask = 01000000
sync_col  = 1

debounce= 20
units_per_inch = 1000 
