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


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>
<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>
document.getElementById("myBtn").addEventListener('pointerdown', function(ev){
document.getElementById("demo").innerHTML = ev.pointerType;

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

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

Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests