FLTK logo

Re: [fltk/fltk] Suggestion: Please add ability to use tablet features like pen pressure sensitivity, tilt, and other stuff. (#208)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Suggestion: Please add ability to use tablet features like pen pressure sensitivity, tilt, and other stuff. (#208) Matthias Melcher Apr 11, 2021  
 

In one of the fading corners of my brain I remember implementing this for fltk2 for Nuke (about 25 years ago). Not sure if it ever made it into the public branch.

Basically I added Fl::event_device() to differentiate mouse, pen, eraser, and touch. I had Fl::event_*() functions for pressure, angle_x, and angle_y. Also, pens have additional buttons. I did use some of Erco's Waco. code, but I assume that these days we have actual system APIs available.

In private branches I had support for Spaceball and Spacemouse.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.