added axes encoding/decoding over USB