Commit Graph

9 Commits (b463cdc9cdcec6c53b0a4aa468f249c79db13efc)

Author SHA1 Message Date
nirenjan b3d587e9bf feat: Add libx52io function to compare two reports
This stems from a static analysis warning about using memcmp to compare
two libx52io_report structures, since there is likely padding which
could invisibly be containing different values, especially if the
reports are allocated on the stack and not explicitly initialized.

The function returns a bitmask of the changed fields, which could
conceivably be used by a downstream application to quickly determine the
changes.
2026-10-21 13:36:43 -07:00
nirenjan 772017661d test: Add tests for x52evtest and x52joytest
This change adds additional code coverage test cases for the evtest and
joytest modules.
2026-04-20 22:32:31 -07:00
nirenjan de465fbf6a refactor: Rename daemon sources to remove x52d_ prefix 2026-04-03 23:50:18 -07:00
nirenjan 9c1eaaa4b2 build: Migrate includes to use libx52/ prefix
As part of the refactor, have the sources include the public headers via
the libx52 prefix, instead of relying on the include directories
approach in meson.build
2026-04-03 22:54:48 -07:00
nirenjan 7bdaea442e cleanup: Remove autotools build infrastructure
The autotools build infrastructure was deprecated back in 0.3.3, and any
bugs in the Meson build infrastructure have been fixed now. This
eliminates the legacy build scripts which were hard to maintain.
2026-04-03 22:36:10 -07:00
nirenjan 732bc21b65 fix: Address compiler warnings
When enabling --warnlevel=3 during Meson setup, the build threw up
several warnings, mostly related to either unused parameters, or
sometimes an integer type mismatch. This commit addresses all of those
changes and ensures that the build does not contain any unnecessary
warnings.
2026-03-19 00:10:18 -07:00
nirenjan b4ec8d4629 build: Migrate to meson build
Meson is a far more robust build framework, compared to autotools. This
greatly simplifies adding new features, since it's far easier to
maintain a set of meson.build files vs the autotools mishmash.

DEPRECATION NOTICE: Autotools based build is deprecated and will be
removed in the future.
2026-03-12 10:20:01 -07:00
nirenjan ac68ee07e5 Use non-recursive Automake 2021-07-29 23:53:21 -07:00
nirenjan 23fa0daf4f Move evtest to top level 2021-07-29 22:26:15 -07:00