Skip to content

Releases: jbdemonte/virtual-device

v1.2.1

25 Feb 14:43

Choose a tag to compare

Changed

  • Only wait for event file when setAbsResolution is needed, speeding up device registration for devices without axis resolution

v1.2.0

25 Feb 14:07

Choose a tag to compare

Added

  • Unit and integration tests with Docker-based test runner
  • EventPath() to VirtualKeyboard, VirtualMouse, and VirtualTouchpad interfaces
  • EventPath() to VirtualDevice and VirtualGamepad interfaces
  • Send() method to all virtual device classes
  • .gitignore entries for .DS_Store and compiled binaries
  • Doc comments to all exported symbols

Fixed

  • Makefile shell target now uses docker-entrypoint.sh to mount devtmpfs
  • WaitForEventFile timeout increased from 500ms to 2s for reliability
  • Race condition: panic when Send() is called on an unregistered device
  • Touchpad fingerCount going negative causing index out of bounds panic
  • Gamepad Press/Release not returning early on unassigned button
  • Repeat events incorrectly using EV_MSC instead of EV_REP
  • FFEffect struct to use byte array matching C union size
  • AZERTY keymap conflicts for ] and ù characters
  • Mangled SwitchEvent constant names missing space before type
  • writeEvent error output to use stderr with newline
  • Various documentation fixes (typos, incorrect types, missing calls)

Changed

  • Align Dockerfile GO_VERSION with go.mod (1.21)
  • Rename GenricMouse.go to GenericMouse.go
  • Remove unused IsDenormalized field from AbsAxis
  • Translate French comment to English in atomicBool.go
  • Simplify range loop by removing unused blank identifier

Version - 1.1.0

08 Jan 06:08

Choose a tag to compare

🚀 Add

  • Use the generic SendMiscEvent instead of SendScanCode, which previously handled only MSC_SCAN
  • Profiles added for:
    • Nintendo JoyCon
    • Xbox One Elite 2
  • add VirtualKeyboard.TapKey
  • Configurable tap duration for keyboard
  • Inertial Measurement Unit (IMU)

📝 Update

  • Improved documentation
  • Added examples

Initial Version - 1.0.0

24 Dec 01:36

Choose a tag to compare

v1.0.0

add documentation