Comments (4)
Same issue here, the filter removes all 8 byte commands:
https://github.com/ruundii/bthidhub/blob/master/mouse_message_filter.py#L10
These include all the movement events of a mouse...
I commented out those lines and the mouse works, however the vertical axis is 10x more sensitive than the horizontal axis. The result is that moving the mouse up/down is only just usable at the lowest sensitivity, while move left/right results in the cursor jumping up/down as it moves along because it picks up every little movement on that axis.
from bthidhub.
@ruundii Do you have any advise on how to debug these issues? I can see a couple of things that stand out, but not sure how to actually change them.
For example:
- bthidhub has the X/Y logical minimum/maximum reported as -2047/2047, while my mouse connected to it reports -32768/32768.
- The events from the mouse on the rpi begin with
8 00
, but the events from bthidhub begin with9 03
.
But, I have no idea how to change the values sent initially.
I've also tried changing the prefix in MouseMessageFilter, but this just results in the events not getting sent at all.
from bthidhub.
OK, I managed to update the sdp_record.xml, at which point the mouse works properly. I don't think there is a "standard" mouse config you can provide in the sdp record, so it would be better to look at dynamically creating one.
from bthidhub.
Let's track this in #23, which should resolve the issue.
I've described a workaround here: #11 (comment)
from bthidhub.
Related Issues (20)
- Change Keyboard Layout HOT 3
- Integration with Bluetooth Midi ?
- Ipad HOT 2
- Installing bthidhub alongside pihole HOT 1
- How to write a filter for a Kensington Orbit trackball HOT 10
- No web interface after installation
- Installation procedure HOT 1
- Having trouble making it work HOT 2
- Is there a way to manipulate this to just send a keycode over bluetooth? HOT 2
- Looks like it's working but nothing is working. HOT 2
- Game controllers please reply
- Followed the instructions, I cannot connect via web interface HOT 3
- packages/pip + py import error HOT 4
- USB connection between Rasp Pi and Host? HOT 2
- Caps lock triggers Num lock in CM Storm Quickfire TK
- Cannot Control LED - Causes Crash HOT 5
- Does not working with keyboard with trackpad HOT 7
- Installation Instructions - Helpful Clarification (Adjust SH && BAT for Windows if any username change is made to defaults on Pi) HOT 2
- cant install, last code mypyc unknown command HOT 3
- What is the web page or port to access configuration? HOT 4
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 bthidhub.