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;
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
add a comment |
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
add a comment |
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
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
drivers touch
asked 2 days ago
lehmanjulehmanju
13
13
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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