rosmo / go-hidproxy Goto Github PK
View Code? Open in Web Editor NEWProxies Bluetooth keyboards and mouse as HID devices (eg. with Raspberry Zero Pi W)
License: Apache License 2.0
Proxies Bluetooth keyboards and mouse as HID devices (eg. with Raspberry Zero Pi W)
License: Apache License 2.0
Hello,
I am using a fairly old keyboard and some special keys are not working. Is there a way to add the scancodes for more keys to the program? For example, the media keys are not passed through to the host, though they do exist on the keyboard. I assume, though I may be wrong, that this is because the input doesn't know about these keys and isn't sure what to do with them. The delete key is also not passed through, for some reason. Is there a way to get these keys passed to the USB HID device?
Thanks,
Hello,
I currently try to build the project with the recommended go version.
I get the following error:
go/src/github.com/jochenvg/go-udev/monitor.go:18:2: found packages unix (affinity_linux.go) and main (mkasm.go) in /home/thomas/go/src/golang.org/x/sys/unix
Thank you!
Mouse (trackpad) seems to smoothly track left and right however it doesn't move vertically except for the occasional large jump, any only then when I move the cursor perfectly vertically.
I am using the Logitech Harmony Smart Keyboard (Bluetooth versions of the K400) on an Xbox One X. The mouse cursor works find when pair with other devices and wired mice work fine with the Xbox.
P.S. Thank you for building this!
Hi,
I note that, though the media keys are mapped in main.go, and though I mapped a few more of them, none are passed through to the host or have any effect on the host when the host is either Windows 7 or 10 at least. I have the mapping as:
113: 127, // Mute
114: 129, // VolDn
115: 128, // VolUp
164: 232, // PlayPause
165: 234, // PreviousTrack
163: 233, // NextTrack
and that mapping, combining my own mapping and that which was already there, seems to correspond to the USB HID specification and the keys received from the Bluetooth board. However, I can hit these keys as much as I like but nothing happens on the host. I have tried several keyboard code display programs but they don't even seem to see the multimedia keys. I understand, from the research, that this may require some sort of separate descriptor to pass multimedia keys to Windows? I'm a bit lost on this so put it forward very tentatively. Any ideas would be very greatly appreciated. All the keys on my board, including my braille keyboard, seem to work except for these. The excellence of this code for unique boards can't be overestimated.
Thanks,
ESP32-C3/S3 has all the needed to make such proxy.
Hello,
Let me first thank you for an amazingly useful program. I am using it to type on a keyboard which I was about to throw away because it wouldn't properly connect to an old machine. Now that I can make the keyboard look like a HID device, things are working perfectly. I should also say that the low latency is really appreciated. I have two questions, the first being in this issue and the second in a later one. I wish to pair a second device with the Pi0 and have that second device proxied. Is this possible, or is only one device usable? If a second device is usable, can I reboot the Pi0, connect it to an ethernet cable, SSH into it, and pair the second device? That is, now that the proxy starts whenever the machine boots, can I still use a USB ethernet adapter on the HID port, or will it no longer work because the proxy is expecting to see a USB host on the HID port?
Thanks again,
Hi,
just came across this project and followed the instructions but am not able to build with go as its returning too many errors like undefined unsafe slice or syntax error etc. I am using a pi zero w with raspian lite buster as per your setup including the suggest go version. Could you please advise what i am doing wrong.
Thanks
Hello.
First of all, thank you for this awesome project. I have been using it for a month now and it works awesome. There is one issue though, it sends \ sign instead of ~. Could you take a look at this? I think the mapping
41: 50, // //
should be changed to:
41: 53, // //
Hello,
I am trying to add, that the Status LEDs of the keyboard will be switched on/off accordingly. Do you have an idea what is wrong in this example:
binary.Write(dev.File, binary.LittleEndian, input_event(evdev.EV_LED, evdev.LED_CAPSL, 1))
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.