platform/upstream/libevdev.git
3 months agopackaging: Bump up to 1.13.3 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen/unified/20250224.161828 accepted/tizen/unified/x/20250226.020401
duna.oh [Thu, 20 Feb 2025 04:08:41 +0000 (13:08 +0900)]
packaging: Bump up to 1.13.3

3 months agomeson: No need to install man pages
duna.oh [Thu, 20 Feb 2025 04:07:53 +0000 (13:07 +0900)]
meson: No need to install man pages

3 months agoremove .gbs.conf because we don't trace remote git any more
duna.oh [Thu, 20 Feb 2025 02:48:35 +0000 (11:48 +0900)]
remove .gbs.conf because we don't trace remote git any more

3 months agomeson: use 'tools' option from upstream for code maintenance.
duna.oh [Thu, 20 Feb 2025 02:47:58 +0000 (11:47 +0900)]
meson: use 'tools' option from upstream for code maintenance.

3 months agolibevdev 1.13.3
Peter Hutterer [Tue, 3 Sep 2024 02:16:01 +0000 (12:16 +1000)]
libevdev 1.13.3

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agoinclude: sync event codes with kernel 6.10
Peter Hutterer [Tue, 14 May 2024 05:18:12 +0000 (15:18 +1000)]
include: sync event codes with kernel 6.10

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agolibevdev 1.13.2
Peter Hutterer [Fri, 31 May 2024 05:16:48 +0000 (15:16 +1000)]
libevdev 1.13.2

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agoinclude: sync event codes with kernel 6.9
Peter Hutterer [Tue, 14 May 2024 05:18:12 +0000 (15:18 +1000)]
include: sync event codes with kernel 6.9

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agogitlab CI: don't run MR pipelines in forks
Peter Hutterer [Mon, 29 Apr 2024 22:43:55 +0000 (08:43 +1000)]
gitlab CI: don't run MR pipelines in forks

Commit originally by Simon Ser in wayland/wayland-protocols!305.

Currently our CI setup has a downside: for each push on a merge
request, two pipelines are triggered. The first is triggered in
the context of the forked repository, and the second is triggered
in the context of the MR in the parent repository.

Replace the workflow rules with the ones in the official docs [1],
so that a branch pipeline isn't triggered when a MR exists for that
branch.

[1]: https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agomeson.build: remove superfluous double doxygen check
Peter Hutterer [Thu, 21 Mar 2024 04:41:04 +0000 (14:41 +1000)]
meson.build: remove superfluous double doxygen check

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agomeson.build: specify the include directory correctly
Peter Hutterer [Wed, 13 Mar 2024 03:57:43 +0000 (13:57 +1000)]
meson.build: specify the include directory correctly

If libevdev is used as subproject header lookup for libevdev.h fails
because our build directory isn't correctly set as one of the include
directories.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agomeson.build: declare the file list as such
Peter Hutterer [Wed, 13 Mar 2024 03:56:59 +0000 (13:56 +1000)]
meson.build: declare the file list as such

Not much of an effect but where libevdev is used as subproject those
files are now correctly accessible.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agomeson.build: allow disabling building the various tools
Peter Hutterer [Wed, 13 Mar 2024 03:56:16 +0000 (13:56 +1000)]
meson.build: allow disabling building the various tools

A bit of a niche case but this helps with embedding libevdev as static
library when the tools don't matter.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agogitlab CI: rebuild the images
Peter Hutterer [Thu, 21 Mar 2024 05:57:40 +0000 (15:57 +1000)]
gitlab CI: rebuild the images

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agogitlab CI: drop Ubuntu 22.10
Peter Hutterer [Thu, 21 Mar 2024 06:04:12 +0000 (16:04 +1000)]
gitlab CI: drop Ubuntu 22.10

Repos are 404

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agogitlab CI: drop unnecessary B2C_VERSION
Peter Hutterer [Thu, 21 Mar 2024 05:52:37 +0000 (15:52 +1000)]
gitlab CI: drop unnecessary B2C_VERSION

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agogitlab CI: update to the same b2c image libinput uses
Peter Hutterer [Thu, 21 Mar 2024 05:21:01 +0000 (15:21 +1000)]
gitlab CI: update to the same b2c image libinput uses

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agogitlab CI: remove the jobs for the scheduled forced rebuild
Peter Hutterer [Thu, 21 Mar 2024 05:09:08 +0000 (15:09 +1000)]
gitlab CI: remove the jobs for the scheduled forced rebuild

This scheduled pipeline no long runs, so let's drop this job.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agogitlab CI: update to latest Fedoras
Peter Hutterer [Thu, 21 Mar 2024 05:07:59 +0000 (15:07 +1000)]
gitlab CI: update to latest Fedoras

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agogitlab CI: update to latest template and use the ci-fairy image
Peter Hutterer [Thu, 21 Mar 2024 04:51:47 +0000 (14:51 +1000)]
gitlab CI: update to latest template and use the ci-fairy image

Makes life easier because we don't have to deal with the pip complaints.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agoCI: add a comment to the meson build helper
Peter Hutterer [Tue, 30 May 2023 05:18:23 +0000 (15:18 +1000)]
CI: add a comment to the meson build helper

We now have an upstream for it so we can sync changes between projects.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agoCI: bump to new fedoras and ubuntus
Peter Hutterer [Mon, 8 May 2023 04:45:00 +0000 (14:45 +1000)]
CI: bump to new fedoras and ubuntus

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agotools/publish-doc: enable pushing docs for specific tags
Peter Hutterer [Wed, 7 Apr 2021 23:38:26 +0000 (09:38 +1000)]
tools/publish-doc: enable pushing docs for specific tags

Historically, I copied the docs on the server directly after pushing latest,
but (especially with meson) it's a lot easier to just build that specific tag
locally and rsync it to the correct target directory.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agotools/publish-doc: build the docs with meson before synching
Peter Hutterer [Wed, 7 Apr 2021 23:13:58 +0000 (09:13 +1000)]
tools/publish-doc: build the docs with meson before synching

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agodoc: update the ioctl list with missing ioctls
Peter Hutterer [Sun, 7 May 2023 23:35:17 +0000 (09:35 +1000)]
doc: update the ioctl list with missing ioctls

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 months agodoc: remove duplicate doc entry for EVIOCSKEYCODE
Peter Hutterer [Sun, 7 May 2023 23:18:43 +0000 (09:18 +1000)]
doc: remove duplicate doc entry for EVIOCSKEYCODE

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 months agopackaging: Bump up to 1.13.1 99/303799/1 accepted/tizen_9.0_unified accepted/tizen_unified_dev accepted/tizen_unified_riscv tizen_9.0 tizen_bkup_20250220 accepted/tizen/9.0/unified/20241030.234434 accepted/tizen/unified/20240111.074611 accepted/tizen/unified/dev/20240620.010821 accepted/tizen/unified/riscv/20240115.113645 tizen_9.0_m2_release
Jihoon Kim [Fri, 5 Jan 2024 04:58:03 +0000 (13:58 +0900)]
packaging: Bump up to 1.13.1

Change-Id: I1050016e6ebc01dd26e5302a9b1dd857423712f9
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
17 months agopackaging: Bump up to 1.13.1 97/303797/2
Jihoon Kim [Fri, 5 Jan 2024 04:53:26 +0000 (13:53 +0900)]
packaging: Bump up to 1.13.1

Change-Id: I0f76f2f6f916a8c48ef483ddbd4008b3db920093
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
18 months agolibevdev 1.13.1 accepted/tizen/unified/20231121.102917
Peter Hutterer [Fri, 5 May 2023 00:45:25 +0000 (10:45 +1000)]
libevdev 1.13.1

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agoinclude: sync event codes with kernel 6.2
Peter Hutterer [Wed, 19 Apr 2023 22:53:52 +0000 (08:53 +1000)]
include: sync event codes with kernel 6.2

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agotest: Get the print mode from the CK_VERBOSITY environment variable
Enric Balletbo i Serra [Wed, 19 Apr 2023 14:40:14 +0000 (16:40 +0200)]
test: Get the print mode from the CK_VERBOSITY environment variable

On a test run it only prints the summary and one message per failed
test. While having this behaviour by default is nice it might be
interesting in some case to have more information print. Make the print
mode configurable from the environment variable CK_VERBOSITY, which can
have the values "silent", "minimal", "normal" or "verbose" so we can have
different outputs.

    $ sudo CK_VERBOSITY=verbose ./test-libevdev
    Running suite(s): libevdev init tests
     libevdev_has_event tests
     libevdev event tests
     100%: Checks: 79, Failures: 0, Errors: 0
     test-libevdev-init.c:23:P:test_new_device:test_new_device:0: Passed
     test-libevdev-init.c:28:P:test_free_device:test_free_device:0: Passed
     [ ... ]

Note that the default print mode doesn't change after this patch.

Signed-off-by: Enric Balletbo i Serra <eballetbo@redhat.com>
18 months agogitlab CI: add new workflow rules
Peter Hutterer [Wed, 15 Mar 2023 00:21:05 +0000 (10:21 +1000)]
gitlab CI: add new workflow rules

Required for pipelines to run after some infrastructure changes, see
https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: bump to latest fedoras
Peter Hutterer [Wed, 4 Jan 2023 02:11:16 +0000 (12:11 +1000)]
gitlab CI: bump to latest fedoras

The F37 update was delayed by https://github.com/systemd/systemd/pull/25941 which
is now available in F37 as of v251.11

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agoCI: bump b2c and kernel
Benjamin Tissoires [Wed, 8 Feb 2023 10:31:02 +0000 (11:31 +0100)]
CI: bump b2c and kernel

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
18 months agoInclude all include files in dist tarballs
Alyssa Ross [Fri, 13 Jan 2023 21:40:46 +0000 (21:40 +0000)]
Include all include files in dist tarballs

Otherwise, the distribution tarballs will be generated based on what's
in libevdev_la_SOURCES, which only includes the headers for the
operating system the maintainer happens to be running "make dist"
from.  As a result of this, e.g. the 1.13.0 tarball only includes the
headers for Linux, making the tarball unbuildable for FreeBSD.

"meson dist" was already doing the right thing.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
18 months agogitlab CI: sync the meson-build.sh script with libinput
Peter Hutterer [Mon, 9 Jan 2023 22:56:13 +0000 (08:56 +1000)]
gitlab CI: sync the meson-build.sh script with libinput

Pulls in the three libinput commits up to 31ecda70087

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: use b2c instead of qemu
Peter Hutterer [Wed, 4 Jan 2023 05:17:16 +0000 (15:17 +1000)]
gitlab CI: use b2c instead of qemu

This is copied from libinput's CI but as one large change rather than
cherry-picking the process on how to get here. meson-build.sh is synched
with libinput's version - it is a more generic version anyway.

With this change we no longer require separate images for the qemu runs,
our default image is qemu-capable and can be run in qemu via
boot2container (b2c).

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: pass the --no-suite to meson builds
Peter Hutterer [Wed, 4 Jan 2023 22:59:27 +0000 (08:59 +1000)]
gitlab CI: pass the --no-suite to meson builds

Only use the LIBEVDEV_SKIP_ROOT_TESTS env var in autotools where we need
it, in meson we can use meson to control which tests we (don't) want to
run.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: drop the ninja dist for every job
Peter Hutterer [Wed, 4 Jan 2023 23:46:09 +0000 (09:46 +1000)]
gitlab CI: drop the ninja dist for every job

Unlike autotools distcheck which ensures we didn't forget to add
anything to the makefiles, ninja dist just zips up the git repo.

It does run the tests though but without suite selection which is a
problem for us here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: skip the right tests in the tarball jobs
Peter Hutterer [Thu, 5 Jan 2023 00:11:37 +0000 (10:11 +1000)]
gitlab CI: skip the right tests in the tarball jobs

Use the new needs-uinput suite specifier for the meson build job, and
use --no-tests for ninja dist in the autotools build job.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agomeson.build: add the tests that need uinput into a needs-uinput suite
Peter Hutterer [Wed, 4 Jan 2023 23:35:40 +0000 (09:35 +1000)]
meson.build: add the tests that need uinput into a needs-uinput suite

This way we can skip it all by meson test --no-suite=needs-uinput

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: replace the meson-build.sh with the libinput one
Peter Hutterer [Wed, 4 Jan 2023 23:25:26 +0000 (09:25 +1000)]
gitlab CI: replace the meson-build.sh with the libinput one

The libinput one is more generic and expressive, taking arguments and
whatnot.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: drop MESON_SKIP_TEST variables
Peter Hutterer [Wed, 4 Jan 2023 23:16:15 +0000 (09:16 +1000)]
gitlab CI: drop MESON_SKIP_TEST variables

In the no-check:meson job, the ninja arg was "dist" so the test would be
run as part of that anyway (and skipped, since we didn't have check).

In the no-doxygen-check:meson job, the ninja arg was zero so the test
would be skipped but since we don't have check we might as well just
run it as empty test suite.

And the same applies to the scan-build job, running the test shouldn't
hurt here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: drop the custom meson to junit conversion script
Peter Hutterer [Wed, 4 Jan 2023 06:25:03 +0000 (16:25 +1000)]
gitlab CI: drop the custom meson to junit conversion script

And always collect test logs, makes it easier to debug when things fail
to go wrong

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agotest: drop the valgrind make check wrappers from autotools
Peter Hutterer [Wed, 4 Jan 2023 05:46:44 +0000 (15:46 +1000)]
test: drop the valgrind make check wrappers from autotools

We have meson with a proper test suite setup and this currently breaks
the CI due to some Arch issues with glibc debuginfo packages. Let's just
drop this so we don't run valgrind unconditionally.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: bump to newer Ubuntus
Peter Hutterer [Wed, 4 Jan 2023 05:20:54 +0000 (15:20 +1000)]
gitlab CI: bump to newer Ubuntus

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: bump to a newer version of the templates
Peter Hutterer [Wed, 4 Jan 2023 05:19:51 +0000 (15:19 +1000)]
gitlab CI: bump to a newer version of the templates

Required by the debian sid containers, otherwise we fail because of a
missing /etc/apt/sources.list file.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: do not retry the qemu runs
Peter Hutterer [Wed, 4 Jan 2023 04:46:01 +0000 (14:46 +1000)]
gitlab CI: do not retry the qemu runs

See libinput commit fb4f4131a112201c86c510179cfc939fcfa8aece by Benjamin
Tissoires

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: change an explicit Fedora to {{distro}}
Peter Hutterer [Wed, 4 Jan 2023 04:42:40 +0000 (14:42 +1000)]
gitlab CI: change an explicit Fedora to {{distro}}

See libinput commit 0d602e12a4b66d5b5f27d2a9fd9899d43cf128fe by Benjamin
Tissoires

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: prettify the include of templates
Peter Hutterer [Wed, 4 Jan 2023 04:41:03 +0000 (14:41 +1000)]
gitlab CI: prettify the include of templates

Identical to libinput commit c8c825289f1b7575ee10b849c04f5caa60483a7e by
Benjamin Tissoires.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agomeson: Use proper type for bool object
illiliti [Thu, 20 Oct 2022 20:08:05 +0000 (23:08 +0300)]
meson: Use proper type for bool object

Fix invalid bool usage which violates official meson specification and thus
breaks muon, an implementation of meson written in C.

Signed-off-by: illiliti <illiliti@protonmail.com>
18 months agoCorrect document
Zixian Liu [Tue, 16 Aug 2022 09:00:08 +0000 (09:00 +0000)]
Correct document

18 months agoconfigure.ac: Update the bug report URL.
Douglas R. Reno [Mon, 8 Aug 2022 22:26:36 +0000 (22:26 +0000)]
configure.ac: Update the bug report URL.

While I was running the tests for libevdev on a
system, I had a test failure, and it told me to report it to
bugs.freedesktop.org.

This project uses GitLab now, so update the URL.

Signed-off-by: Douglas R. Reno <renodr@linuxfromscratch.org>
18 months agolibevdev 1.13.0
Peter Hutterer [Tue, 2 Aug 2022 01:21:12 +0000 (11:21 +1000)]
libevdev 1.13.0

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agoinclude: sync event codes with kernel 5.19
Peter Hutterer [Tue, 2 Aug 2022 01:09:51 +0000 (11:09 +1000)]
include: sync event codes with kernel 5.19

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agomeson: drop the uinput.h header listing
Peter Hutterer [Mon, 11 Jul 2022 05:45:26 +0000 (15:45 +1000)]
meson: drop the uinput.h header listing

This is a noop, meson gets its compile dependencies from the compiler,
listing it here makes no difference.

Same is true for listing the other two linux/input/*.h headers as
sources.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agomeson.build: drop the use of join_paths
Peter Hutterer [Mon, 11 Jul 2022 05:44:15 +0000 (15:44 +1000)]
meson.build: drop the use of join_paths

Replace with the slash notation supported since 0.49

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agomeson.build: use project_source_root() instead of source_root()
Peter Hutterer [Mon, 11 Jul 2022 05:41:14 +0000 (15:41 +1000)]
meson.build: use project_source_root() instead of source_root()

The latter is deprecated, so let's bump the meson version requirement
and use the newer, shiny feature.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agouinput: use named initializers for the event struct
Peter Hutterer [Tue, 5 Jul 2022 04:02:23 +0000 (14:02 +1000)]
uinput: use named initializers for the event struct

With the 64 bit timestamps, the struct layout changes into a flatter
version, so let's use the input_event_(u)sec helpers to transparently
handle this.

Fixes #25

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agoFix a few whitespace/coding style issues
Peter Hutterer [Mon, 11 Jul 2022 00:29:12 +0000 (10:29 +1000)]
Fix a few whitespace/coding style issues

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agoFix a compiler warning
Peter Hutterer [Mon, 11 Jul 2022 00:31:07 +0000 (10:31 +1000)]
Fix a compiler warning

[1/16] Compiling C object libevdev.so.2.3.0.p/libevdev_libevdev.c.o
../libevdev/libevdev.c:665:40: warning: argument 2 of type ‘struct slot_change_state[dev->num_slots]’ declared as a variable length array [-Wvla-parameter]
  665 |               struct slot_change_state changes_out[dev->num_slots])
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../libevdev/libevdev.c:47:52: note: previously declared as a pointer ‘struct slot_change_state *’
   47 |                          struct slot_change_state *changes_out);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agomeson: up the timeout to 10s per test
Peter Hutterer [Mon, 11 Jul 2022 05:16:23 +0000 (15:16 +1000)]
meson: up the timeout to 10s per test

Fixes #26

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agomeson.build: install the mouse-dpi-tool man page
Peter Hutterer [Fri, 25 Mar 2022 04:37:28 +0000 (14:37 +1000)]
meson.build: install the mouse-dpi-tool man page

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agolibevdev 1.12.1
Peter Hutterer [Fri, 25 Mar 2022 04:32:48 +0000 (14:32 +1000)]
libevdev 1.12.1

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agoinclude: sync key codes with kernel 5.17
Peter Hutterer [Tue, 22 Mar 2022 02:33:16 +0000 (12:33 +1000)]
include: sync key codes with kernel 5.17

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: update to current distribution versions, drop Centos
Peter Hutterer [Tue, 1 Feb 2022 22:30:11 +0000 (08:30 +1000)]
gitlab CI: update to current distribution versions, drop Centos

No big point building for Centos 7 anywmore, and Centos 8 is now Centos
Stream only which needs fixing in the CI templates first.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agoAdd a manpage for mouse-dpi-tool
Stephen Kitt [Sun, 14 Nov 2021 17:28:26 +0000 (18:28 +0100)]
Add a manpage for mouse-dpi-tool

Signed-off-by: Stephen Kitt <steve@sk2.org>
18 months agolibevdev 1.12.0
Peter Hutterer [Mon, 8 Nov 2021 23:51:10 +0000 (09:51 +1000)]
libevdev 1.12.0

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agotools: add a helper tool to list all currently known codes
Peter Hutterer [Mon, 8 Nov 2021 23:17:16 +0000 (09:17 +1000)]
tools: add a helper tool to list all currently known codes

A non-installed tool to make it easy to check if newly added codes are
indeed supported correctly.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agoinclude: sync event codes with kernel 5.15
Peter Hutterer [Mon, 8 Nov 2021 22:53:15 +0000 (08:53 +1000)]
include: sync event codes with kernel 5.15

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agodoc: fix initialization and setup error
José Expósito [Sat, 4 Sep 2021 11:30:17 +0000 (13:30 +0200)]
doc: fix initialization and setup error

Remove an unnecessary and unmatched curly bracket from the demo code.

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
18 months agodoc: fix uinput device creation warnings
José Expósito [Sat, 4 Sep 2021 11:21:42 +0000 (13:21 +0200)]
doc: fix uinput device creation warnings

The example code for creating uinput devices produces the following
warnings:

warning: unused variable ‘ev’ [-Wunused-variable]
   | struct input_event ev[2];
   |                    ^~
warning: unused variable ‘new_fd’ [-Wunused-variable]
   | int fd, new_fd, uifd;
   |         ^~~~~~
warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   |     return err;
   |            ^~~

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
18 months agodoc: fix typos
Ulrich Ölmann [Tue, 17 Aug 2021 16:33:58 +0000 (18:33 +0200)]
doc: fix typos

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
18 months agodoc: fix uinput example code
Ulrich Ölmann [Tue, 17 Aug 2021 13:09:26 +0000 (15:09 +0200)]
doc: fix uinput example code

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
18 months agogitlab CI: update to latest ci-templates
Peter Hutterer [Sun, 25 Jul 2021 23:41:55 +0000 (09:41 +1000)]
gitlab CI: update to latest ci-templates

We can ditch the custom localhost usages and instead use the vmctl and
ssh-config aliases.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

18 months agobuild: properly link against rt
Simeon Schaub [Mon, 21 Jun 2021 00:16:24 +0000 (02:16 +0200)]
build: properly link against rt

This is especially relevant for cross-compilation, since libevdev uses
`clock_gettime`.
This came up in https://github.com/JuliaPackaging/Yggdrasil/pull/3201.

Signed-off-by: Simeon Schaub <simeondavidschaub99@gmail.com>
18 months agogitlab CI: bump to Fedora 34 and Ubuntu 21.04
Peter Hutterer [Wed, 19 May 2021 00:17:10 +0000 (10:17 +1000)]
gitlab CI: bump to Fedora 34 and Ubuntu 21.04

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: make the tarball distro selection automatic
Peter Hutterer [Wed, 19 May 2021 00:29:00 +0000 (10:29 +1000)]
gitlab CI: make the tarball distro selection automatic

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agogitlab CI: make the qemu selection automatic
Peter Hutterer [Wed, 19 May 2021 00:25:19 +0000 (10:25 +1000)]
gitlab CI: make the qemu selection automatic

Generate the snippet for whichever is the last version in the list for the
want_qemu tag.

And move the want_qemu tag up so it's more obvious in the config file.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 months agomake-event-names: Fix determinism issue
Richard Purdie [Sat, 20 Feb 2021 14:41:01 +0000 (14:41 +0000)]
make-event-names: Fix determinism issue

The order of dict values is not deterministic in python leading to differing 
header file generation which results in differing build output for the same
configuration. Sort to remove this inconsistency and make the output 
reproducible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Filipe Laíns <lains@archlinux.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3 years agopackaging: Bump up to 1.11.0 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified tizen_7.0 tizen_7.0_hotfix tizen_8.0 tizen_work_20220207 accepted/tizen/7.0/unified/20221110.062241 accepted/tizen/7.0/unified/hotfix/20221116.110949 accepted/tizen/8.0/unified/20231005.095036 accepted/tizen/unified/20220214.131005 submit/tizen/20220208.100339 submit/tizen/20220209.072019 submit/tizen/20220211.064101 tizen_7.0_m2_release tizen_8.0_m2_release
Duna Oh [Mon, 7 Feb 2022 16:58:20 +0000 (01:58 +0900)]
packaging: Bump up to 1.11.0

3 years agopackaging: Bump up to 1.10.0
jeon [Wed, 6 Jan 2021 07:00:34 +0000 (16:00 +0900)]
packaging: Bump up to 1.10.0

3 years agopackaging: Bump up to 1.8.0
jeon [Fri, 21 Feb 2020 05:41:48 +0000 (14:41 +0900)]
packaging: Bump up to 1.8.0

3 years agopackaging: bump to 1.5.7
Sung-Jin Park [Fri, 20 Oct 2017 04:38:55 +0000 (13:38 +0900)]
packaging: bump to 1.5.7

Change-Id: I377188db7c942f3be00a1faef156250c8873b38a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agotools: fix missing separator error in Makefile.am
Sung-Jin Park [Fri, 20 Oct 2017 04:38:18 +0000 (13:38 +0900)]
tools: fix missing separator error in Makefile.am

Change-Id: I1fc676cea763b626cac4b31698f539f1265a6bd0
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agopackaging: correct TZ_SYS_RO_SHARE macro to remove build warning
Sung-Jin Park [Tue, 25 Apr 2017 04:29:53 +0000 (13:29 +0900)]
packaging: correct TZ_SYS_RO_SHARE macro to remove build warning

Change-Id: I77e195c5621fc35098b309d3e55cbd9c528b4c21
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agopackaging: remove touchpad-edge-detector from install list
Sung-Jin Park [Tue, 25 Apr 2017 04:28:51 +0000 (13:28 +0900)]
packaging: remove touchpad-edge-detector from install list

Change-Id: Ie593dad384d5082b9d077394980f64343d19e282
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agopackaging: update packaging file to install license file via %license macro
Sung-Jin Park [Wed, 22 Mar 2017 05:15:42 +0000 (14:15 +0900)]
packaging: update packaging file to install license file via %license macro

Change-Id: I747b1019f81b98851f43079bed674f0bff40c126
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoApply directory macros
Sung-Jin Park [Fri, 11 Mar 2016 02:47:07 +0000 (11:47 +0900)]
Apply directory macros

Change-Id: I2e082b618708edaf8a5558bc423ae30b8ec321ef

3 years agoAdd manifest for security domain policy
Mun, Gwan-gyeong [Tue, 4 Aug 2015 08:09:12 +0000 (17:09 +0900)]
Add manifest for security domain policy

Change-Id: I859d803d0550049c160da57305d140d4819c4ea1

3 years agopackaging: bump to 1.2.2
Manuel Bachmann [Mon, 29 Dec 2014 13:21:47 +0000 (14:21 +0100)]
packaging: bump to 1.2.2

Change-Id: I8a589d5722acfe7e1a5b528b18ad6bb3c85a4899
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
3 years agopackaging: use upstream tags
Philippe Coval [Wed, 21 May 2014 08:21:36 +0000 (10:21 +0200)]
packaging: use upstream tags

Change-Id: If7fedff02224116abfa499d5afed5e7f0e1a75c4
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
3 years agopackaging: Initial packaging on 1.0 for Tizen
Philippe Coval [Fri, 28 Feb 2014 15:56:48 +0000 (16:56 +0100)]
packaging: Initial packaging on 1.0 for Tizen

Change-Id: I94dfb72c793725b422981a1a9785e4b7b97ff812
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
4 years agolibevdev 1.11.0 upstream upstream_work_20220207 libevdev-1.11.0 upstream/1.11.0
Peter Hutterer [Mon, 1 Feb 2021 05:51:10 +0000 (15:51 +1000)]
libevdev 1.11.0

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4 years agoChange to the (always intended) MIT license
Peter Hutterer [Thu, 17 Sep 2020 05:56:41 +0000 (15:56 +1000)]
Change to the (always intended) MIT license

Due to what must've been a copy/paste error many years ago, the license text
for libevdev wasn't actually the MIT license. Let's rectify this, it was
always MIT intended anyway.

To make this more obvious and reduce the chance of copy/paste mistakes, use
the SPDX license identifier in the various source files. The two installed
public header files have the full license text.

All contributors with copyrightable contributions have ACKed the license
change to MIT, either in the MR directly [1] or privately in reply to an
email.

[1] https://gitlab.freedesktop.org/libevdev/libevdev/-/merge_requests/69

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Alexander Dahl <ada@thorsis.com>
Acked-by: Andreas Pokorny <andreas.pokorny@canonical.com>
Acked-by: Armin K <krejzi@email.com>
Acked-by: Benjamin Tissoires <btissoir@redhat.com>
Acked-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Emmanuele Bassi <ebassi@gnome.org>
Acked-by: Gaetan Nadon <memsize@videotron.ca>
Acked-by: George Thomas <georgefsthomas@gmail.com>
Acked-by: Michael Forney <mforney@mforney.org>
Acked-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Acked-by: Niclas Zeising <zeising@daemonic.se>
Acked-by: Owen W. Taylor <otaylor@fishsoup.net>
Acked-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Ran Benita <ran234@gmail.com>
Acked-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Scott Jann <sjann@knight-rider.org>
Acked-by: Thilo Schulz <thilo@tjps.eu>
Acked-by: polyphemus <rolfmorel@gmail.com>
4 years agolibevdev 1.10.1 libevdev-1.10.1
Peter Hutterer [Mon, 11 Jan 2021 03:07:47 +0000 (13:07 +1000)]
libevdev 1.10.1

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4 years agodoc: fix conflicting documentation for libevdev_get_event_value()
Peter Hutterer [Thu, 7 Jan 2021 23:58:16 +0000 (09:58 +1000)]
doc: fix conflicting documentation for libevdev_get_event_value()

Yes, the value we return is from the currently active slot, but there are a
few niche cases where the active slot changes from what the client may think
it is. So let's call it undefined like the other half of the documentation
already does.

Fixes #20

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4 years agogitlab CI: use Fedora 33 and Ubuntu 20.10
Peter Hutterer [Mon, 4 Jan 2021 00:27:10 +0000 (10:27 +1000)]
gitlab CI: use Fedora 33 and Ubuntu 20.10

This requires latest CI templates for the mkosi changes. Since the start_vm.sh
script is now gone, switch to using vmctl instead.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4 years agogitlab CI: make the custom build reference automated
Peter Hutterer [Mon, 4 Jan 2021 00:45:41 +0000 (10:45 +1000)]
gitlab CI: make the custom build reference automated

We still require Fedora for the various jobs with custom autotools/meson
configurations. But we might as well make it dependent on the config file
entries only than hardcoding it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4 years agoinclude: sync event codes with kernel 5.10
Peter Hutterer [Mon, 14 Dec 2020 00:00:42 +0000 (10:00 +1000)]
include: sync event codes with kernel 5.10

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>