Yes, I didn't want to waste space by showing my initialisation code, but:

CMCON = 7

and to isolate the one switch for testing:

TRISA = %00000010



G