jpconstantineau / BlueMicro_BLE

Keyboard Firmware for the Nordic nRF52 Series of Bluetooth SoC based on the Adafruit NRF52 Feather
http://bluemicro.jpconstantineau.com/
BSD 3-Clause "New" or "Revised" License
358 stars 171 forks source link

Direct Pin connection keyboard support #325

Open rootexpression opened 8 months ago

rootexpression commented 8 months ago

Is there a way to do direct pin? I didn't find anything other than matrix configuration in the docs, or in my searches (I may have done a bad job of choosing the right keywords, so if I missed something please let me know).

For really compact keyboards and macro pads it'd be much easier to, in some cases, just direct wire them, and help keep it low profile in some instances (by a few mm).

I'd like to see that as an option, if its something that can find its way onto the todo list.

jpconstantineau commented 8 months ago

Yes, there is. I don't recall an example but they use a dummy pin as a row and use the individual pins for where the switches are connected. (or vice versa).

On Thu, Jan 18, 2024, 11:27 rootexpression @.***> wrote:

Is there a way to do direct pin? I didn't find anything other than matrix configuration in the docs, or in my searches (I may have done a bad job of choosing the right keywords, so if I missed something please let me know).

For really compact keyboards and macro pads it'd be much easier to, in some cases, just direct wire them, and help keep it low profile in some instances (by a few mm).

I'd like to see that as an option, if its something that can find its way onto the todo list.

— Reply to this email directly, view it on GitHub https://github.com/jpconstantineau/BlueMicro_BLE/issues/325, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYW6G5QVJOCWSVSZOM6VDYPFLQ5AVCNFSM6AAAAABCAVBCSCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DQNZUG44DIOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rootexpression commented 8 months ago

By dummy pin, do you mean set a pin that doesn't exist on the board? Like P0.99? Or a pin that exists, but isn't connected?

jpconstantineau commented 8 months ago

Not quite. 0 I believe is usually connected to a crystal and will ignore any I/O to it. Or a pic that the chip doesn't have connected to an outside pin on the board. This will depend on the board in question

On Thu, Jan 18, 2024, 11:40 rootexpression @.***> wrote:

By dummy pin, do you mean set a pin that doesn't exist on the board? Like P0.99? Or a pin that exists, but isn't connected?

— Reply to this email directly, view it on GitHub https://github.com/jpconstantineau/BlueMicro_BLE/issues/325#issuecomment-1898933395, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYW6HRPJO2NE7WOU67YL3YPFNBDAVCNFSM6AAAAABCAVBCSCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYHEZTGMZZGU . You are receiving this because you commented.Message ID: @.***>

rootexpression commented 8 months ago

Excellent info to have. Thank you! I'll have to dig through the schematics of the boards I have and see what I can turn up. I'm betting they all have at least a few pins connected to nothing. I can give that a try when I get something wired up to test with.