WIP: Wacom twist support for GHOST #107729

Draft
YimingWu wants to merge 6 commits from ChengduLittleA/blender:ghost_twist into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

A very simple patch, at the moment only for windows and
X11, I don't have other devices to test this against.

Needs styluses that supports twist (Wacom art pen, and a
few other devices I suppose). This could be useful for
calligraphy and sculpting.


Note:

  • Only twist on windows ink is printing in the console.
  • I forgot to add the print in WinTab but I'm pretty sure the WinTab one is working as it should because I verified in my own program and it's basically the same code.
  • X11 tested to be working fine.
  • On windows if you are trying to test windows ink you need to manually select the input driver as windows ink (if you have wacom driver installed).
A very simple patch, at the moment only for windows and X11, I don't have other devices to test this against. Needs styluses that supports twist (Wacom art pen, and a few other devices I suppose). This could be useful for calligraphy and sculpting. ------- Note: - Only twist on windows ink is printing in the console. - I forgot to add the print in WinTab but I'm pretty sure the WinTab one is working as it should because I verified in my own program and it's basically the same code. - X11 tested to be working fine. - On windows if you are trying to test windows ink you need to manually select the input driver as windows ink (if you have wacom driver installed).
YimingWu added 1 commit 2023-05-08 11:16:43 +02:00
8fe7c94036 WIP: Wacom twist support for GHOST
At the moment only for windows and X11, I don't have other devices
to test this against.
YimingWu added 1 commit 2023-05-08 11:19:46 +02:00

Is this available for windows ink as well?

Is this available for windows ink as well?
YimingWu force-pushed ghost_twist from a3eb322345 to 57322e621d 2023-05-08 12:58:56 +02:00 Compare
Author
Member

Windows ink is supposedly ok. I'll ask buildbot to make one for me to test under windows...

Windows ink is supposedly ok. I'll ask buildbot to make one for me to test under windows...
Author
Member

@blender-bot package windows

@blender-bot package windows
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR107729) when ready.
Author
Member

Ehhh you know what I haven't have any printf for windows so I couldn't really test if the code is effective with a plain binary :/

Ehhh you know what I haven't have any `printf` for windows so I couldn't really test if the code is effective with a plain binary :/
YimingWu added 1 commit 2023-05-08 13:35:50 +02:00
buildbot/vexp-code-patch-coordinator Build done. Details
eaa4537504
Corrections
Author
Member

@blender-bot package windows

@blender-bot package windows
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR107729) when ready.
YimingWu added 1 commit 2023-05-08 13:43:07 +02:00
buildbot/vexp-code-patch-coordinator Build done. Details
9d3c0421a5
Math defines.
Author
Member

@blender-bot package windows

@blender-bot package windows
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR107729) when ready.
Author
Member

verified to be working with windows ink

Value range is now corrected.

图片

verified to be working with windows ink Value range is now corrected. ![图片](/attachments/adb0ec35-7d33-4de5-a563-ade6d6eeda27)
223 KiB
YimingWu added 1 commit 2023-05-08 15:44:13 +02:00
YimingWu changed title from WIP: Wacom twist support for GHOST to Wacom twist support for GHOST 2023-05-08 15:46:30 +02:00
YimingWu changed title from Wacom twist support for GHOST to WIP: Wacom twist support for GHOST 2023-05-08 15:47:39 +02:00
Nicholas Rishel requested review from Nicholas Rishel 2023-05-09 06:28:13 +02:00
This pull request has changes conflicting with the target branch.
  • source/blender/windowmanager/WM_types.h

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u ghost_twist:ChengduLittleA-ghost_twist
git checkout ChengduLittleA-ghost_twist
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#107729
No description provided.