Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sym key functionality (Improvement) #9

Open
DanHolli opened this issue May 26, 2022 · 11 comments
Open

sym key functionality (Improvement) #9

DanHolli opened this issue May 26, 2022 · 11 comments

Comments

@DanHolli
Copy link

DanHolli commented May 26, 2022

I'm not sure if it already has functionality that just isn't used in English (us) but I feel like sym+1-9,0.#,* should map to f1-f12 and/or act as a menu or AltGr

@DanHolli DanHolli changed the title sym key functionality sym key functionality (Improvement) May 26, 2022
@DanHolli
Copy link
Author

DanHolli commented May 26, 2022

other potential combos
sym+up/down=volume/brightness up/down
sym+left/right=media back/next
sym+select=Play/Pause
sym+0="="
sym+"(" / ")"="[" / "]"
sym+ "/" = "\"

@grymoire
Copy link

I'm using the sym key to send CRTL-codes on Linux.

@DanHolli
Copy link
Author

I wasn't able to see this in action, but I'll check it out

@grymoire
Copy link

grymoire commented Jul 1, 2022

This is after I've modified the firmware. However, I still have some issues to resolve,, as I learn how the HID keyboards work. My goal is to use the top 4 keys to send all of the missing ASCII characters + ability to send control codes, making the keyboard useful for a small Kali-based system.

@DanHolli
Copy link
Author

DanHolli commented Jul 9, 2022

Just checked it out and noticed it wasn't working, then I saw your reply XD

Sounds neat, but it would also be nice if it could also be used by more typical systems like Mac and Windows...
Maybe down the road you can figure out a way to make two separate builds at once or make a mode switch? I'm not a code guy so I don't know if that possible though
I also noticed a matrix in keyboard.c that appears to map all the buttons, will this be adapted to also work with sym?

@grymoire
Copy link

grymoire commented Jul 9, 2022

I'm not a sophisticated git user, but I published a repository of my changes
https://github.com/grymoire/i2c_puppet
It adds support for Control-keys and the missing characters, using the button keys on top.
I don't think I did this right

@grymoire
Copy link

Here's the updated version.
https://github.com/grymoire/i2c_puppet-Linux

@eviscerat
Copy link

@grymoire Hi, how do I actually flash your code onto the keyboard? I managed to build it but I m not understanding how to add the new functionality.

@grymoire
Copy link

grymoire commented Jan 17, 2023 via email

@eviscerat
Copy link

eviscerat commented Jan 17, 2023

@grymoire One more thing, Where are the actual compiled files. I cloned the project and submodules, made build dir and ran ccmake -DPICO_BOARD=bbq20kbd_breakout -DCMAKE_BUILD_TYPE=Debug ... But I got nothing in the elf2uf2 directory or any uf2 files in a similar output directory.

My compile output seems to have succeeded:

CMAKE_BUILD_TYPE=Debug ..
PICO_SDK_PATH is /home/lucian/radxa-stuff/keyboard_software_alternative/i2c_puppet-Linux/3rdparty/pico-sdk
PICO platform is rp2040.
Using regular optimized debug build (set PICO_DEOPTIMIZED_DEBUG=1 to de-optimize)
PICO target board is bbq20kbd_breakout.
Using board configuration from /home/lucian/radxa-stuff/keyboard_software_alternative/i2c_puppet-Linux/boards/bbq20kbd_breakout.h
TinyUSB available at /home/lucian/radxa-stuff/keyboard_software_alternative/i2c_puppet-Linux/3rdparty/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB.
Compiling TinyUSB with CFG_TUSB_DEBUG=1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lucian/radxa-stuff/keyboard_software_alternative/i2c_puppet-Linux/build

EDIT: nevermind, forgot to run make after that. Also compiled files are in app dir

@grymoire
Copy link

grymoire commented Jan 17, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants