bluerobotics / bluerobotics/cockpit
Joystick: Allow using axis as a button
- 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);

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