this post was submitted on 01 Sep 2023
10 points (100.0% liked)

ErgoMechKeyboards

5857 readers
2 users here now

Ergonomic, split and other weird keyboards

Rules

Keep it ergo

Posts must be of/about keyboards that have a clear delineation between the left and right halves of the keyboard, column stagger, or both. This includes one-handed (one half doesn't exist, what clearer delineation is that!?)

i.e. no regular non-split¹ row-stagger and no non-split¹ ortholinear²

¹ split meaning a separation of the halves, whether fixed in place or entirely separate, both are fine.
² ortholinear meaning keys layed out in a grid

No Spam

No excessive posting/"shilling" for commercial purposes. Vendors are permitted to promote their products/services but keep it to a minimum and use the [vendor] flair. Posts that appear to be marketing without being transparent about it will be removed.

No Buy/Sell/Trade

This subreddit is not a marketplace, please post on r/mechmarket or other relevant marketplace.

Some useful links

founded 1 year ago
MODERATORS
 

So I have tried to play around with joystick's algorithms a little bit and made QMK PR in the end.

you are viewing a single comment's thread
view the rest of the comments
[–] sffubs@lemmy.world 1 points 1 year ago

I'm not sure what sort of joystick you're using, but you can get a simple analog one working without much work.

I use some hall effect ones in this keyboard:

https://github.com/sffubs/dactyl_manuform_gimbal

They are analog joysticks, so generate a voltage that indicates the position. The joystick code is in here:

https://github.com/sffubs/qmk_firmware/blob/master/keyboards/handwired/dactyl_manuform_gimbal/dactyl_manuform_gimbal.c

Unfortunately it's not too well organised, but it just does an analogReadPin to get an X/Y value, scales it to the desired mouse values, and sends it using a pointing_device_task.

I am a big fan of joystick pointing devices, would love to see what you end up making!