GithubHelp home page GithubHelp logo

Mouse support? about kmscon HOT 14 OPEN

aetf avatar aetf commented on August 26, 2024
Mouse support?

from kmscon.

Comments (14)

knghtbrd avatar knghtbrd commented on August 26, 2024 1

It might be that easy. Consolation expects to access a VT and this kinda isn't that. Perhaps one, the other, or both could be extended to work together, or maybe much of Consolation's code needs to more or less be embedded into kmscon. If that's the case, it may not be a desirable solution. I haven't looked yet and if someone else has maybe I'm wasting my time even thinking about it or perhaps someone's already working on something. In which case working together might speed up development.

from kmscon.

fdupress avatar fdupress commented on August 26, 2024 1

MacSlow implemented some gpm-like mouse support a few months back: dvdhrm#99 (comment)

Given the work was done on a sibling fork, I don't imagine a rebase will be particularly straightforward, but it might be good to reach out.

from kmscon.

MacSlow avatar MacSlow commented on August 26, 2024 1

Related pull-request is also up... see #75

from kmscon.

pataquets avatar pataquets commented on August 26, 2024

I'd like to add, Consolation would be great, but better yet if offers accessing the clipboard/selection from scripting.
In the past, I tried to access selection with GPM and failed. Just my 2c.

from kmscon.

Aetf avatar Aetf commented on August 26, 2024

Likely this will require support first in https://github.com/Aetf/libtsm, which is what kmscon uses internally. I'm not familiar with mouse support in terminals in general, so can't estimation the amount of work needed. But feel free to experiment. I'll try to review if you end up with something and can explain to me :)

from kmscon.

MacSlow avatar MacSlow commented on August 26, 2024

MacSlow implemented some gpm-like mouse support a few months back: dvdhrm#99 (comment)

Given the work was done on a sibling fork, I don't imagine a rebase will be particularly straightforward, but it might be good to reach out.

I still need to do that... and hopefully will do this in the next few days... since I want to get my stuff in the hands of more people able to easily test mouse/cut/paste support and my gyro-sensor stuff.

In case people wonder what I am talking about... have a look at the "screencasts" here: https://www.youtube.com/playlist?list=PLXvTBWcnTI1OHF7-Op-ASYsQKKg1TYb5Z

Just wanted to jump in and say it's coming and I am not dead ;)

from kmscon.

MacSlow avatar MacSlow commented on August 26, 2024

Moved/ported the output-rotation support already... see https://github.com/MacSlow/kmscon-aetf/tree/aetf-output-rotation-support.

This is against aetf's develop branch.

Now working on the mouse-selection/cut/paste support... maybe by tomorrow if all things go smooth. After that the gyro-sensor support.

from kmscon.

MacSlow avatar MacSlow commented on August 26, 2024

Just finished moving/porting over the mouse selection/cut/paste support too. If you want to try it out give https://github.com/MacSlow/kmscon-aetf/tree/aetf-mouse-support a spin. This also includes the output-rotation support, since it's build on top of that branch.

The gyro-sensor support is the last thing I still need to do, but that will have to wait for tomorrow... I am dead tired right now... good night!

from kmscon.

grepsuzette avatar grepsuzette commented on August 26, 2024

Wow amazing! Thank you.
Will try to test the mouse support this week.

from kmscon.

MacSlow avatar MacSlow commented on August 26, 2024

For what it's worth... Consolation can be found here: https://salsa.debian.org/consolation-team/consolation. So far, as @Aetf mentioned, libtsm does not yet interface with Consolation in any way. Thus there is no clipboard- or scripting-support in the mouse-selection I implemented... if that's what Consolation provides.

That being said, there is nothing stopping libtsm to be extended with probing-support of a running Consolation-daemon and using that if found or if not found falling back to my current implementation.

I am just looking into the codebase of Consolation to see/guess what amount of work it might be.

from kmscon.

MacSlow avatar MacSlow commented on August 26, 2024

The gyro-sensor stuff is also ported now. It's in branch https://github.com/MacSlow/kmscon-aetf/tree/aetf-gyro-support.

This is how stuff looks like now:

  • aetf's develop branch -> my aetf-output-rotation-support branch -> my aetf-mouse-support branch -> my aetf-gyro-support branch

I also wrote viccie30 about me finally having ported my stuff over. At the end of January I contacted Victor that I was working on these three features and was wondering how to upstream stuff. Not having my patches based on aetf's branch was the major blocker. With this now sorted, I hope it'll be easier to get things upstream.

from kmscon.

pascalJakobs avatar pascalJakobs commented on August 26, 2024

Hello alll,
On raspberry Dietpi, I'm new to kmscon but up to now it matches most of my needs and look very promising, I just wonder why mouse support is not yet included. Is there anything I could do to help?
have a nice day

from kmscon.

MacSlow avatar MacSlow commented on August 26, 2024

Hello alll, On raspberry Dietpi, I'm new to kmscon but up to now it matches most of my needs and look very promising, I just wonder why mouse support is not yet included. Is there anything I could do to help? have a nice day

If you know people with commit-rights (and time to review my PRs) poke them to look at my PRs :)

from kmscon.

pascalJakobs avatar pascalJakobs commented on August 26, 2024

I'm just an earthworm mate, but I can try one idea. Keep you posted.

from kmscon.

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.