Comments (6)
感谢,不过先说具体问题和现象,别着急贴代码。
比如亮度值不对,颜色和延迟不对等等。
需要贴代码的时候,用代码块包裹(已经帮你编辑),且只贴说明问题的一两行就好。
from mai_pico.
目前的问题是版号会显示方块,而不是15070-04,在询问的时候会乱回复数据,数据格式不对等等问题,比如010203040506本来应该回复111213141516,抓包发现它回复的数据比较乱,可能会回复1112131415161718,111213141516171811121315171819之类的,之前没注意,不过已经搞定了
from mai_pico.
So it's not functional thing. The firmware is not giving proper info strings to the game. Thanks. I'll fix them some time later.
from mai_pico.
对了,还有一个关于hid的功能。。。
void hid_proc(const uint8_t *data, uint8_t len)
{
hid_output_t *output = (hid_output_t *)data;
if (output->report_id == REPORT_ID_OUTPUT) {
switch (output->cmd) {
case 0x01: // Set Timeout
case 0x02: // Set Sampling Count
hid_joy.system_status = 0x30;
break;
case 0x03: // Clear Board Status
hid_joy.chutes[0] = 0;
hid_joy.chutes[1] = 0;
hid_joy.system_status = 0x00;
break;
case 0x04: // Set General Output
case 0x41: // I don't know what this is
break;
default:
printf("USB unknown cmd: %d\n", output->cmd);
break;
}
}
0x41是广告牌的灯光检查,好像是顶灯,具体我没细研究,好像用处不大,数据得到了几个,有兴趣您可以研究研究。
10 41 FC 00 FF 00 00 00 00 00 红色
10 41 FC 00 00 00 FF 00 00 00 绿色
10 41 FC 00 00 00 00 00 FF 00 蓝色
10 41 FC 00 FF 00 FF 00 FF 00 白色
10 41 FC 00 FF FF 73 73 00 00 1.40的颜色,这个RGB色盘应该是rgb(255, 115, 0)
from mai_pico.
目前的问题是版号会显示方块,而不是15070-04,在询问的时候会乱回复数据,数据格式不对等等问题,比如010203040506本来应该回复111213141516,抓包发现它回复的数据比较乱,可能会回复1112131415161718,111213141516171811121315171819之类的,之前没注意,不过已经搞定了
I can't reproduce the issue with my limited data resource. I'll close this one for now.
In the future, please only describe the issue, how to reproduce it, or the errors in the code.
from mai_pico.
对了,还有一个关于hid的功能。。。
0x41是广告牌的灯光检查,好像是顶灯,具体我没细研究,好像用处不大,数据得到了几个,有兴趣您可以研究研究。 10 41 FC 00 FF 00 00 00 00 00 红色 10 41 FC 00 00 00 FF 00 00 00 绿色 10 41 FC 00 00 00 00 00 FF 00 蓝色 10 41 FC 00 FF 00 FF 00 FF 00 白色
10 41 FC 00 FF FF 73 73 00 00 1.40的颜色,这个RGB色盘应该是rgb(255, 115, 0)
Yeah, I'll add cab light support in the future. Thanks.
from mai_pico.
Related Issues (16)
- 关于盖板螺丝 HOT 1
- 3D模型部分区域壁厚太薄 HOT 1
- s?g?tools.ini config help! HOT 2
- Questions about sourcing ITO glass HOT 1
- [Bug Report] Stuck on aime check when using io4 HOT 5
- ITO玻璃可否倒角? HOT 1
- 灯光不支持 Fading,按键不支持投币 HOT 14
- IO板与ITO玻璃解耦合,接插件的选择,layout优化 HOT 2
- ITO Glass question HOT 3
- About the self-test interaction of the light control panel HOT 9
- ITO glass and full size maimai questions HOT 4
- 更新后固件刷上触摸只识别A1区 HOT 2
- Questions about the new AIC module in this project.. HOT 3
- A new bug in the AIC module HOT 4
- Bro, can you separate the touch part and use DB9, RS232 for direct communication? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mai_pico.