[Feature request] implement a RETRO_DEVICE for mahjong
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Following up https://github.com/libretro/FBNeo/issues/1057 where a user tried to play mahjong games on switch.
While the language barrier made things awkward, i believe what he meant by "mahjong mask" is not

but something akin to the virtual keyboards and button overlays that are common on mobile devices.
I think a good solution would be the implementation of a RETRO_DEVICE_MAHJONG.
The benefits include :
- a standardized layout, like the retropad
- awareness in the frontend, so that it can handle them however it wants (remapping to keyboard/gamepad, virtual mahjong controller, ...)
Currently, core developpers are basically being forced to map mahjong games to RETRO_DEVICE_KEYBOARD, which is probably far from ideal for mobile device users.
FWIW "mahjong controllers" also exist on consoles :


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked libretro/FBNeo issue and this proposal's discussion to understand the required mahjong controls and frontend expectations. Done means agreeing on the RETRO_DEVICE_MAHJONG interface, its standardized layout, and how frontends can handle it; the issue does not name implementation files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- api, game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100