Giter Club home page Giter Club logo

3keys's Introduction

3keys's People

Contributors

hikari31768 avatar yuan910715 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

3keys's Issues

hex文件

你好,arduino生成的hex文件在那看

编译失败

您好, 我在尝试编译threekey.ino时出现了以下报错
请问该如何解决

Linking everything together...
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\CH55xDuino\\tools\\MCS51Tools\\2023.10.10/win/busybox" ash "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\CH55xDuino\\tools\\MCS51Tools\\2023.10.10/wrapper/sdcc-link.sh" "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\CH55xDuino\\tools\\sdcc\\build.13407_4/bin/sdcc" --nostdlib "-LC:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C" "-LC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\CH55xDuino\\tools\\sdcc\\build.13407_4/lib/large_int_calc_stack_auto" --code-size 14336 --xram-size 876 --xram-loc 148 -mmcs51 -DCH552 "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C\\sketch\\threekey.ino.cpp.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C\\sketch\\src\\CDC_KEYBOARD\\USBCDC.c.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C\\sketch\\src\\CDC_KEYBOARD\\USBHIDKeyboard.c.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C\\sketch\\src\\CDC_KEYBOARD\\USBconstant.c.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C\\sketch\\src\\CDC_KEYBOARD\\USBhandler.c.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C/core\\core.a" -lmcs51 -llibsdcc -lliblong -lliblonglong -llibint -llibfloat --out-fmt-ihx -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C/threekey.ino.elf"

?ASlink-Error-Insufficient ROM/EPROM/FLASH memory.
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\CH55xDuino\\tools\\sdcc\\build.13407_4/bin/avr-objcopy_7_3_0" -O ihex -R DATA -R INITIALIZED -R SSEG "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C/threekey.ino.elf" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\33BDE724B82CB71055F8934B06EEDA5C/threekey.ino.hex"
C:\Users\Administrator\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.13407_4/bin/avr-objcopy_7_3_0: 'C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\33BDE724B82CB71055F8934B06EEDA5C/threekey.ino.elf': No such file

exit status 1

Compilation error: exit status 1

请教一下HID的问题

你好!从deqingsun大大的issues看到了您,正好也是做类似的东西,然后看到那个cdc的项目是声明的HID键盘,但是我想用媒体键盘,但是对HID不太熟u,改了一下午,请教一下那个reportID要怎么改呀?现在合并完了虽然能编译但是按键用不了,看到您实现了,想请教一下,谢谢!

dataflash数据存储问题

您好,我注意到CH552G芯片内置的dataflash只有128K,dedingsun的eeprom.h中也描述到if (addr >= 128) {
return;
},看您的板子并没有增加外置存储,想请问您是如何做到eeprom读写到152地址的呢,是否能更多?
顺带一提,把鼠标加进来太棒了,可惜源码中并没有~

代码

请问,v5.1码源能发一下吗,我想改个连接名称

HID按键2个问题?

1、请教楼主,XP,WIN7系统不装驱动都支持吗?

2、如果按键按下状态(一直按着),怎么能每1秒循环发送键值?请教楼主

HID键盘扩展请求

你好 从立创广场一路看到这来的 很不错的3键键盘固件!

我自己的出发点是想要做一个单独的Sysreq单键键盘 开源广场上也看了很多方案 感觉各路神仙都把ch552玩出花来

我读了@DeqingSun的示例代码和你的项目 基于我自己的使用场景 想给功能键增加一个sysreq的选项 也查了相关的hid规范pdf
image
感觉只要在USBHIDKeyboard.c修改#DEFINEapp.vue里面的列表应该就能加入新的键位 板子和材料还没到所以我暂时还不能验证可行性 如果可行的话看看能不能接受一下我的PR

可以的话能不能尝试对HID里面的其他键进行扩展呢 比如留一部分自定义功能键0xfc-0xfe可以提供给自定义的映射 至少有三个键的空间可以用 如果可以把这三个键在web改键程序上作为自定义扩展提供应该会更加方便(例如需要改PrintScr, Pause键的场景)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.