-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another mouse emulation method. #168
Comments
I think I do. Should it work in same way as currently does stick, when you set "Trackpad (Mouse)" on it? |
Oh yes. That's it. Only issue I have is that the default acceleration range is too little. For rapid rotation plenty of speed is needed at the edge. A small deadzone in the middle is also a good idea to let the finger rest on the pad or allow for some imprecision on gyro without moving the cursor. |
…by tilting controller or using pad as stick. Ref #168
So, there is no GUI yet, but if you are running from git, you can use custom action and set there something like
for pad and
for gyroscope. |
Thank you. What is the maximum value for the deadzones? |
0 to 32767 for lower and 1 to 32768 for upper. |
Nice. By the way, what is the difference between "upper" and "lower" deadzone? Does the lower one correspond to negative axis value? |
I just pasted the pad line into the custom action field and got an error message "Unknown action 'mouseabs'". |
Did you skipped that bit about "running code from git" by any chance? :) |
I did. :) |
It was not obvious to me, as I do install from git; a newest release version. Anyway I pasted the line and now the right pad started giving the feedback, but there is still no movement of the cursor. |
Two things to check. Try disabling and re-enabling emulation (stopping and starting scc-daemon) and try increasing sensitivity with |
Ah, I forgot that you can have two dead zones myself. |
OK, so I restarted the daemon and gyro started working (it has the second line pasted). The pad still sticks to the old behaviour. |
This will not work, because "mouse" acts differently for pad and for stick by dresign. I have yet to decide if it's bug or feature :)
That means something is broken :( On my side, if I copy-paste first block from this comment above and just press OK, it works. If it doesn't on your side, could you save and post entire profile file somewhere? I'd like to check what went wrong. |
I double checked on my side and it turns out it was my mistake. I did something wrong while pasting and assumed it had the right thing pasted while it did not. I swapped the code too many times and lost track of it, apparently. So thank you very much for the attention and quick reaction. The core of the issue is solved and the only thing left to do is some polishing of minor details. |
That's actually pretty good idea. Now, when there is screenspace of entire deadzone tab available, I can add multiple modes and combobox to select them. I'll create another issue for that :) |
So, this can be found as "Mouse (Emulate Stick)" in both pad and gyro settings in git or in next release. |
It would be lovely to be have a different method to move the mouse with the touchpads and especially the gyro. Instead of doing it like the traditional touchpad approach, have the distance from midlle be speed of movement and the angle translate to direction of movement. This way one could control the cursor with the gyro. Right now it is impossible because the cursor is locked to the zero coordinates. I hope you get what I am trying to say.
The text was updated successfully, but these errors were encountered: