Questions tagged [stylus-pen]

Stylus pen is a pen-shaped instrument that is used to input commands to a computer screen, mobile device or graphics tablet.

78 questions
17
votes
6 answers

pen/stylus support in web browsers

Are there any web browsers that make pen/stylus specific events (such as pressure) available to the DOM, similar to Microsoft's RealTimeStylus API? Is there any standard DOM interface for this? If not, are there proprietary extensions that allow…
ged
  • 281
  • 1
  • 2
  • 5
9
votes
0 answers

Access xinput events, particularly pen pressure, in Electron

I've been searching for a cross platform api to read multitouch and pen/stylus input for Node.JS using Electron. I've tested Pointer Events Polyfill, which fails to detect pressure on my tablet pc (Thinkpad Yoga) for both Windows 10 and ArchLinux…
Cyrusc
  • 163
  • 1
  • 10
7
votes
2 answers

Xcode iOS Simulator: can I use the mouse as pretend Apple Pencil input (on iPad Pro), for testing?

Is it possible to do this (with a menu, a shortcut, or a modifier key + mouse)? For example, you can use the mouse to test simple touch gestures in the simulator, like left mouse acts as single finger, and shift / option allow for different two…
Jared Updike
  • 7,165
  • 8
  • 46
  • 72
7
votes
2 answers

How to differentiate whether a user is tapping the screen with his finger or an apple pencil?

The App supports iPad Pro and it has to work with the Apple Pencil. What I would like to do is to differentiate whether the user is using the Apple Pencil or his finger. Something like: if( the user is pressing the screen with his finger){ do…
Kokodelo
  • 416
  • 1
  • 5
  • 25
6
votes
2 answers

How can I access tablet pen data via Python?

I need to access a windows tablet pen data (such as the surface) via Python. I mainly need the position, pressure, and tilt values. I know how to access the Wacom pen data but the windows pen is different. There is a Python library named Kivy that…
Roi Yozevitch
  • 197
  • 3
  • 13
6
votes
5 answers

How to disable "air command" on Android devices?

Hi, I've developed an application using a stylus (e.g., Samsung pen). As you know, when we click a button on the stylus, "Air command" (pop-up window) appears. My goal is "Overriding the air command into my custom functions" First, I started with…
Joonsung Kim
  • 246
  • 1
  • 3
  • 15
6
votes
4 answers

How do you retrieve stylus pressure information on windows?

Is anyone aware of a sane way to get tablet/stylus pressure information on Windows? It's possible to distinguish stylus from mouse with ::GetMessageExtraInfo, but you can't get any more information beyond that. I also found the WinTab API in a out…
olliej
  • 35,755
  • 9
  • 58
  • 55
5
votes
1 answer

How to detect Pixelbook Pen button?

I follow the doc here to catch the button pressed on Pixelbook pen while drawing, but the TOOL_TYPE_ERASER event is never thrown. When I tried to print the log, I don't see any differences between holding and release the button:…
thanhbinh84
  • 17,876
  • 6
  • 62
  • 69
4
votes
0 answers

How to handle Samsung S-Pen button event in the browser (Javascript)?

I'm developing a web app for the Galaxy Tab S3 that allows the user to draw with a Samsung S-Pen. The S-Pen has a button on the side which I know can be used by native Android applications to perform various functions. However, I am having a hard…
4
votes
1 answer

How to draw on a HTML5 canvas with a stylus

I used onmousedown, onmousemove and onmouseup events to draw with JavaScript on a HTML5 canvas object. Everything is working. Now I want to replace the mouse with a sylus (Wacom Intous Pro) Therefore I replaced the mouse Events with onpointerdown,…
AntonWert
  • 43
  • 1
  • 3
4
votes
2 answers

Exception occurs while pressing a button on TouchScreen using a Stylus or a finger in a WPF app

I have WPF app with an initial window which shows up as Splashscreen at Startup. During the Startup there is a background thread and we can cancel the this thread by clicking the button in splashscreen. This all works fine while using mouse and…
innavikas
  • 43
  • 6
3
votes
1 answer

flutter detect pointer device kind

I want to draw on screen only when the stylus pen device is used and should not detect any finger input in flutter Here is the image I am using this package https://pub.dev/packages/painter. please help me thanks in advance
3
votes
1 answer

How To Custom Render UWP Wet Ink

In WPF, you could override the OnDraw to create a custom geometry to render as the 'wet' ink, although it increases latency quite a bit since you're not using the geometry provided and already calculated. I'm wondering if it is possible to achieve…
Chen Huang
  • 80
  • 6
3
votes
1 answer

Simulating Apple pencil in the simulator seems to be possible somehow

I was wondering if it is possible to simulate the Apple pencil in the iOS simulator. According to an Apple emloyee here Xcode iOS Simulator: can I use the mouse as pretend Apple Pencil input (on iPad Pro), for testing? it is not possible. And the…
eikuh
  • 673
  • 1
  • 9
  • 18
3
votes
1 answer

Using the Surface Pro pen on websites

The stylus on the MS Surface Pro is really good, especially in OneNote. For engineers and designers, it makes sketching diagrams and wireframes super simple. On the other hand, OneNote is fairly limited in its online capabilities, and I can think of…
orlade
  • 2,060
  • 4
  • 24
  • 35
1
2 3 4 5 6