Giter Site home page Giter Site logo

Comments (11)

ghaerr avatar ghaerr commented on June 11, 2024

Hi @sparky4,

Is your mouse outputting Microsoft protocol, or perhaps pc/Logitech? This can be better determined by running the mouse program from the command line, which will display the x,y coordinates. You can also edit the mouse protocol in elkscmd/sys_utils/mouse.c (set MOUSE_MICROSOFT vs MOUSE_PC) to see if that changes things. If so, then this can be changed in Nano-X as well.

Thank you!

from elks.

sparky4 avatar sparky4 commented on June 11, 2024

thanks ill try it out

from elks.

sparky4 avatar sparky4 commented on June 11, 2024

20240418_124924
ignore the pins xD

from elks.

ghaerr avatar ghaerr commented on June 11, 2024

Did you try replacing the code in elkscmd/sys_utils/mouse.c to the following:

#define MOUSE_MICROSOFT     0       /* microsoft mouse*/
#define MOUSE_PC            1       /* pc/logitech mouse*/

Then move the mouse quite slowly, We're trying to determine exactly what is coming from your mouse so that the data is parsed correctly. On ELKS, the mouse data is parsed by the user program (Nano-X), not the kernel. If the above change doesn't do much, then we will have to possibly try to see the raw data itself and determine how to parse it.

from elks.

sparky4 avatar sparky4 commented on June 11, 2024

okie ill boot it up

from elks.

sparky4 avatar sparky4 commented on June 11, 2024

lets see the raw data?

from elks.

ghaerr avatar ghaerr commented on June 11, 2024

from elks.

sparky4 avatar sparky4 commented on June 11, 2024

oh okay ill look into it when i get a chance

from elks.

ghaerr avatar ghaerr commented on June 11, 2024

@sparky4: I added a raw mode output to mouse in #1888 to help you. Run mouse r to see raw mouse data, then take a screenshot after lightly moving the mouse left/right and up/down a bit.

from elks.

sparky4 avatar sparky4 commented on June 11, 2024

thanks ill check it out tomarrow

from elks.

sparky4 avatar sparky4 commented on June 11, 2024

dang i need some time to test it more

from elks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.