dart-windows / win32

Build Win32 apps with Dart!
https://win32.pub
BSD 3-Clause "New" or "Revised" License
735 stars 118 forks source link

Flutter Pen Interaction Issues on Windows Platforms #838

Closed Liruochen1207 closed 2 months ago

Liruochen1207 commented 3 months ago

Hello, I've encountered a tricky issue. Here's the situation: a few days ago, while trying to use my Flutter drawing software with a Wacom tablet, I found out that the official Flutter Windows support doesn't include interaction with the tablet. Then, I learned about plugin development and callback function writing through Wacom SDK and window_manager_plugin. However, this only allowed me to capture pen tip clicks, and I still couldn't get detailed callback information such as the drawing position and pressure sensitivity. Later, I discovered that in your plugin-built Win32 GUI demo, it's possible to obtain detailed information. However, I'm unsure how to apply this to Flutter. Should I modify my plugin to register callbacks or should I use Win32 plugin to register callback events? I hope to receive your response amidst your busy schedule. Thank you!

Successfully captured, but in the Win32 demo window image