Giter Club home page Giter Club logo

marble_fx's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

ghtalpo sobukus

marble_fx's Issues

Pass-through of PS/2 keyboard in addition to PS/2 Trackball?

Maybe this is trivial or it is impossible: Do you think it is feasible to translate both a PS/2 trackball and pass through an PS/2 keyboard at the same time? This would be a straight upgrade from the simple PS/2 to USB converter I have here (could repurpose its casing, even;-) and would enable having the trackball and a matching IBM Model M wired up only using one USB port.

Can the 32u4 drive two PS/2 devices at the same time? I imagine a keyboard being a lot less work than a pointing device.

2D scrolling

I was able to test the code now on a 32u4 Arduino Pro Micro with the T-CJ12. It seems to need a reinsertion when combined with usbguard after allow-device (maybe some hook to re-init hardware when the kernel driver is allowed to work is needed, normal devices work right away after lifting the software block).

But to come to the issue: I see that the red button is directly translated to scroll events in the Arduino. This spares any extra software setup on the PC, but it prevents the full experience: two-dimensional scrolling in both axes! How can you live without? ;-)

[Edit: Was misled by debugging output to serial port.]

I see https://www.arduino.cc/reference/en/language/functions/usb/mouse/mousemove/ being used

Mouse.move(xVal, yVal, wheel)

So this API doesn't allow for 2D scrolling.

The solution is to just pass through the red button and use xinput to configure things? Maybe we can use some idle pins to provide a switch for hardware of software scrolling mode. Hacking up the red button passthrough should be easy enough, actually easier than handling scrolling directly.

(Also: A custom device string would be nice if software scrolling needs to be configured โ€ฆ)

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.