I would like to activate the space bar with an arduino, meaning i want it to work as if i was pressing the space bar, but instead of pressing the key on the keyboard, i activate it from arduino.
I was thinking of using a mosfet to simply short the circuit and use the arduino to control the mosfet, would this work?
I know the Leonardo can emulate a keyboard, but i can't use the leonardo, i need the signal to come from the keyboard
Why? Most OS aggregate all keyboard input (supports multiple keyboards, same key on multiple keyboards will have the same effect). In that case, a space bar key press coming from the physical keyboard will be identical to a virtual space bar key press coming from an HID like the Leo.
It may be possible - but that doesn't mean that it is done. Most apps try to use any and all keyboards that are attached. Doesn't it make sense to do so? If you wrote the app, you can control that, too.
This is an example of not being able to really help because of not knowing at all what you are using it for.
Hi
I did some research, (here explains pretty well how a keyboard works How do Computer Keyboards Work? - YouTube)
I saw some schematics and i think i was able to get the polarities right but i'm not sure if i need to add any resistors? because many of the schematics i saw had resistors
Would this work?