Wrong button event mapping for active stylus (linux elan touchscreen driver) The 2019 Stack Overflow Developer Survey Results Are InHuawei E353 Driver for LinuxHow to create a driver for Linux from within Windows?Intel graphics driver for Linux Mint 17Linux xsetwacom setting equivalent to Windows wacom driver mappingLinux VCP driver for ARM processorLinux driver for ASUS Shock Shied hard drive active protectionInstalling HP printer driver for Arch LinuxAndroid's touchscreen key events on LinuxUSB gamepad driver for LinuxACPI: Lid button driver not loaded/bound

Resizing object distorts it (Illustrator CC 2018)

Why do UK politicians seemingly ignore opinion polls on Brexit?

Am I thawing this London Broil safely?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

What do hard-Brexiteers want with respect to the Irish border?

Shouldn't "much" here be used instead of "more"?

Is there a symbol for a right arrow with a square in the middle?

Does a dangling wire really electrocute me if I'm standing in water?

Output the Arecibo Message

Deal with toxic manager when you can't quit

Why isn't airport relocation done gradually?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Identify boardgame from Big movie

Where to refill my bottle in India?

Is an up-to-date browser secure on an out-of-date OS?

What is the meaning of the verb "bear" in this context?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

What is the motivation for a law requiring 2 parties to consent for recording a conversation

Are children permitted to help build the Beis Hamikdash?

What does "fetching by region is not available for SAM files" means?

The difference between dialogue marks

Building a conditional check constraint



Wrong button event mapping for active stylus (linux elan touchscreen driver)



The 2019 Stack Overflow Developer Survey Results Are InHuawei E353 Driver for LinuxHow to create a driver for Linux from within Windows?Intel graphics driver for Linux Mint 17Linux xsetwacom setting equivalent to Windows wacom driver mappingLinux VCP driver for ARM processorLinux driver for ASUS Shock Shied hard drive active protectionInstalling HP printer driver for Arch LinuxAndroid's touchscreen key events on LinuxUSB gamepad driver for LinuxACPI: Lid button driver not loaded/bound



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















The touchscreen on my Asus TP412UA Notebook is working perfectly with linux. However, I have noticed that my stylus emits a wrong event if I press one of the buttons. Elevating the pen from screen identifies as mouse button 1 release (via xinput test), touching it just sets pressure level from 0 to sth positive, so far this works as expected. Button 1 on my stylus emits mouse button 1 release and mouse button 1 press on pressing and then releasing it. The second button just emits mouse button 2 press/release events correctly.



I think that button 1 should emit events for a different key than the stylus tip and it should do so in correct order. Maybe I am wrong and this can be fixed in userland although I have no idea how to remap buttons with xinput if events from different keys are identified as the same button.



xinput lists my device as ELAN2097:00 04F3:2766 Pen (0)










share|improve this question




























    0















    The touchscreen on my Asus TP412UA Notebook is working perfectly with linux. However, I have noticed that my stylus emits a wrong event if I press one of the buttons. Elevating the pen from screen identifies as mouse button 1 release (via xinput test), touching it just sets pressure level from 0 to sth positive, so far this works as expected. Button 1 on my stylus emits mouse button 1 release and mouse button 1 press on pressing and then releasing it. The second button just emits mouse button 2 press/release events correctly.



    I think that button 1 should emit events for a different key than the stylus tip and it should do so in correct order. Maybe I am wrong and this can be fixed in userland although I have no idea how to remap buttons with xinput if events from different keys are identified as the same button.



    xinput lists my device as ELAN2097:00 04F3:2766 Pen (0)










    share|improve this question
























      0












      0








      0








      The touchscreen on my Asus TP412UA Notebook is working perfectly with linux. However, I have noticed that my stylus emits a wrong event if I press one of the buttons. Elevating the pen from screen identifies as mouse button 1 release (via xinput test), touching it just sets pressure level from 0 to sth positive, so far this works as expected. Button 1 on my stylus emits mouse button 1 release and mouse button 1 press on pressing and then releasing it. The second button just emits mouse button 2 press/release events correctly.



      I think that button 1 should emit events for a different key than the stylus tip and it should do so in correct order. Maybe I am wrong and this can be fixed in userland although I have no idea how to remap buttons with xinput if events from different keys are identified as the same button.



      xinput lists my device as ELAN2097:00 04F3:2766 Pen (0)










      share|improve this question














      The touchscreen on my Asus TP412UA Notebook is working perfectly with linux. However, I have noticed that my stylus emits a wrong event if I press one of the buttons. Elevating the pen from screen identifies as mouse button 1 release (via xinput test), touching it just sets pressure level from 0 to sth positive, so far this works as expected. Button 1 on my stylus emits mouse button 1 release and mouse button 1 press on pressing and then releasing it. The second button just emits mouse button 2 press/release events correctly.



      I think that button 1 should emit events for a different key than the stylus tip and it should do so in correct order. Maybe I am wrong and this can be fixed in userland although I have no idea how to remap buttons with xinput if events from different keys are identified as the same button.



      xinput lists my device as ELAN2097:00 04F3:2766 Pen (0)







      drivers touch






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 days ago









      lehmanjulehmanju

      13




      13




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511292%2fwrong-button-event-mapping-for-active-stylus-linux-elan-touchscreen-driver%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















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f511292%2fwrong-button-event-mapping-for-active-stylus-linux-elan-touchscreen-driver%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







          -drivers, touch

          Popular posts from this blog

          Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

          Why is this plane circling around the Lucknow airport every day?Why do aircraft on Flight Radar 24 jump around randomly sometimes?What airport has this walkway over a taxiway?How does Chicago O'Hare's tower sequence aircraft at peak capacity?Which airport is featured in this Delta commercial?After a crash, for how long is the airport closed?Can a passenger plane stand still in the air, or hover at a fixed location above a ground?What are those trucks towing around, and why?What is this airport outside of Cairo, Egypt?Which US airport has the lowest circling MDH?What is this airport video?

          What is this called? Old film camera viewer?What makes a good film camera?What to do with an old film camera?What should one look for when buying a used film camera?What is the value and age of this pre-1967 Ricoh 35 mm camera?DSLR recommendation, question about old Canon 35mm film Camera & lensesCan anyone identify the silver rangefinder-style camera in this advertisement?What kind of a Polaroid 600-camera is this?Will an old film camera still work even when not used in a very long time?What is this camera / Can I develop the film?How to fit an action camera into antique (bellows) housing?What to check when buying used and old film bodies?