Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve joystick support for up to 32 axes and buttons #1375

Conversation

ArturoManzoli
Copy link
Contributor

  • Increased support for up to 32 axis and buttons;
  • Solved a bug that broke the DOM when activating joystick inside the Joystick Config Page;
  • Fixed the alert icon visual feedback causing a horizontal scroll to show on joy-config-page.
  • Improved Visual feedback for joystick table;
Screenshare.-.2024-10-02.9_37_53.AM.mp4

Closes #1208

@ArturoManzoli ArturoManzoli changed the title Improve Joystick support for up to 32 axis and buttons Improve Joystick support for up to 32 axes and buttons Oct 2, 2024
@ArturoManzoli ArturoManzoli changed the title Improve Joystick support for up to 32 axes and buttons Improve joystick support for up to 32 axes and buttons Oct 2, 2024
@rafaellehmkuhl
Copy link
Member

Niiiiiiice!

@@ -1,14 +1,18 @@
<template>
<div>
<div v-tooltip="tooltipText" class="relative cursor-pointer" :class="indicatorClass" @click="showDialog = true">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to better get, what was breaking here? I tried reproducing but saw no bug.

Copy link
Contributor Author

@ArturoManzoli ArturoManzoli Oct 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the joystick config page was already open, showing this screen
image
And a joystick input was pressed, the whole config screen broke with a vNode error (dom injection incomplete).

The cause was the v-tooltip, when used as a prop, sometimes has bad collateral effects like this one. (Vuetify's fault).

(Running on master branch)
https://github.com/user-attachments/assets/2d4d11ce-c1b7-4e3b-939e-d1b11e0e8292

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow! I actually saw this one already, but had no idea the problem was the indicator! Nice catch!

@rafaellehmkuhl rafaellehmkuhl merged commit a1c308e into bluerobotics:master Oct 2, 2024
11 checks passed
@ES-Alexander ES-Alexander added the docs-needed Change needs to be documented label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-needed Change needs to be documented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cockpit should support more than 4 joystick axes
3 participants