Comments (8)
That's quite strange. Is it a fresh install?
Could you try: go install github.com/rosmo/go-hidproxy/cmd/go-hidproxy
?
And also you may want to upgrade to the latest Go version (generally Go versions are quite backwards compatible).
from go-hidproxy.
Thank you for your reply!
It is a fresh Raspberry Pi OS bullseye installation on a pi zero 2 w
After updating to the current go installation (go version go1.22.2 linux/arm64) No I get the following errors:
thomas@pizero:~ $ go get github.com/rosmo/go-hidproxy/cmd/go-hidproxy
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
thomas@pizero:~ $ go install github.com/rosmo/go-hidproxy/cmd/go-hidproxy
go: 'go install' requires a version when current directory is not in a module
Try 'go install github.com/rosmo/go-hidproxy/cmd/go-hidproxy@latest' to install the latest version
from go-hidproxy.
Hey, I just updated a couple things and the README. The command go install github.com/rosmo/go-hidproxy/cmd/go-hidproxy@latest
should work now, just tested it on a NanoPi.
from go-hidproxy.
Now it gets stuck with this error:
/root/go/pkg/mod/github.com/rosmo/[email protected]/cmd/go-hidproxy/main.go:8:2: "github.com/rosmo/go-hidproxy" imported as hidproxy and not used
from go-hidproxy.
My bad, I refactored the whole thing now. Could try again? Go's global proxy has a tendency to cache things so best to install with a commit hash directly, for example:
go install github.com/rosmo/go-hidproxy/cmd/go-hidproxy@0a3a762
from go-hidproxy.
Thank you! The Mouse now works (only the scrolling is a little bit fast) . The Keyboard is not working:
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sMicrosoft Modern MouseEV_SYN"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sMicrosoft Modern MouseEV_KEY"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sMicrosoft Modern MouseEV_REL"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sMicrosoft Modern MouseEV_MSC"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sMicrosoft Modern Mouse Consumer ControlEV_SYN"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sMicrosoft Modern Mouse Consumer ControlEV_REL"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sMicrosoft Modern MouseEV_SYN"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sMicrosoft Modern MouseEV_ABS"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sMicrosoft Modern MouseEV_ABS"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sMicrosoft Modern MouseEV_SYN"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sSurface KeyboardEV_LED"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sSurface KeyboardEV_SYN"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sSurface KeyboardEV_KEY"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sSurface KeyboardEV_REL"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sSurface KeyboardEV_ABS"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sSurface KeyboardEV_MSC"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sSurface KeyboardEV_ABS"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sSurface KeyboardEV_SYN"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sSurface KeyboardEV_SYN"
Apr 20 11:41:23 pizero go-hidproxy[1301]: time="2024-04-20T11:41:23+02:00" level=info msg="Device %t , Dev Name %sSurface KeyboardEV_ABS"
I added a log-Statement to get k.Name but cannot find out how to quickly fix it
from go-hidproxy.
Maybe this is more helpful
from go-hidproxy.
Ach, looks like the formatting strings aren't quite there. I'll fix it tomorrow and we'll give it another go.
from go-hidproxy.
Related Issues (9)
- Pairing a second bluetooth device HOT 2
- Certain keys not being passed through HOT 7
- Media keys not being passed through, at least to Windows hosts. HOT 3
- Mouse is jerky in vertical direction
- \ instead of ~
- Not able to build too many errors HOT 1
- ESP32 support? HOT 1
- Use Status LEDs for CapsLock and NumLock HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-hidproxy.