Fix analog input sim bug, add gyro support