-
Notifications
You must be signed in to change notification settings - Fork 48
Allow importing joystick mappings from BlueOS extensions #1962
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
base: master
Are you sure you want to change the base?
Allow importing joystick mappings from BlueOS extensions #1962
Conversation
2294465 to
e54312b
Compare
783a53d to
13b6142
Compare
4572a3b to
fc5755d
Compare
fc5755d to
cf41b60
Compare
8fbdf5c to
1e83f8d
Compare
|
As noticed by @joaoantoniocardoso: we are missing a |
|
Hi @rafaellehmkuhl, when I was implementing the API on my extension, I noticed that this implementation is using It would be good if we could agree to stick to a convention for the entire cockpit_extras API. |
|
I added the joystick mapping using the current API to the Radcam Manager (current master), and it showed on Cockpit (only when it's running on BlueOS, and not locally, because of some CORS thing). However, the mapped actions seem to be conflicting with already existing ones, somehow creating this oscillatory behavior when I click them (see it on the graphs): mapped_buttons_are_fighting_each_other.mp4 |
10fa754 to
817c625
Compare
Fixed the usage of The enums will have to stay as they are for historical purposes, otherwise we would break already-stablished APIs. |
Okay, but you could also make a parser that normalizes the old format to a new format, keeping backward compatibility while updating to this new uniform style. |
817c625 to
5c90d3c
Compare
5c90d3c to
be5d574
Compare
This better represents the new broad nature of this component.
be5d574 to
c4a0434
Compare
c4a0434 to
823690d
Compare
823690d to
ddad784
Compare
ddad784 to
cae6adb
Compare
Opening in draft as there were some suggestions in the RadCam meeting that I'm going to change before opening it for review:
Fix #1859