bluerobotics / bluerobotics/cockpit

Joystick: Allow using axis as a button

Open
#726 4 comments 0 reactions 0 assignees View on GitHub
enhancement joystick new-feature ux
Dominant language
TypeScript
Stars
198
Forks
63
Avg merge
2d 7h
Merged PRs (30d)
57

Description

Issue:
can't map buttons using d-pad (axis 6 & 7);
![image](https://github.com/bluerobotics/cockpit/assets/80598030/80771ad5-d924-4fec-8d5f-f32d40d8264a)

Tryng to set 8BitDO controller;
Details:
OS:
Linux ThinkPad-T495 6.5.0-17-generic #17~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 16 14:32:32 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Controller:
8Bitdo SN30 Pro (Vendor: 2dc8 Product: 6101)
*power on D-mode ( B + Start ), pair with Ubuntu as normal.
*X-mode doesn't work properly

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named; start by locating the joystick-mapping entry point and tracing how axes 6 and 7 are handled compared with buttons. Done means the 8Bitdo SN30 Pro's d-pad axes can be mapped as buttons on Linux and the controller configuration works as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.