sensors: handle axis allocation and negation in kernelspace