Lenovo Thinkpad x230 tablet Stylus Pen recognized as mouse

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Lenovo Thinkpad x230 tablet Stylus Pen recognized as mouse

Postby wawawa » 2017-11-09 09:59

Hey,

I'm glad to be a new member of this community :). I need some help with my laptop. Debian 9 works on the x230t very smooth, but the Pen recognization is a problem for me. I work actually with JS and I need a input device recognization, which works under windows, but not under debian. (have a look at the code)

Code: Select all
<!DOCTYPE html>
<html>
<body>
<p>This example uses the addEventListener() method to attach a click event to a button.</p>
<button id="myBtn">Try it</button>
<p><strong>Note:</strong> The addEventListener() method is not supported in Internet Explorer 8 and earlier versions.</p>
<p id="demo"></p>
<script>
document.getElementById("myBtn").addEventListener('pointerdown', function(ev){
document.getElementById("demo").innerHTML = ev.pointerType;
});
</script>
</body>
</html>


The problem is, that debian handle the pen like a mouse. Is there some workarround to fix that problem?

In hope
wawawa
wawawa
 
Posts: 1
Joined: 2017-11-09 09:11

Re: Lenovo Thinkpad x230 tablet Stylus Pen recognized as mou

Postby Capitain_Jack » 2017-12-17 03:28

That "problem" is "driver" (firmware) related. Witch image did you install? Let me guess you got the free version, take the one with non-free packages, if even after that you pen still recognizes as mouse, it's because the hardware needs specific software to run like so, and this is not supported yet by Debian.
"Great spirits have always encountered violent opposition from mediocre minds."
Albert Einstein
User avatar
Capitain_Jack
 
Posts: 76
Joined: 2017-12-15 12:07
Location: Brazil capital, Brasilia, At the favela.


Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable