Releases: jbdemonte/virtual-device
Releases · jbdemonte/virtual-device
v1.2.1
v1.2.0
Added
- Unit and integration tests with Docker-based test runner
EventPath()toVirtualKeyboard,VirtualMouse, andVirtualTouchpadinterfacesEventPath()toVirtualDeviceandVirtualGamepadinterfacesSend()method to all virtual device classes.gitignoreentries for.DS_Storeand compiled binaries- Doc comments to all exported symbols
Fixed
- Makefile
shelltarget now usesdocker-entrypoint.shto mount devtmpfs WaitForEventFiletimeout increased from 500ms to 2s for reliability- Race condition: panic when
Send()is called on an unregistered device - Touchpad
fingerCountgoing negative causing index out of bounds panic - Gamepad
Press/Releasenot returning early on unassigned button - Repeat events incorrectly using
EV_MSCinstead ofEV_REP FFEffectstruct to use byte array matching C union size- AZERTY keymap conflicts for
]andùcharacters - Mangled
SwitchEventconstant names missing space before type writeEventerror output to use stderr with newline- Various documentation fixes (typos, incorrect types, missing calls)
Changed
- Align Dockerfile
GO_VERSIONwith go.mod (1.21) - Rename
GenricMouse.gotoGenericMouse.go - Remove unused
IsDenormalizedfield fromAbsAxis - Translate French comment to English in
atomicBool.go - Simplify range loop by removing unused blank identifier
Version - 1.1.0
🚀 Add
- Use the generic
SendMiscEventinstead ofSendScanCode, which previously handled onlyMSC_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
v1.0.0 add documentation