Giter Site home page Giter Site logo

Touchpad support about pooltool HOT 7 OPEN

st4ycool avatar st4ycool commented on July 26, 2024
Touchpad support

from pooltool.

Comments (7)

ekiefl avatar ekiefl commented on July 26, 2024

Can you describe the behavior you're observing? Pooltool works at the level of mouse position, and does not care what hardware was used to move the mouse.

from pooltool.

st4ycool avatar st4ycool commented on July 26, 2024

So, simulator doesn't react on any touchpad events. No matter, is it aim mode or no, it doesn't even move screen with 'V' key.

upd:
After few minutes I tried with trackback with trackball ( red dot in the middle of keyboard of ThinkPad), and it works as intended.
I am on Ubuntu 22.04.3

p.s. do you have any plans on sounds?

P.s.p.s. big respect for this truly amazing work!

from pooltool.

ekiefl avatar ekiefl commented on July 26, 2024

That is unfortunate :\

I'm not sure how I can help with that. If the touchpad controls the mouse, it should control the game, with a few caveats.

First, since you're on Linux, make sure you run

pip uninstall panda3d -y
pip install --pre --extra-index-url https://archive.panda3d.org/ panda3d

If you can only move just a little in any direction before the cursor goes out of the game screen, you need to run the above step.

Second, any unlikely scenario can occur where the game window is active, and the mouse position is frozen, but lies outside the game window. When this happens, no mouse movement controls control the game. However, this is independent of the mouse hardware. If you try the trackball and the trackpad right after one another, does the trackball work and the trackpad doesn't?

p.s. do you have any plans on sounds?

Yes! Let me know if you want to collaborate on that.

P.s.p.s. big respect for this truly amazing work!

Thank you very much.

p.s. How did you hear about pooltool?

from pooltool.

st4ycool avatar st4ycool commented on July 26, 2024

hmm
Installing collected packages: panda3d ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pooltool-billiards 0.2.1 requires panda3d==1.10.13, but you have panda3d 1.11.0.dev3306 which is incompatible.

No, trackpad doesn't work after I play with trackball

How can I collaborate on introducing sounds into this beautiful simlator?

p.s. I asked stupid gpt what billiard games are available in the world and surprise surprise - pooltool was the first one in the list

from pooltool.

ekiefl avatar ekiefl commented on July 26, 2024

Installing collected packages: panda3d ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pooltool-billiards 0.2.1 requires panda3d==1.10.13, but you have panda3d 1.11.0.dev3306 which is incompatible.

This is an expected warning, since we are overriding pooltool's panda3d requirement. In the pooltool python env, can you run

python

Then:

print(__import__("panda3d").__version__)

To exit,

exit()

What version is printed out? It should be >1.10.13

You should give it another go and see if your experience feels better.

p.s. I asked stupid gpt what billiard games are available in the world and surprise surprise - pooltool was the first one in the list

Wow, that's cool GPT has pooltool on the radar.

from pooltool.

ekiefl avatar ekiefl commented on July 26, 2024

How can I collaborate on introducing sounds into this beautiful simlator?

Are you a sound engineer, or do you have a good mic and access to a pool table? We basically need a collection of sound bytes that get mapped to different events, like ball-ball, stick-ball, and ball-cushion collisions. Some background "bar ambience" would also be good.

from pooltool.

st4ycool avatar st4ycool commented on July 26, 2024

No, unfortunately I am no sound engineer.... neither I have the pool table. But maybe for first iteration just sounds from legendary pool games from internet would be enough? Like with your first table that had no 3d )

p.s. But I would be happy to help with coding... maybe!!! If you have some small tasks

from pooltool.

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.