Remade JoyCtrl::query() to return read buffer after quering state. Now it doesn't work in Linux.