OpenTabletDriver icon indicating copy to clipboard operation
OpenTabletDriver copied to clipboard

Convert SendInput primitives to blittable types

Open X9VoiD opened this issue 2 years ago • 0 comments

Changes

  • Use fixed byte array for manual blitting of union structures.
  • Remove unneeded keyboard SendInput allocation.
  • Perform zero-copy SendInput by allowing the primitives to be blittable and not require further marshalling by CLR.

Other changes

  • Fix driver detection crash when running on 32-on-64 bit situations.
  • Allow for 32 bit compatibility when OTDPLATFORM32 constant is defined.

X9VoiD avatar Aug 24 '21 16:08 X9VoiD