XINPUT - calibration smaller screen Announcing the arrival of Valued Associate #679: Cesar...

What initially awakened the Balrog?

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

What do you call the main part of a joke?

Did Deadpool rescue all of the X-Force?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

Trademark violation for app?

Take 2! Is this homebrew Lady of Pain warlock patron balanced?

Maximum summed subsequences with non-adjacent items

Why weren't discrete x86 CPUs ever used in game hardware?

Sending unknown callers to voice mail automatically?

How to install press fit bottom bracket into new frame

Is grep documentation about ignoring case wrong, since it doesn't ignore case in filenames?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

How fail-safe is nr as stop bytes?

Should I use a zero-interest credit card for a large one-time purchase?

Is there a kind of relay only consumes power when switching?

How often does castling occur in grandmaster games?

How do living politicians protect their readily obtainable signatures from misuse?

What was the first language to use conditional keywords?

How do I use the new nonlinear finite element in Mathematica 12 for this equation?

Do any jurisdictions seriously consider reclassifying social media websites as publishers?

As a beginner, should I get a Squier Strat with a SSS config or a HSS?

How to tell that you are a giant?

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?



XINPUT - calibration smaller screen



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)For libinput properties of xinput, whats the difference between those with default in their names and those without?Adding a combo wireless keyboard/touchpad using xinputxinput set-button-map not actually changing button map





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I build a magic mirror photobooth for our wedding the day after tomorrow.
I have 55 inch IR frame (Portrait Mode) - the mirror glass is the same size.



behind the mirror is a 40 inch screen (also Portait).



I'm using a raspberry PI (Raspbian). The screen is rotated by 90degrees to be also in portrait mode and I wrote the following script to also turn the IR Touch by 90 degerees - works fine:



for id in $(xinput --list | 
sed -n '/Beijing Qltouch Tech Co.,LtD USB TouchScreen.*pointer/s/.*=([0-9]+).*/1/p')
do
xinput set-prop $id --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
done


Last issue on my list - I need to adjust the touch and make it start at the top left corner of the TV:



TOTAL CM Pixel
Height 122,02 1920
Width 68,64 1080



OFFSET

Min - width 10,8 169,93
Max - width 58,14 914,79



Max - height 102,52 1613,17
Min - height 16,6 261,20



I used this page to calculate the pixel offsets but it does not work.
https://docs.google.com/spreadsheets/d/13CNQjWfzpEkHM4ZdCcUWDTdQNaFqQ6TYTwatQsYcHcQ/edit#gid=1008975224



Has any one an idea how to scale the touch?










share|improve this question







New contributor




Malte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    I build a magic mirror photobooth for our wedding the day after tomorrow.
    I have 55 inch IR frame (Portrait Mode) - the mirror glass is the same size.



    behind the mirror is a 40 inch screen (also Portait).



    I'm using a raspberry PI (Raspbian). The screen is rotated by 90degrees to be also in portrait mode and I wrote the following script to also turn the IR Touch by 90 degerees - works fine:



    for id in $(xinput --list | 
    sed -n '/Beijing Qltouch Tech Co.,LtD USB TouchScreen.*pointer/s/.*=([0-9]+).*/1/p')
    do
    xinput set-prop $id --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
    done


    Last issue on my list - I need to adjust the touch and make it start at the top left corner of the TV:



    TOTAL CM Pixel
    Height 122,02 1920
    Width 68,64 1080



    OFFSET

    Min - width 10,8 169,93
    Max - width 58,14 914,79



    Max - height 102,52 1613,17
    Min - height 16,6 261,20



    I used this page to calculate the pixel offsets but it does not work.
    https://docs.google.com/spreadsheets/d/13CNQjWfzpEkHM4ZdCcUWDTdQNaFqQ6TYTwatQsYcHcQ/edit#gid=1008975224



    Has any one an idea how to scale the touch?










    share|improve this question







    New contributor




    Malte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I build a magic mirror photobooth for our wedding the day after tomorrow.
      I have 55 inch IR frame (Portrait Mode) - the mirror glass is the same size.



      behind the mirror is a 40 inch screen (also Portait).



      I'm using a raspberry PI (Raspbian). The screen is rotated by 90degrees to be also in portrait mode and I wrote the following script to also turn the IR Touch by 90 degerees - works fine:



      for id in $(xinput --list | 
      sed -n '/Beijing Qltouch Tech Co.,LtD USB TouchScreen.*pointer/s/.*=([0-9]+).*/1/p')
      do
      xinput set-prop $id --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
      done


      Last issue on my list - I need to adjust the touch and make it start at the top left corner of the TV:



      TOTAL CM Pixel
      Height 122,02 1920
      Width 68,64 1080



      OFFSET

      Min - width 10,8 169,93
      Max - width 58,14 914,79



      Max - height 102,52 1613,17
      Min - height 16,6 261,20



      I used this page to calculate the pixel offsets but it does not work.
      https://docs.google.com/spreadsheets/d/13CNQjWfzpEkHM4ZdCcUWDTdQNaFqQ6TYTwatQsYcHcQ/edit#gid=1008975224



      Has any one an idea how to scale the touch?










      share|improve this question







      New contributor




      Malte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I build a magic mirror photobooth for our wedding the day after tomorrow.
      I have 55 inch IR frame (Portrait Mode) - the mirror glass is the same size.



      behind the mirror is a 40 inch screen (also Portait).



      I'm using a raspberry PI (Raspbian). The screen is rotated by 90degrees to be also in portrait mode and I wrote the following script to also turn the IR Touch by 90 degerees - works fine:



      for id in $(xinput --list | 
      sed -n '/Beijing Qltouch Tech Co.,LtD USB TouchScreen.*pointer/s/.*=([0-9]+).*/1/p')
      do
      xinput set-prop $id --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
      done


      Last issue on my list - I need to adjust the touch and make it start at the top left corner of the TV:



      TOTAL CM Pixel
      Height 122,02 1920
      Width 68,64 1080



      OFFSET

      Min - width 10,8 169,93
      Max - width 58,14 914,79



      Max - height 102,52 1613,17
      Min - height 16,6 261,20



      I used this page to calculate the pixel offsets but it does not work.
      https://docs.google.com/spreadsheets/d/13CNQjWfzpEkHM4ZdCcUWDTdQNaFqQ6TYTwatQsYcHcQ/edit#gid=1008975224



      Has any one an idea how to scale the touch?







      xinput






      share|improve this question







      New contributor




      Malte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Malte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Malte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 10 hours ago









      MalteMalte

      1




      1




      New contributor




      Malte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Malte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Malte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Malte is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1427091%2fxinput-calibration-smaller-screen%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Malte is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Malte is a new contributor. Be nice, and check out our Code of Conduct.













          Malte is a new contributor. Be nice, and check out our Code of Conduct.












          Malte is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1427091%2fxinput-calibration-smaller-screen%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...