Commit Graph

579 Commits (d96b86a8179b2f88aada53d0af057b29e14ab43f)

Author SHA1 Message Date
nirenjan e54f6037d4 Fix pinelog builds on MacOS 2021-07-19 11:15:42 -07:00
nirenjan 1b598c2d78 Fix pkg-config check for inih and enable Ubuntu 18.04 builds 2021-07-19 11:09:41 -07:00
nirenjan 13f54588a6 Disable Ubuntu 16.04 builds
Ubuntu 16.04 reached EOL in April 2021, and Github will disable Ubuntu
16.04 runners in September 2021. In order to avoid build failures, this
commit disables builds on 16.04.
2021-07-19 10:35:27 -07:00
nirenjan 9fa1a428a4 Squashed 'lib/pinelog/' changes from b5457f4..321d9aa
321d9aa Add benchmark program to tests
a6e789e Remove config.h.in - this is autogenerated
a3eb2c0 Add method to close output stream and reset to default
fb9b51a Fix format-literal error in clang

git-subtree-dir: lib/pinelog
git-subtree-split: 321d9aaa0eee4b4af4be52c228662c3d32c32ab6
2021-07-19 09:50:42 -07:00
nirenjan 3a68148472 Merge commit '9fa1a428a45eabff0122e199a687068f0e6280dd' into daemon 2021-07-19 09:50:42 -07:00
nirenjan 82c778c7de Update configure.ac to handle the new pinelog method 2021-07-16 16:25:43 -07:00
nirenjan 27eb123062 Update README to include destructor attribute 2021-07-16 08:33:22 -07:00
nirenjan 0d407d77fe Add method to close output stream and reset to default 2021-07-16 08:29:11 -07:00
nirenjan ab946b4a1a Add device manager implementation 2021-07-16 00:30:27 -07:00
nirenjan 5a283672c4 Update instructions to install inih on Arch and MacOS
[skip ci]
2021-07-15 22:20:40 -07:00
nirenjan 2ce9ff2280 Disable AX_PKG_CHECK_MODULES on optional modules 2021-07-15 22:00:14 -07:00
nirenjan 81002444d7 Add LTLIBINTL to enable i18n 2021-07-15 21:53:42 -07:00
nirenjan 8545e28d09 Build and install inih manually on macOS 2021-07-15 19:31:46 -07:00
nirenjan e32f836485 Fix format-literal error in clang 2021-07-15 18:31:01 -07:00
nirenjan fc9bebbe5a Add noreturn attribute to fix compiler warnings 2021-07-15 17:57:51 -07:00
nirenjan 738879f79f Disable building for Ubuntu 18.04
libinih-dev on Bionic does not provide a .pc file, so PKG_CHECK_MODULES
fails on this target. This commit disables the CI build on Bionic until
we have a workaround.
2021-07-15 17:44:08 -07:00
nirenjan fa298455aa Use PKG_CHECK_MODULES instead of AX_PKG_CHECK_MODULES 2021-07-15 17:43:51 -07:00
nirenjan 19859b79c5 Disable Ubuntu 16.04 builds 2021-07-15 16:14:17 -07:00
nirenjan cbe7f00a5a Add daemon framework
This change adds the daemon configuration parser and command line
argument parser. This also adds the associated strings to the
translation files, and integrates the daemon into the existing autotools
build framework.
2021-07-15 15:53:56 -07:00
nirenjan fc8e7b6b95 Add new generated files to .gitignore 2021-07-15 15:47:39 -07:00
nirenjan f82c31a6eb Add support for including inih configuration parser library 2021-07-15 13:52:46 -07:00
nirenjan 4b1d524d39 Integrate pinelog into autotools build framework 2021-07-15 10:33:52 -07:00
nirenjan 50dc946c31 Squashed 'lib/pinelog/' content from commit b5457f4
git-subtree-dir: lib/pinelog
git-subtree-split: b5457f405ecbbe676aea26001780a81426191176
2021-07-14 15:54:58 -07:00
nirenjan fd79166a89 Merge commit '50dc946c3177f5006e4bd63eef4bf67331f59dea' as 'lib/pinelog' 2021-07-14 15:54:58 -07:00
nirenjan dcd878b7cc Move Doxygen generation to separate job
This must run only for commits to master
2021-02-12 21:54:33 -08:00
nirenjan a28c622941 Fix Doxygen generation workflow to use doxygen from apt 2021-02-11 03:55:53 -08:00
nirenjan 36dfdd0ad3 Move Doxygen generation to new job 2021-02-09 07:27:09 -08:00
nirenjan 16b2cf7348 Fix deploy directory 2021-02-09 00:26:50 -08:00
nirenjan 3e2b960c0e Add filter to Doxygen 2021-02-09 00:24:53 -08:00
nirenjan b294a1a950 Add Doxygen generation to build action 2021-02-09 00:21:28 -08:00
nirenjan 2c522b9a66 Add reference to libx52_connect in integration documentation 2021-02-09 00:09:48 -08:00
nirenjan 7116af8f66 Remove hotplugging section from caveats list 2021-02-09 00:06:40 -08:00
nirenjan d8c6c8d574 Add note regarding clock update to x52cli documentation 2021-02-08 01:46:25 -08:00
nirenjan d41762df11 Fix link to gx52 project 2021-01-27 00:23:23 -08:00
nirenjan bea668b87e Add reference to gx52 project 2021-01-27 00:21:28 -08:00
nirenjan 121c86a190 Remove link to gitter.im
Now that GitHub discussions has been enabled on the project, there is no
longer a need to outsource the discussions to an external provider.
2021-01-27 00:20:21 -08:00
nirenjan e3758a2f29
Remove udev rules from default configure command.
The configuration options describes the method to override the udev rules directory.
It is not necessary to add it as the default in the build/install instructions.
2021-01-26 22:14:05 -08:00
nirenjan b9ef8a82d6 Update Changelog.md to list LKM and udev changes
[skip ci]
2020-12-26 15:02:25 -08:00
nirenjan abb366d89c Allow udev rules to be configured at build time [#25]
Prior to this change, the udev rules were fixed to allow read-write
access only to the `plugdev` group. However, while this is the default
group for USB input devices on Debian and its derivatives, this is not
true for some systems such as openSUSE, which use `input` as the group.

This change adds a `--with-input-group` argument to `configure`, which
defaults to `plugdev`. This change also updates the install
documentation to reflect the new options.
2020-12-25 15:17:52 -08:00
nirenjan 59c4643474
Update install instructions in INSTALL.md
Fixes #24
2020-12-25 13:53:37 -08:00
nirenjan 1df4f29d4e
Add kernel versions that have the quirks fix 2020-09-17 17:06:39 -07:00
nirenjan 7f554d7ac6 Make button reports consistent between devices
The X52 and X52 Pro report the buttons in different orders, e.g., the
mouse primary button is button 30 on X52, but is button 15 on the Pro.
This change ensures that the reported values is consistent between the
different devices.
2020-08-16 01:59:27 -07:00
nirenjan 482c5980ab Fix axis report to correctly report slider and rotaries 2020-08-13 15:18:44 -07:00
nirenjan b0150c46b8 Remove unnecessary probe and remove functions
There's no need to create custom probe and remove functions - the
default behavior is sufficient.
2020-08-13 15:17:14 -07:00
nirenjan 4388eceec0 Create workflow to build kernel module
This workflow runs only if there is a change to the kernel_module path.
Consequently, commits that only impact the kernel_module will be ignored
for the standard userspace driver build.

This commit also updates the CodeQL workflow to only run on a scheduled
basis and on pull requests, but not on every push, since this is a
fairly slow script.

Finally, this commit also removes the obsolete kernel module sources,
since they are no longer maintained, and it also provides a hook for
Github actions to pick up and execute the kernel workflow.
2020-08-13 03:17:35 -07:00
nirenjan d3c55da89d Create HID driver for Saitek X52 and X52 Pro
This change replaces the old USB driver with a more modern HID driver.
This uses the HID framework, which means that we don't have to deal with
the USB transport, and only have to parse and report input events.

[skip ci]
2020-08-12 01:11:15 -07:00
nirenjan 3409a7bad6 Remove Travis CI badge
[skip ci]
2020-08-07 23:25:34 -07:00
nirenjan 1fa4cb4eb4 Remove integration with Travis CI
[skip ci]
2020-08-07 23:22:41 -07:00
nirenjan dcb5b60cdf Add actions badge to README
[skip ci]
2020-08-07 23:16:51 -07:00
nirenjan d77342ced9 Skip CI jobs if corresponding tag is in HEAD commit 2020-08-07 23:16:23 -07:00