Just thought I would post this hack I figured out.
I happened to come across a large supply of Acer switch detachable keyboards. SW312-31 N17H1. It's a nice action small keyboard and I wanted to use it on a kitchen computer setup because its so small. However it has no USB connector just 6 gold pins with no markings. like this:
pins
1 2 3 4 5 6
[-------------------------------------------------]
| Q W E R T Y U I O P |
| |
|____________
|SPACE BAR|_____________|
| |
|TOUCH PAD |
|__________ |
Pin# 1 Ground Black wire of USB
# 2 Nothing (not used) (no connection)
#3 White wire of USB , Data -
#4 Green wire of USB , Data +
#5 Red wire of USB +5V
#6 No connection (not used)


" alt="" class="bbc_img" />