| Conqueror for one joystick

| Joystick one is used to both drive the tank and
| to aim the gun. It does this by operating in two
| 'states' stir the stick to swap states.

|---------------------------------------------------

| Form flags A & B into an edge triggered latch,
| make 'stir' toggle the state
setB_1          = stir_1.~flagA_1
resetB_1        = stir_1.flagA_1
setA_1          = ~stir_1.flagB_1
resetA_1        = ~stir_1.~flagB_1

| Expressions to translate stick 1 movements
| into left/right track controls
H       = right_1.~down_1.~flagB_1       + up_1.~left_1.~flagB_1
N       = left_1.~up_1.~down_1.~flagB_1  + down_1.~left_1.~flagB_1
K       = left_1.~down_1.~flagB_1        + up_1.~right_1.~flagB_1
M       = right_1.~up_1.~down_1.~flagB_1 + down_1.~right_1.~flagB_1

| Expressions to translate stick 1 movements
| into turret controls
L       = right_1.flagB_1
G       = left_1.flagB_1
;       = up_1.flagB_1
F       = down_1.flagB_1

| Allow fire button to fire in either mode
space_bar = fire_1
