百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#43·react-tetris

GamePad 和摇杆控制的新功能 添加手柄功能

作者: Joyscube创建于 2022年11月17日更新于 2022年11月17日

Hello Chvin, we added GamePad control for this wonderful Tetris game. Maybe it's not good enough, but it works well in my Chrome browser : ) We only changed this file: src/control/index.js https://GitHub.com/chvin/react-tetris/commit/1e31eed7aaa19446f9f5ebd60cd42640d1bb7c8f

内容来源: chvin/react-tetris

查看 GitHub 原文在 GitHub 查看讨论