As the title says... Chat on...

User avatar
By forlotto
#32686 Using the NODEMCU would it be possible to do keyboard enumeration?

I am just trying to conceptualize how to do it with 1 NodeMCU at current so that I could use a switch for common used button Enter for instance. I would believe that somehow it would be possible of course it would have to somehow interface with the PC itself I know keyboard over wireless to a dongle that enumerates is possible or over bluetooth is possible but I guess I have yet to see keyboard over wifi.

It would be cool to setup the node as a wifi access point connected to a keyboard and have any computer with a usb wifi dongle or internal wifi card connect to it (Only allowing 1 connection at a time) having it enumerate on whatever PC is connected. The traditional wireless open band and bluetooth are nice as well but by far and large the most widely used standard is indeed wifi. It would really be nice to see such a thing come out of nodemcu if it is even possible from a cost standpoint or a technical standpoint there are obvious advantages even if the cost is slightly higher such as range, and connectivity.

I am assuming that it would be possible but it would need a software layer or driver to interpret the data.

Maybe the program would have to select the wireless connection to interpret the data from then it would sit there watch the data coming in and output a keystroke. This is how I would picture it in my minds eye. Maybe the better solution would be a piece of hardware that has a driver to enumerate the data automatically with a driver that says it is a Human Interface Device or Keyboard I really can't say but I guess I like the idea.

But originally as I had mentioned just the ability to use a button for enter hooked into the GPIO would be cool as well I would think this would be possible you could use all the GPIO's usable for the most common keys and make up a sidekick keypad that would allow you to use your mouse hand to preform tasks possibly you could make buttons that would send out multiple button presses. Something any multi tasker could appreciate or possibly a PC gamer even as well.
User avatar
By TerryE
#32738 I've come across a range of strange potential applications for the esp8266, but ...

I'd stick to straight C for this.