react-tetris icon indicating copy to clipboard operation
react-tetris copied to clipboard

New feature for GamePad&Joystick control 添加手柄功能

Open Joyscube opened this issue 3 years ago • 1 comments

Hello Chvin,

We added GamePad control for this wonderful Tetris game, maybe it isn't good enough but it works well in my Chrome browser:) Only changed this file: src/control/index.js https://github.com/chvin/react-tetris/commit/1e31eed7aaa19446f9f5ebd60cd42640d1bb7c8f

我添加了手柄功能来方便大家用手柄玩这个完美的游戏,在我的Chrome 浏览器上运行效果还不错。 可能需要调整按键的顺序来适配不同的手柄,我们自己是用Joyscube测试,它能够自己调整按键顺序,所以不存在这个问题!

Joyscube avatar Nov 17 '22 04:11 Joyscube

你的邮件我已收到,谢谢1

aigouzz avatar Nov 17 '22 04:11 aigouzz