Comments (2)
pageUP的bug,应该跟按键定义有关:
- keymap[KEYMAP_NUM][IO_NUMBER],有5层映射,每层88个(82个按键+6个Touchpad)
- 但在定义每层映射时,实际只有83个值,后面的几个默认初始化了0
- 默认给的0值,恰好是pageUP对应的IO pin
可以尝试下,把keymap 0层映射,最后面的几个值补充完整,应该能搞定,比如:
int16_t keyMap[KEYMAP_NUM][IO_NUMBER] = {
// The first layer, used for aligning 74HC165 IO pins to PCB key layout
{67, 61, 60, 58, 59, 52, 55, 51, 50, 49, 48, 47, 46, 3,
80, 81, 64, 57, 62, 63, 53, 54, 45, 44, 40, 31, 26, 18, 2,
19, 70, 71, 66, 65, 56, 36, 37, 38, 39, 43, 42, 41, 28, 1,
15, 74, 73, 72, 68, 69, 29, 30, 35, 34, 33, 32, 24, 0,
14, 76, 77, 78, 79, 16, 20, 21, 22, 23, 27, 25, 17, 4,
13, 12, 8, 75, 9, 10, 7, 11, 6, 5,
82, 83, 84, 85, 86, 87} //最后的几个值,不要空着
我没硬件,没有尝试,有板子的同学可以试下
from helloword-keyboard.
映射是这样的,0层是必然会执行的,后续的1~N层只会执行一个,也就是说你选的2层那么最终就是先映射0层,然后映射2层,所以你描述的这个问题应该是代码有点小bug,晚点有空我调一下
from helloword-keyboard.
Related Issues (20)
- 未知 USB 设备(设备描述符请求失败) HOT 2
- 更新墨水屏图片失败!驱动已安装完成 HOT 6
- 关于PCB加入优联主控实现无线多设备切换及拓展部分实现音频软件推子的功能 HOT 1
- MUTE,VOLUME_UP,VOLUME_DOWN这类功能键不起作用 HOT 3
- Helloword HOT 1
- Helloword
- Helloword
- Hallo
- LED灯闪烁问题和TYPE-C上电出现啸叫声
- Type-C电源供电和发热问题 HOT 9
- 改键软件-qt实现 HOT 1
- 立创开源的键盘工程是不是没了 HOT 11
- Pcb files again HOT 10
- Setembroflow
- 关于按键滤波方案的一个想法
- 无法理解keymap和keyboard.remap HOT 2
- 如何更改轴体数量 HOT 1
- Gerber files/PCB files to my email
- E-Ink doesn't turn on - .json file for VIA?
- 立创商城的硬件开源工程没有了
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 helloword-keyboard.