完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛扫一扫,分享给好友
|
我正在使用Hydio 2.03b,发现KiCLICKEVER正在返回错误的行号。我有一个4行的3个键盘。当我按行2列1和2的顶部行和键时,KEYCLICKEVER返回0作为行号。我应该得到1行2行中的2个键的行数。返回的列号是正确的,0到2。但是逻辑必须认为每行有5列而不是3列,因为这是我按下键时看到的模式。还有其他人看到这个问题吗?
以上来自于百度翻译 以下为原文 I am using HARMony 2.03b and have found that KeyClickEvent is returning the wrong row number. I have a 4 row by 3 col keypad. When I press the top row and the keys in row 2 col 1 & 2, KeyClickEvent returns 0 as the row number. I should be getting 1 as the row number for the 2 keys in row 2. The column number being returned is correct, 0 thru 2. But the logic must think there are 5 columns per row instead of 3 because that's the pattern I'm seeing when I press the keys. Has anyone else seen this problem. |
|
相关推荐
4个回答
|
|
|
嗨,RBMISC,谢谢你报告这个问题。这似乎是键盘小部件代码中的一个错误。你能在LabRiaWiWigGig.Ke键Pad C中修改这个.ButoCulcKeDe()吗?并且告诉我这是否修复了你的问题?替换行α101:行=ID/(PAD & Gt;行+ 1);与:行= ID/PAD -GT;COLS;
以上来自于百度翻译 以下为原文 Hi rbmisc, Thank you for reporting this issue. This appears to be a bug in the keypad widget code. Can you make this change in _buttonClicked() in libaria_widget_keypad.c and let me know if this fixes your issue? replace line #101: row = id / (pad->rows + 1); with: row = id / pad->cols; |
|
|
|
|
|
谢谢你的安排。有趣的是,我从你那里得到的电子邮件替换了第101行:行=ID/(PAD & GT;行1);用:行=ID/(PAD & GT,ClS + 1);而不是你所张贴的。我要告诉你删除1,但这就是你所展示的。你所发表的作品。
以上来自于百度翻译 以下为原文 Thanks for the fix. The interesting thing is the email I got from you has replace line #101: row = id / (pad->rows + 1); with: row = id / (pad->cols + 1); Not what you have posted. I was going to tell you to remove the + 1 but that's what you are showing. What you posted works. |
|
|
|
|
|
发送的电子邮件是不可编辑的(尽管很多人强烈要求这样的特性)。
以上来自于百度翻译 以下为原文 Sent e-mails are not editable (although a lot of people are strongly requesting such a feature). |
|
|
|
|
|
嗨,RBMISC,谢谢你的回复,很高兴知道这个解决方案对你有用。此修复将在和声2.05中获得,因为和声2.04已经被冻结。谢谢,Ed @ Microchip
以上来自于百度翻译 以下为原文 Hi rbmisc, Thanks for reporting back, good to know that the fix works for you. This fix will be available in Harmony 2.05, as Harmony 2.04 has already been frozen. Thanks, Ed@Microchip |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475 浏览 0 评论
5794 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1125浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1098浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
873浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 16:53 , Processed in 0.744743 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3967