Skip to content

Commit

Permalink
Merge pull request OpenTabletDriver#2941 from gonX/use-input-prop-poi…
Browse files Browse the repository at this point in the history
…nter

Use INPUT_PROP_POINTER for tablets as suggested by kernel docs
  • Loading branch information
X9VoiD authored Sep 30, 2023
2 parents 2374a54 + 46a5511 commit 6c4ffac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public unsafe EvdevVirtualTablet(IVirtualScreen virtualScreen)
Device = new EvdevDevice("OpenTabletDriver Virtual Artist Tablet");

Device.EnableProperty(InputProperty.INPUT_PROP_DIRECT);
Device.EnableProperty(InputProperty.INPUT_PROP_POINTER);

Device.EnableType(EventType.EV_ABS);

Expand Down
1 change: 1 addition & 0 deletions OpenTabletDriver.Native.Linux/Evdev/EventType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ namespace OpenTabletDriver.Native.Linux.Evdev
{
public enum InputProperty : uint
{
INPUT_PROP_POINTER = 0x00,
INPUT_PROP_DIRECT = 0x01,
}

Expand Down

0 comments on commit 6c4ffac

Please sign in to comment.