libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
9.97k stars 1.8k forks source link

[Feature request] implement a RETRO_DEVICE for mahjong #15772

Open barbudreadmon opened 10 months ago

barbudreadmon commented 10 months ago

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 mahjong mask 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 :

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 : famicom neogeo

wings110 commented 10 months ago

mahjong mask can show , but press virtual keyboards and button overlays no work .all the mahjong games can't be controlled through virtual keyboards.

wings110 commented 10 months ago

@barbudreadmon mahjong mask can show,but press button overlays no work,Only the Coins Start buttons work. all the mahjong games can`t be controlled! not only the hotgm4ev. 000

wings110 commented 8 months ago

Following up libretro/FBNeo#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 mahjong mask 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 : famicom neogeo All the mahjong games can`t be controlled by virtual mahjong mask keyboards,pls help to fix big thx!