Giter Club home page Giter Club logo

touchscreenrotate's Introduction

TouchScreenRotate

This Rotates your screen and touchscreen input device accdording to it's position sensor on Debian, Ubuntu and other Linux distros.

It works on the X-Server and on Wayland with KDE. If you use something different this might be a template for your own adaptions to start with. Pull-requests are appreciated i.e. if you add Gnome-support for Wayland!

set it up

Please find out what the name of your touchscreen input device is. To do so execute

xinput --list

and guess which one it is (it won't be your Touchpad...).

Then insert it the the according variable in the python script.

Maybe you will also need to configure an offset if the normal-mode isn't normal, the options are 0, 90, 180 and 270.

Finally I recommend you to autostart the script on system start.

other hints

I initially created this for my OneMix S1 pocket netbook, it also works on my Lenovo Yoga and my Toshiba Portege.

If you got here maybe you are looking for a driver for a Stylus for your device as well, I found this Goodix Touchscreen driver from Adya that is working on my device, thanks for this, Adya!

touchscreenrotate's People

Contributors

polarwinkel avatar

Watchers

James Cloos avatar  avatar  avatar

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.