starting phase `separate-from-pid1' build process now running as PID 18 phase `separate-from-pid1' succeeded after 0.0 seconds starting phase `set-SOURCE-DATE-EPOCH' phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds starting phase `set-paths' environment variable `PATH' set to `/gnu/store/lp8ch4rn10whzyajnzv216d2a2v163c7-python-3.10.7/bin:/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/bin:/gnu/store/xk5y49ahzp2kdhn13c8yjvgx4zq14z8y-binutils-cross-i586-pc-gnu-2.41/bin:/gnu/store/j5zgzgsmbjgywr67r86h1n6s4qiabv5q-tar-1.34/bin:/gnu/store/0r2fx1lr1h2i3cl1x5fw4s4ly95qspya-gzip-1.13/bin:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/bin:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin:/gnu/store/swmflx2bmqpf0drm167pxfpgyr7ckcam-diffutils-3.10/bin:/gnu/store/4jhlsg65s1zx90gnnfmaax52i8prnl45-patch-2.7.6/bin:/gnu/store/b5c62i99dsfa5j0j3f8g2j1xdi6fih22-findutils-4.9.0/bin:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/bin:/gnu/store/3f0fjq25n2kwcmi0zyrf216wa6g8xpjw-zstd-1.5.2/bin:/gnu/store/3i4fr8riqw9azh1p4mqggl5vdz23kyr8-sed-4.8/bin:/gnu/store/7k8b93779dqpwcg2qjdvnf4nl43jv7hf-grep-3.11/bin:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/bin:/gnu/store/7h0mnlwalw23j9jmvz5n1i5mqkgb4d06-coreutils-9.1/bin:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/bin:/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin:/gnu/store/3k6lyifyg024lk3gncsgf2gzjzvc70gv-ld-wrapper-0/bin:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/bin:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/bin:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/sbin' environment variable `CROSS_LIBRARY_PATH' set to `/gnu/store/givfgmqlv453g6ix7nx1zh4d0gkkwy1g-glibc-cross-i586-pc-gnu-2.39/lib:/gnu/store/gmap2j6iavp5k2cz0dar7dax8hgimqn7-glibc-cross-i586-pc-gnu-2.39-static/lib:/gnu/store/ln43rq1pap6dzp59djzchk2yc0h8250v-hurd-core-headers-cross-i586-pc-gnu-0.9.git20240714/lib' environment variable `CROSS_C_INCLUDE_PATH' set to `/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include:/gnu/store/givfgmqlv453g6ix7nx1zh4d0gkkwy1g-glibc-cross-i586-pc-gnu-2.39/include:/gnu/store/ln43rq1pap6dzp59djzchk2yc0h8250v-hurd-core-headers-cross-i586-pc-gnu-0.9.git20240714/include' environment variable `CROSS_CPLUS_INCLUDE_PATH' set to `/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include/c++:/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include:/gnu/store/givfgmqlv453g6ix7nx1zh4d0gkkwy1g-glibc-cross-i586-pc-gnu-2.39/include:/gnu/store/ln43rq1pap6dzp59djzchk2yc0h8250v-hurd-core-headers-cross-i586-pc-gnu-0.9.git20240714/include' environment variable `CROSS_OBJC_INCLUDE_PATH' set to `/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include:/gnu/store/givfgmqlv453g6ix7nx1zh4d0gkkwy1g-glibc-cross-i586-pc-gnu-2.39/include:/gnu/store/ln43rq1pap6dzp59djzchk2yc0h8250v-hurd-core-headers-cross-i586-pc-gnu-0.9.git20240714/include' environment variable `CROSS_OBJCPLUS_INCLUDE_PATH' set to `/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include:/gnu/store/givfgmqlv453g6ix7nx1zh4d0gkkwy1g-glibc-cross-i586-pc-gnu-2.39/include:/gnu/store/ln43rq1pap6dzp59djzchk2yc0h8250v-hurd-core-headers-cross-i586-pc-gnu-0.9.git20240714/include' environment variable `AWKPATH' unset environment variable `AWKLIBPATH' unset environment variable `GUIX_PYTHONPATH' set to `/gnu/store/lp8ch4rn10whzyajnzv216d2a2v163c7-python-3.10.7/lib/python3.10/site-packages' environment variable `PYTHONTZPATH' unset environment variable `BASH_LOADABLES_PATH' unset environment variable `C_INCLUDE_PATH' set to `/gnu/store/lp8ch4rn10whzyajnzv216d2a2v163c7-python-3.10.7/include:/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include:/gnu/store/xk5y49ahzp2kdhn13c8yjvgx4zq14z8y-binutils-cross-i586-pc-gnu-2.41/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include' environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/lp8ch4rn10whzyajnzv216d2a2v163c7-python-3.10.7/include:/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include/c++:/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include:/gnu/store/xk5y49ahzp2kdhn13c8yjvgx4zq14z8y-binutils-cross-i586-pc-gnu-2.41/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include/c++:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include' environment variable `OBJC_INCLUDE_PATH' set to `/gnu/store/lp8ch4rn10whzyajnzv216d2a2v163c7-python-3.10.7/include:/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include:/gnu/store/xk5y49ahzp2kdhn13c8yjvgx4zq14z8y-binutils-cross-i586-pc-gnu-2.41/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include' environment variable `OBJCPLUS_INCLUDE_PATH' set to `/gnu/store/lp8ch4rn10whzyajnzv216d2a2v163c7-python-3.10.7/include:/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include/c++:/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/include:/gnu/store/xk5y49ahzp2kdhn13c8yjvgx4zq14z8y-binutils-cross-i586-pc-gnu-2.41/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include/c++:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include' environment variable `LIBRARY_PATH' set to `/gnu/store/lp8ch4rn10whzyajnzv216d2a2v163c7-python-3.10.7/lib:/gnu/store/xk5y49ahzp2kdhn13c8yjvgx4zq14z8y-binutils-cross-i586-pc-gnu-2.41/lib:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/lib:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/lib:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/lib:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/lib:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/lib:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib:/gnu/store/vqdiyyqbrv4akp68pfya4j6m3pdbnhca-glibc-2.39-static/lib' environment variable `GUIX_LOCPATH' set to `/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib/locale' environment variable `TZDIR' unset phase `set-paths' succeeded after 0.0 seconds starting phase `install-locale' using 'C.UTF-8' locale for category "LC_ALL" phase `install-locale' succeeded after 0.0 seconds starting phase `unpack' libevdev-1.11.0/ libevdev-1.11.0/configure libevdev-1.11.0/test/ libevdev-1.11.0/test/test-common-uinput.h libevdev-1.11.0/test/test-int-queue.c libevdev-1.11.0/test/test-libevdev-events.c libevdev-1.11.0/test/test-main.c libevdev-1.11.0/test/test-libevdev-has-event.c libevdev-1.11.0/test/test-common-uinput.c libevdev-1.11.0/test/test-event-codes.c libevdev-1.11.0/test/Makefile.in libevdev-1.11.0/test/test-compile-pedantic.c libevdev-1.11.0/test/test-event-names.c libevdev-1.11.0/test/test-libevdev-init.c libevdev-1.11.0/test/valgrind.suppressions libevdev-1.11.0/test/generate-gcov-report.sh libevdev-1.11.0/test/test-uinput.c libevdev-1.11.0/test/test-kernel.c libevdev-1.11.0/test/test-common.c libevdev-1.11.0/test/test-link.c libevdev-1.11.0/test/Makefile.am libevdev-1.11.0/test/test-context.c libevdev-1.11.0/test/test-common.h libevdev-1.11.0/test/test-static-symbols-leak.sh libevdev-1.11.0/configure.ac libevdev-1.11.0/meson.build libevdev-1.11.0/include/ libevdev-1.11.0/include/linux/ libevdev-1.11.0/include/linux/input.h libevdev-1.11.0/include/linux/uinput.h libevdev-1.11.0/include/linux/linux/ libevdev-1.11.0/include/linux/linux/input.h libevdev-1.11.0/include/linux/linux/uinput.h libevdev-1.11.0/include/linux/linux/input-event-codes.h libevdev-1.11.0/aclocal.m4 libevdev-1.11.0/build-aux/ libevdev-1.11.0/build-aux/config.sub libevdev-1.11.0/build-aux/test-driver libevdev-1.11.0/build-aux/ltmain.sh libevdev-1.11.0/build-aux/config.guess libevdev-1.11.0/build-aux/install-sh libevdev-1.11.0/build-aux/missing libevdev-1.11.0/build-aux/depcomp libevdev-1.11.0/build-aux/compile libevdev-1.11.0/libevdev/ libevdev-1.11.0/libevdev/libevdev-util.h libevdev-1.11.0/libevdev/libevdev-uinput.h libevdev-1.11.0/libevdev/libevdev-uinput-int.h libevdev-1.11.0/libevdev/libevdev.h libevdev-1.11.0/libevdev/libevdev.sym libevdev-1.11.0/libevdev/make-event-names.py libevdev-1.11.0/libevdev/Makefile.in libevdev-1.11.0/libevdev/libevdev.c libevdev-1.11.0/libevdev/Makefile.am libevdev-1.11.0/libevdev/libevdev-uinput.c libevdev-1.11.0/libevdev/libevdev-names.c libevdev-1.11.0/libevdev/libevdev-int.h libevdev-1.11.0/Makefile.in libevdev-1.11.0/libevdev.pc.in libevdev-1.11.0/meson_options.txt libevdev-1.11.0/COPYING libevdev-1.11.0/Makefile.am libevdev-1.11.0/doc/ libevdev-1.11.0/doc/libevdev.man.in libevdev-1.11.0/doc/libevdev.doxygen.in libevdev-1.11.0/doc/Makefile.in libevdev-1.11.0/doc/html/ libevdev-1.11.0/doc/html/libevdev-uinput_8h_source.html libevdev-1.11.0/doc/html/splitbar.png libevdev-1.11.0/doc/html/customdoxygen.css libevdev-1.11.0/doc/html/group__misc.html libevdev-1.11.0/doc/html/group__kernel.html libevdev-1.11.0/doc/html/menudata.js libevdev-1.11.0/doc/html/search/ libevdev-1.11.0/doc/html/search/groups_0.html libevdev-1.11.0/doc/html/search/all_6.html libevdev-1.11.0/doc/html/search/all_5.html libevdev-1.11.0/doc/html/search/all_6.js libevdev-1.11.0/doc/html/search/all_2.js libevdev-1.11.0/doc/html/search/search_m.png libevdev-1.11.0/doc/html/search/search_r.png libevdev-1.11.0/doc/html/search/pages_0.js libevdev-1.11.0/doc/html/search/pages_2.html libevdev-1.11.0/doc/html/search/nomatches.html libevdev-1.11.0/doc/html/search/functions_0.html libevdev-1.11.0/doc/html/search/enums_0.js libevdev-1.11.0/doc/html/search/all_8.js libevdev-1.11.0/doc/html/search/pages_5.js libevdev-1.11.0/doc/html/search/files_0.js libevdev-1.11.0/doc/html/search/pages_3.html libevdev-1.11.0/doc/html/search/groups_5.js libevdev-1.11.0/doc/html/search/pages_4.html libevdev-1.11.0/doc/html/search/pages_4.js libevdev-1.11.0/doc/html/search/all_4.html libevdev-1.11.0/doc/html/search/groups_2.js libevdev-1.11.0/doc/html/search/groups_2.html libevdev-1.11.0/doc/html/search/groups_3.html libevdev-1.11.0/doc/html/search/enums_0.html libevdev-1.11.0/doc/html/search/all_3.js libevdev-1.11.0/doc/html/search/all_7.js libevdev-1.11.0/doc/html/search/all_3.html libevdev-1.11.0/doc/html/search/pages_1.js libevdev-1.11.0/doc/html/search/pages_3.js libevdev-1.11.0/doc/html/search/search.js libevdev-1.11.0/doc/html/search/searchdata.js libevdev-1.11.0/doc/html/search/groups_4.js libevdev-1.11.0/doc/html/search/search_l.png libevdev-1.11.0/doc/html/search/pages_2.js libevdev-1.11.0/doc/html/search/groups_1.html libevdev-1.11.0/doc/html/search/typedefs_0.html libevdev-1.11.0/doc/html/search/groups_1.js libevdev-1.11.0/doc/html/search/groups_5.html libevdev-1.11.0/doc/html/search/all_9.js libevdev-1.11.0/doc/html/search/functions_0.js libevdev-1.11.0/doc/html/search/all_5.js libevdev-1.11.0/doc/html/search/pages_1.html libevdev-1.11.0/doc/html/search/pages_0.html libevdev-1.11.0/doc/html/search/enumvalues_0.html libevdev-1.11.0/doc/html/search/groups_0.js libevdev-1.11.0/doc/html/search/all_1.html libevdev-1.11.0/doc/html/search/all_4.js libevdev-1.11.0/doc/html/search/pages_5.html libevdev-1.11.0/doc/html/search/all_9.html libevdev-1.11.0/doc/html/search/groups_4.html libevdev-1.11.0/doc/html/search/all_0.html libevdev-1.11.0/doc/html/search/all_0.js libevdev-1.11.0/doc/html/search/enumvalues_0.js libevdev-1.11.0/doc/html/search/mag_sel.svg libevdev-1.11.0/doc/html/search/defines_0.html libevdev-1.11.0/doc/html/search/all_8.html libevdev-1.11.0/doc/html/search/all_2.html libevdev-1.11.0/doc/html/search/typedefs_0.js libevdev-1.11.0/doc/html/search/all_7.html libevdev-1.11.0/doc/html/search/groups_3.js libevdev-1.11.0/doc/html/search/close.svg libevdev-1.11.0/doc/html/search/search.css libevdev-1.11.0/doc/html/search/all_1.js libevdev-1.11.0/doc/html/search/defines_0.js libevdev-1.11.0/doc/html/search/files_0.html libevdev-1.11.0/doc/html/globals_eval.html libevdev-1.11.0/doc/html/globals.html libevdev-1.11.0/doc/html/tab_b.png libevdev-1.11.0/doc/html/nav_f.png libevdev-1.11.0/doc/html/dynsections.js libevdev-1.11.0/doc/html/kernel_header.html libevdev-1.11.0/doc/html/closed.png libevdev-1.11.0/doc/html/bc_s.png libevdev-1.11.0/doc/html/syn_dropped.html libevdev-1.11.0/doc/html/backwardscompatibility.html libevdev-1.11.0/doc/html/globals_enum.html libevdev-1.11.0/doc/html/open.png libevdev-1.11.0/doc/html/doxygen.svg libevdev-1.11.0/doc/html/group__events.html libevdev-1.11.0/doc/html/tab_a.png libevdev-1.11.0/doc/html/sync_on.png libevdev-1.11.0/doc/html/globals_func.html libevdev-1.11.0/doc/html/globals_type.html libevdev-1.11.0/doc/html/files.html libevdev-1.11.0/doc/html/libevdevdoxygen.css libevdev-1.11.0/doc/html/dir_237a012ffe1a208b10d31c74b4ef545e.html libevdev-1.11.0/doc/html/modules.html libevdev-1.11.0/doc/html/group__bits.html libevdev-1.11.0/doc/html/libevdev_8h.html libevdev-1.11.0/doc/html/nav_g.png libevdev-1.11.0/doc/html/doc.png libevdev-1.11.0/doc/html/doxygen.css libevdev-1.11.0/doc/html/libevdev-uinput_8h.html libevdev-1.11.0/doc/html/group__logging.html libevdev-1.11.0/doc/html/ioctls.html libevdev-1.11.0/doc/html/sync_off.png libevdev-1.11.0/doc/html/menu.js libevdev-1.11.0/doc/html/tab_s.png libevdev-1.11.0/doc/html/tabs.css libevdev-1.11.0/doc/html/group__init.html libevdev-1.11.0/doc/html/group__mt.html libevdev-1.11.0/doc/html/tab_h.png libevdev-1.11.0/doc/html/pages.html libevdev-1.11.0/doc/html/libevdev_8h_source.html libevdev-1.11.0/doc/html/bdwn.png libevdev-1.11.0/doc/html/folderclosed.png libevdev-1.11.0/doc/html/deprecated.html libevdev-1.11.0/doc/html/folderopen.png libevdev-1.11.0/doc/html/index.html libevdev-1.11.0/doc/html/static_linking.html libevdev-1.11.0/doc/html/bootstrap.css libevdev-1.11.0/doc/html/group__uinput.html libevdev-1.11.0/doc/html/jquery.js libevdev-1.11.0/doc/html/globals_defs.html libevdev-1.11.0/doc/html/nav_h.png libevdev-1.11.0/doc/html/testing.html libevdev-1.11.0/doc/Makefile.am libevdev-1.11.0/doc/style/ libevdev-1.11.0/doc/style/customdoxygen.css libevdev-1.11.0/doc/style/dynsections.js libevdev-1.11.0/doc/style/README.md libevdev-1.11.0/doc/style/LICENSE libevdev-1.11.0/doc/style/libevdevdoxygen.css libevdev-1.11.0/doc/style/footer.html libevdev-1.11.0/doc/style/style.css libevdev-1.11.0/doc/style/layout.xml libevdev-1.11.0/doc/style/doxy-boot.js libevdev-1.11.0/doc/style/bootstrap.css libevdev-1.11.0/doc/style/header.html libevdev-1.11.0/tools/ libevdev-1.11.0/tools/Makefile.in libevdev-1.11.0/tools/touchpad-edge-detector.1 libevdev-1.11.0/tools/Makefile.am libevdev-1.11.0/tools/libevdev-tweak-device.1 libevdev-1.11.0/tools/touchpad-edge-detector.c libevdev-1.11.0/tools/libevdev-tweak-device.c libevdev-1.11.0/tools/mouse-dpi-tool.c libevdev-1.11.0/tools/libevdev-events.c libevdev-1.11.0/config.h.in libevdev-1.11.0/m4/ libevdev-1.11.0/m4/attributes.m4 libevdev-1.11.0/m4/libtool.m4 libevdev-1.11.0/m4/ltversion.m4 libevdev-1.11.0/m4/ltsugar.m4 libevdev-1.11.0/m4/ltoptions.m4 libevdev-1.11.0/m4/lt~obsolete.m4 phase `unpack' succeeded after 0.1 seconds starting phase `bootstrap' GNU build system bootstrapping not needed phase `bootstrap' succeeded after 0.0 seconds starting phase `patch-usr-bin-file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin/file' phase `patch-usr-bin-file' succeeded after 0.1 seconds starting phase `patch-source-shebangs' patch-shebang: ./build-aux/compile: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./build-aux/config.guess: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./build-aux/config.sub: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./build-aux/depcomp: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./build-aux/install-sh: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./build-aux/ltmain.sh: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./build-aux/missing: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./build-aux/test-driver: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./configure: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./libevdev/make-event-names.py: changing `/usr/bin/env python3' to `/gnu/store/lp8ch4rn10whzyajnzv216d2a2v163c7-python-3.10.7/bin/python3' patch-shebang: ./test/generate-gcov-report.sh: changing `/usr/bin/env bash' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/bash' patch-shebang: ./test/test-static-symbols-leak.sh: changing `/usr/bin/env bash' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/bash' phase `patch-source-shebangs' succeeded after 0.1 seconds starting phase `configure' source directory: "/tmp/guix-build-libevdev-1.11.0.drv-0/libevdev-1.11.0" (relative from build: ".") build directory: "/tmp/guix-build-libevdev-1.11.0.drv-0/libevdev-1.11.0" configure flags: ("CC_FOR_BUILD=gcc" "CONFIG_SHELL=/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/bash" "SHELL=/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/bash" "--prefix=/gnu/store/kmv7ww8via9bxxpmgxssm0zx7vmfhkds-libevdev-1.11.0" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=i586-pc-gnu" "--disable-static") checking for i586-pc-gnu-gcc... i586-pc-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-pc-gnu-gcc accepts -g... yes checking for i586-pc-gnu-gcc option to accept ISO C89... none needed checking whether i586-pc-gnu-gcc understands -c and -o together... yes checking how to run the C preprocessor... i586-pc-gnu-gcc -E checking for grep that handles long lines and -e... /gnu/store/7k8b93779dqpwcg2qjdvnf4nl43jv7hf-grep-3.11/bin/grep checking for egrep... /gnu/store/7k8b93779dqpwcg2qjdvnf4nl43jv7hf-grep-3.11/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /gnu/store/7h0mnlwalw23j9jmvz5n1i5mqkgb4d06-coreutils-9.1/bin/install -c checking whether build environment is sane... yes checking for i586-pc-gnu-strip... i586-pc-gnu-strip checking for a thread-safe mkdir -p... /gnu/store/7h0mnlwalw23j9jmvz5n1i5mqkgb4d06-coreutils-9.1/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... no checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of i586-pc-gnu-gcc... gcc3 checking whether make supports nested variables... (cached) yes checking for i586-pc-gnu-gcc option to accept ISO C99... none needed checking build system type... x86_64-unknown-linux-gnu checking host system type... i586-pc-gnu checking how to print strings... printf checking for a sed that does not truncate output... /gnu/store/3i4fr8riqw9azh1p4mqggl5vdz23kyr8-sed-4.8/bin/sed checking for fgrep... /gnu/store/7k8b93779dqpwcg2qjdvnf4nl43jv7hf-grep-3.11/bin/grep -F checking for ld used by i586-pc-gnu-gcc... /gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/libexec/gcc/i586-pc-gnu/ld checking if the linker (/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/libexec/gcc/i586-pc-gnu/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /gnu/store/xk5y49ahzp2kdhn13c8yjvgx4zq14z8y-binutils-cross-i586-pc-gnu-2.41/bin/i586-pc-gnu-nm -B checking the name lister (/gnu/store/xk5y49ahzp2kdhn13c8yjvgx4zq14z8y-binutils-cross-i586-pc-gnu-2.41/bin/i586-pc-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-unknown-linux-gnu file names to i586-pc-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/libexec/gcc/i586-pc-gnu/ld option to reload object files... -r checking for i586-pc-gnu-objdump... i586-pc-gnu-objdump checking how to recognize dependent libraries... pass_all checking for i586-pc-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-pc-gnu-ar... i586-pc-gnu-ar checking for archiver @FILE support... @ checking for i586-pc-gnu-strip... (cached) i586-pc-gnu-strip checking for i586-pc-gnu-ranlib... i586-pc-gnu-ranlib checking command to parse /gnu/store/xk5y49ahzp2kdhn13c8yjvgx4zq14z8y-binutils-cross-i586-pc-gnu-2.41/bin/i586-pc-gnu-nm -B output from i586-pc-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /gnu/store/7h0mnlwalw23j9jmvz5n1i5mqkgb4d06-coreutils-9.1/bin/dd checking how to truncate binary pipes... /gnu/store/7h0mnlwalw23j9jmvz5n1i5mqkgb4d06-coreutils-9.1/bin/dd bs=4096 count=1 checking for i586-pc-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i586-pc-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i586-pc-gnu-gcc option to produce PIC... -fPIC -DPIC checking if i586-pc-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if i586-pc-gnu-gcc static flag -static works... no checking if i586-pc-gnu-gcc supports -c -o file.o... yes checking if i586-pc-gnu-gcc supports -c -o file.o... (cached) yes checking whether the i586-pc-gnu-gcc linker (/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/libexec/gcc/i586-pc-gnu/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by i586-pc-gnu-gcc... (cached) /gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/libexec/gcc/i586-pc-gnu/ld checking if the linker (/gnu/store/6nijn1wha2nyq6xmjdqjynhssq2l2qzl-gcc-cross-i586-pc-gnu-14.2.0/libexec/gcc/i586-pc-gnu/ld) is GNU ld... (cached) yes checking if i586-pc-gnu-gcc supports flag -Wl,--as-needed in envvar LDFLAGS... yes checking if i586-pc-gnu-gcc supports flag -Wl,--gc-sections in envvar LDFLAGS... yes checking if i586-pc-gnu-gcc supports flag -Wl,-z,relro in envvar LDFLAGS... yes checking if i586-pc-gnu-gcc supports flag -Wl,-z,now in envvar LDFLAGS... yes checking for round in -lm... yes checking for i586-pc-gnu-pkg-config... no checking for pkg-config... no checking for CHECK... no configure: WARNING: check not found - skipping building unit tests checking if i586-pc-gnu-gcc supports flag -Wall in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -Wextra in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -Wno-unused-parameter in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -Wstrict-prototypes in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -Wmissing-prototypes in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -fvisibility=hidden in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -pipe in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -fno-strict-aliasing in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -ffunction-sections in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -fdata-sections in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -fno-strict-aliasing in envvar CFLAGS... (cached) yes checking if i586-pc-gnu-gcc supports flag -fdiagnostics-show-option in envvar CFLAGS... yes checking if i586-pc-gnu-gcc supports flag -fno-common in envvar CFLAGS... yes checking for doxygen... no configure: WARNING: doxygen not found - required for documentation checking whether to build with gcov... no checking whether to build with coverity support... no checking for a Python interpreter with version >= 2.6... python3 checking for python3... /gnu/store/lp8ch4rn10whzyajnzv216d2a2v163c7-python-3.10.7/bin/python3 checking for python3 version... 3.1 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.10/site-packages checking for python3 extension module directory... ${exec_prefix}/lib/python3.10/site-packages checking for nm... /gnu/store/xk5y49ahzp2kdhn13c8yjvgx4zq14z8y-binutils-cross-i586-pc-gnu-2.41/bin/i586-pc-gnu-nm -B checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libevdev/Makefile config.status: creating doc/Makefile config.status: creating doc/libevdev.doxygen config.status: creating doc/libevdev.man config.status: creating tools/Makefile config.status: creating test/Makefile config.status: creating libevdev.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Prefix /gnu/store/kmv7ww8via9bxxpmgxssm0zx7vmfhkds-libevdev-1.11.0 Libdir ${exec_prefix}/lib Build documentation no Enable unit-tests no Enable profiling no Enable coverity support no Static library symbol check no - static build disabled phase `configure' succeeded after 6.2 seconds starting phase `patch-generated-file-shebangs' phase `patch-generated-file-shebangs' succeeded after 0.1 seconds starting phase `build' make --no-print-directory all-recursive Making all in doc make[2]: Nothing to be done for 'all'. Making all in libevdev /gnu/store/lp8ch4rn10whzyajnzv216d2a2v163c7-python-3.10.7/bin/python3 ./make-event-names.py ../include/linux/linux/input.h ../include/linux/linux/input-event-codes.h > event-names.h make all-am CC libevdev-uinput.lo CC libevdev.lo CC libevdev-names.lo In file included from libevdev-int.h:14, from libevdev-names.c:12: libevdev.h:1143:74: warning: ‘struct input_event’ declared inside parameter list will not be visible outside of this definition or declaration 1143 | int libevdev_next_event(struct libevdev *dev, unsigned int flags, struct input_event *ev); | ^~~~~~~~~~~ libevdev.h:2001:41: warning: ‘struct input_event’ declared inside parameter list will not be visible outside of this definition or declaration 2001 | int libevdev_event_is_type(const struct input_event *ev, unsigned int type); | ^~~~~~~~~~~ libevdev.h:2026:41: warning: ‘struct input_event’ declared inside parameter list will not be visible outside of this definition or declaration 2026 | int libevdev_event_is_code(const struct input_event *ev, unsigned int type, unsigned int code); | ^~~~~~~~~~~ libevdev-int.h:61:25: error: field ‘ids’ has incomplete type 61 | struct input_id ids; | ^~~ In file included from libevdev-int.h:15: libevdev-int.h:63:35: error: ‘EV_CNT’ undeclared here (not in a function) 63 | unsigned long bits[NLONGS(EV_CNT)]; | ^~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:64:36: error: ‘INPUT_PROP_CNT’ undeclared here (not in a function) 64 | unsigned long props[NLONGS(INPUT_PROP_CNT)]; | ^~~~~~~~~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:65:39: error: ‘KEY_CNT’ undeclared here (not in a function) 65 | unsigned long key_bits[NLONGS(KEY_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:66:39: error: ‘REL_CNT’ undeclared here (not in a function) 66 | unsigned long rel_bits[NLONGS(REL_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:67:39: error: ‘ABS_CNT’ undeclared here (not in a function); did you mean ‘ABS_MT_CNT’? 67 | unsigned long abs_bits[NLONGS(ABS_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ In file included from libevdev-int.h:14, from libevdev.c:17: libevdev.h:1143:74: warning: ‘struct input_event’ declared inside parameter list will not be visible outside of this definition or declaration 1143 | int libevdev_next_event(struct libevdev *dev, unsigned int flags, struct input_event *ev); | ^~~~~~~~~~~ libevdev-int.h:68:39: error: ‘LED_CNT’ undeclared here (not in a function) 68 | unsigned long led_bits[NLONGS(LED_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:69:39: error: ‘MSC_CNT’ undeclared here (not in a function) 69 | unsigned long msc_bits[NLONGS(MSC_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev.h:2001:41: warning: ‘struct input_event’ declared inside parameter list will not be visible outside of this definition or declaration 2001 | int libevdev_event_is_type(const struct input_event *ev, unsigned int type); | ^~~~~~~~~~~ libevdev-int.h:70:38: error: ‘SW_CNT’ undeclared here (not in a function) 70 | unsigned long sw_bits[NLONGS(SW_CNT)]; | ^~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev.h:2026:41: warning: ‘struct input_event’ declared inside parameter list will not be visible outside of this definition or declaration 2026 | int libevdev_event_is_code(const struct input_event *ev, unsigned int type, unsigned int code); | ^~~~~~~~~~~ libevdev-int.h:71:39: error: ‘REP_CNT’ undeclared here (not in a function) 71 | unsigned long rep_bits[NLONGS(REP_CNT)]; /* convenience, always 1 */ | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:72:38: error: ‘FF_CNT’ undeclared here (not in a function) 72 | unsigned long ff_bits[NLONGS(FF_CNT)]; | ^~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:73:39: error: ‘SND_CNT’ undeclared here (not in a function) 73 | unsigned long snd_bits[NLONGS(SND_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:61:25: error: field ‘ids’ has incomplete type 61 | struct input_id ids; | ^~~ libevdev-int.h: In function ‘init_event’: libevdev-int.h:118:11: error: invalid use of undefined type ‘struct input_event’ 118 | ev->input_event_sec = dev->last_event_time.tv_sec; | ^~ libevdev-int.h:119:11: error: invalid use of undefined type ‘struct input_event’ 119 | ev->input_event_usec = dev->last_event_time.tv_usec; | ^~ libevdev-int.h:120:11: error: invalid use of undefined type ‘struct input_event’ 120 | ev->type = type; | ^~ libevdev-int.h:121:11: error: invalid use of undefined type ‘struct input_event’ 121 | ev->code = code; | ^~ libevdev-int.h:122:11: error: invalid use of undefined type ‘struct input_event’ 122 | ev->value = value; | ^~ libevdev-int.h: In function ‘queue_push’: libevdev-int.h:135:27: error: invalid use of undefined type ‘struct input_event’ 135 | return &dev->queue[dev->queue_next++]; | ^ libevdev-int.h: In function ‘queue_pop’: libevdev-int.h:161:25: error: invalid use of undefined type ‘struct input_event’ 161 | *ev = dev->queue[--dev->queue_next]; | ^ In file included from libevdev-int.h:14, from libevdev-uinput.c:18: libevdev.h:1143:74: warning: ‘struct input_event’ declared inside parameter list will not be visible outside of this definition or declaration 1143 | int libevdev_next_event(struct libevdev *dev, unsigned int flags, struct input_event *ev); | ^~~~~~~~~~~ libevdev-int.h:161:15: error: invalid use of undefined type ‘struct input_event’ 161 | *ev = dev->queue[--dev->queue_next]; | ^~~ libevdev-int.h:161:13: error: invalid use of undefined type ‘struct input_event’ 161 | *ev = dev->queue[--dev->queue_next]; | ^ In file included from libevdev-int.h:15: libevdev-int.h:63:35: error: ‘EV_CNT’ undeclared here (not in a function) 63 | unsigned long bits[NLONGS(EV_CNT)]; | ^~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h: In function ‘queue_peek’: libevdev-int.h:171:25: error: invalid use of undefined type ‘struct input_event’ 171 | *ev = dev->queue[idx]; | ^ libevdev-int.h:171:15: error: invalid use of undefined type ‘struct input_event’ 171 | *ev = dev->queue[idx]; | ^~~ libevdev-int.h:171:13: error: invalid use of undefined type ‘struct input_event’ 171 | *ev = dev->queue[idx]; | ^ libevdev-int.h: In function ‘queue_shift_multiple’: libevdev-int.h:196:50: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 196 | memcpy(ev, dev->queue, n * sizeof(*ev)); | ^ libevdev-int.h:198:40: error: invalid use of undefined type ‘struct input_event’ 198 | memmove(dev->queue, &dev->queue[n], remaining * sizeof(*dev->queue)); | ^ libevdev-int.h:198:63: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 198 | memmove(dev->queue, &dev->queue[n], remaining * sizeof(*dev->queue)); | ^ libevdev-int.h: In function ‘queue_alloc’: libevdev.h:2001:41: warning: ‘struct input_event’ declared inside parameter list will not be visible outside of this definition or declaration 2001 | int libevdev_event_is_type(const struct input_event *ev, unsigned int type); | ^~~~~~~~~~~ libevdev-int.h:222:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 222 | dev->queue = calloc(size, sizeof(struct input_event)); | ^~~~~~ libevdev-int.h: In function ‘queue_next_element’: libevdev-int.h:266:27: error: invalid use of undefined type ‘struct input_event’ 266 | return &dev->queue[dev->queue_next]; | ^ libevdev.h:2026:41: warning: ‘struct input_event’ declared inside parameter list will not be visible outside of this definition or declaration 2026 | int libevdev_event_is_code(const struct input_event *ev, unsigned int type, unsigned int code); | ^~~~~~~~~~~ libevdev-int.h: In function ‘type_to_mask_const’: libevdev-int.h:64:36: error: ‘INPUT_PROP_CNT’ undeclared here (not in a function) 64 | unsigned long props[NLONGS(INPUT_PROP_CNT)]; | ^~~~~~~~~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:281:14: error: ‘EV_ABS’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:292:17: note: in expansion of macro ‘max_mask’ 292 | max_mask(ABS, abs); | ^~~~~~~~ libevdev-int.h:61:25: error: field ‘ids’ has incomplete type 61 | struct input_id ids; | ^~~ libevdev-int.h:281:14: note: each undeclared identifier is reported only once for each function it appears in 281 | case EV_##uc: \ | ^~~ libevdev-int.h:292:17: note: in expansion of macro ‘max_mask’ 292 | max_mask(ABS, abs); | ^~~~~~~~ libevdev-int.h:65:39: error: ‘KEY_CNT’ undeclared here (not in a function) 65 | unsigned long key_bits[NLONGS(KEY_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:281:14: error: ‘EV_REL’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:293:17: note: in expansion of macro ‘max_mask’ 293 | max_mask(REL, rel); | ^~~~~~~~ In file included from libevdev-int.h:15: libevdev-int.h:63:35: error: ‘EV_CNT’ undeclared here (not in a function) 63 | unsigned long bits[NLONGS(EV_CNT)]; | ^~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:281:14: error: ‘EV_KEY’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:294:17: note: in expansion of macro ‘max_mask’ 294 | max_mask(KEY, key); | ^~~~~~~~ libevdev-int.h:66:39: error: ‘REL_CNT’ undeclared here (not in a function) 66 | unsigned long rel_bits[NLONGS(REL_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:281:14: error: ‘EV_LED’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:295:17: note: in expansion of macro ‘max_mask’ 295 | max_mask(LED, led); | ^~~~~~~~ libevdev-int.h:67:39: error: ‘ABS_CNT’ undeclared here (not in a function); did you mean ‘ABS_MT_CNT’? 67 | unsigned long abs_bits[NLONGS(ABS_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:64:36: error: ‘INPUT_PROP_CNT’ undeclared here (not in a function) 64 | unsigned long props[NLONGS(INPUT_PROP_CNT)]; | ^~~~~~~~~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:281:14: error: ‘EV_MSC’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:296:17: note: in expansion of macro ‘max_mask’ 296 | max_mask(MSC, msc); | ^~~~~~~~ libevdev-int.h:68:39: error: ‘LED_CNT’ undeclared here (not in a function) 68 | unsigned long led_bits[NLONGS(LED_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:65:39: error: ‘KEY_CNT’ undeclared here (not in a function) 65 | unsigned long key_bits[NLONGS(KEY_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:281:14: error: ‘EV_SW’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:297:17: note: in expansion of macro ‘max_mask’ 297 | max_mask(SW, sw); | ^~~~~~~~ libevdev-int.h:69:39: error: ‘MSC_CNT’ undeclared here (not in a function) 69 | unsigned long msc_bits[NLONGS(MSC_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:66:39: error: ‘REL_CNT’ undeclared here (not in a function) 66 | unsigned long rel_bits[NLONGS(REL_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:281:14: error: ‘EV_FF’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:298:17: note: in expansion of macro ‘max_mask’ 298 | max_mask(FF, ff); | ^~~~~~~~ libevdev-int.h:70:38: error: ‘SW_CNT’ undeclared here (not in a function) 70 | unsigned long sw_bits[NLONGS(SW_CNT)]; | ^~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:281:14: error: ‘EV_REP’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:299:17: note: in expansion of macro ‘max_mask’ 299 | max_mask(REP, rep); | ^~~~~~~~ libevdev-int.h:67:39: error: ‘ABS_CNT’ undeclared here (not in a function); did you mean ‘ABS_MT_CNT’? 67 | unsigned long abs_bits[NLONGS(ABS_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:71:39: error: ‘REP_CNT’ undeclared here (not in a function) 71 | unsigned long rep_bits[NLONGS(REP_CNT)]; /* convenience, always 1 */ | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:281:14: error: ‘EV_SND’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:300:17: note: in expansion of macro ‘max_mask’ 300 | max_mask(SND, snd); | ^~~~~~~~ libevdev-int.h:68:39: error: ‘LED_CNT’ undeclared here (not in a function) 68 | unsigned long led_bits[NLONGS(LED_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:72:38: error: ‘FF_CNT’ undeclared here (not in a function) 72 | unsigned long ff_bits[NLONGS(FF_CNT)]; | ^~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h: In function ‘type_to_mask’: libevdev-int.h:69:39: error: ‘MSC_CNT’ undeclared here (not in a function) 69 | unsigned long msc_bits[NLONGS(MSC_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:281:14: error: ‘EV_ABS’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:315:17: note: in expansion of macro ‘max_mask’ 315 | max_mask(ABS, abs); | ^~~~~~~~ libevdev-int.h:73:39: error: ‘SND_CNT’ undeclared here (not in a function) 73 | unsigned long snd_bits[NLONGS(SND_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h: In function ‘init_event’: libevdev-int.h:118:11: error: invalid use of undefined type ‘struct input_event’ 118 | ev->input_event_sec = dev->last_event_time.tv_sec; | ^~ libevdev-int.h:119:11: error: invalid use of undefined type ‘struct input_event’ 119 | ev->input_event_usec = dev->last_event_time.tv_usec; | ^~ libevdev-int.h:120:11: error: invalid use of undefined type ‘struct input_event’ 120 | ev->type = type; | ^~ libevdev-int.h:121:11: error: invalid use of undefined type ‘struct input_event’ 121 | ev->code = code; | ^~ libevdev-int.h:122:11: error: invalid use of undefined type ‘struct input_event’ 122 | ev->value = value; | ^~ libevdev-int.h:70:38: error: ‘SW_CNT’ undeclared here (not in a function) 70 | unsigned long sw_bits[NLONGS(SW_CNT)]; | ^~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h: In function ‘queue_push’: libevdev-int.h:281:14: error: ‘EV_REL’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:316:17: note: in expansion of macro ‘max_mask’ 316 | max_mask(REL, rel); | ^~~~~~~~ libevdev-int.h:135:27: error: invalid use of undefined type ‘struct input_event’ 135 | return &dev->queue[dev->queue_next++]; | ^ libevdev-int.h: In function ‘queue_pop’: libevdev-int.h:161:25: error: invalid use of undefined type ‘struct input_event’ 161 | *ev = dev->queue[--dev->queue_next]; | ^ libevdev-int.h:161:15: error: invalid use of undefined type ‘struct input_event’ 161 | *ev = dev->queue[--dev->queue_next]; | ^~~ libevdev-int.h:161:13: error: invalid use of undefined type ‘struct input_event’ 161 | *ev = dev->queue[--dev->queue_next]; | ^ libevdev-int.h: In function ‘queue_peek’: libevdev-int.h:171:25: error: invalid use of undefined type ‘struct input_event’ 171 | *ev = dev->queue[idx]; | ^ libevdev-int.h:71:39: error: ‘REP_CNT’ undeclared here (not in a function) 71 | unsigned long rep_bits[NLONGS(REP_CNT)]; /* convenience, always 1 */ | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h:171:15: error: invalid use of undefined type ‘struct input_event’ 171 | *ev = dev->queue[idx]; | ^~~ libevdev-int.h:171:13: error: invalid use of undefined type ‘struct input_event’ 171 | *ev = dev->queue[idx]; | ^ libevdev-int.h: In function ‘queue_shift_multiple’: libevdev-int.h:196:50: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 196 | memcpy(ev, dev->queue, n * sizeof(*ev)); | ^ libevdev-int.h:281:14: error: ‘EV_KEY’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:317:17: note: in expansion of macro ‘max_mask’ 317 | max_mask(KEY, key); | ^~~~~~~~ libevdev-int.h:198:40: error: invalid use of undefined type ‘struct input_event’ 198 | memmove(dev->queue, &dev->queue[n], remaining * sizeof(*dev->queue)); | ^ libevdev-int.h:198:63: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 198 | memmove(dev->queue, &dev->queue[n], remaining * sizeof(*dev->queue)); | ^ libevdev-int.h:72:38: error: ‘FF_CNT’ undeclared here (not in a function) 72 | unsigned long ff_bits[NLONGS(FF_CNT)]; | ^~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h: In function ‘queue_alloc’: libevdev-int.h:222:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 222 | dev->queue = calloc(size, sizeof(struct input_event)); | ^~~~~~ libevdev-int.h: In function ‘queue_next_element’: libevdev-int.h:266:27: error: invalid use of undefined type ‘struct input_event’ 266 | return &dev->queue[dev->queue_next]; | ^ libevdev-int.h:281:14: error: ‘EV_LED’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:318:17: note: in expansion of macro ‘max_mask’ 318 | max_mask(LED, led); | ^~~~~~~~ libevdev-int.h:73:39: error: ‘SND_CNT’ undeclared here (not in a function) 73 | unsigned long snd_bits[NLONGS(SND_CNT)]; | ^~~~~~~ libevdev-util.h:14:22: note: in definition of macro ‘NLONGS’ 14 | #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS) | ^ libevdev-int.h: In function ‘init_event’: libevdev-int.h:118:11: error: invalid use of undefined type ‘struct input_event’ 118 | ev->input_event_sec = dev->last_event_time.tv_sec; | ^~ libevdev-int.h:119:11: error: invalid use of undefined type ‘struct input_event’ 119 | ev->input_event_usec = dev->last_event_time.tv_usec; | ^~ libevdev-int.h:120:11: error: invalid use of undefined type ‘struct input_event’ 120 | ev->type = type; | ^~ libevdev-int.h:121:11: error: invalid use of undefined type ‘struct input_event’ 121 | ev->code = code; | ^~ libevdev-int.h:281:14: error: ‘EV_MSC’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:319:17: note: in expansion of macro ‘max_mask’ 319 | max_mask(MSC, msc); | ^~~~~~~~ libevdev-int.h:122:11: error: invalid use of undefined type ‘struct input_event’ 122 | ev->value = value; | ^~ libevdev-int.h: In function ‘type_to_mask_const’: libevdev-int.h: In function ‘queue_push’: libevdev-int.h:135:27: error: invalid use of undefined type ‘struct input_event’ 135 | return &dev->queue[dev->queue_next++]; | ^ libevdev-int.h:281:14: error: ‘EV_ABS’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:292:17: note: in expansion of macro ‘max_mask’ 292 | max_mask(ABS, abs); | ^~~~~~~~ libevdev-int.h: In function ‘queue_pop’: libevdev-int.h:281:14: note: each undeclared identifier is reported only once for each function it appears in 281 | case EV_##uc: \ | ^~~ libevdev-int.h:292:17: note: in expansion of macro ‘max_mask’ 292 | max_mask(ABS, abs); | ^~~~~~~~ libevdev-int.h:161:25: error: invalid use of undefined type ‘struct input_event’ 161 | *ev = dev->queue[--dev->queue_next]; | ^ libevdev-int.h:161:15: error: invalid use of undefined type ‘struct input_event’ 161 | *ev = dev->queue[--dev->queue_next]; | ^~~ libevdev-int.h:161:13: error: invalid use of undefined type ‘struct input_event’ 161 | *ev = dev->queue[--dev->queue_next]; | ^ libevdev-int.h:281:14: error: ‘EV_SW’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:320:17: note: in expansion of macro ‘max_mask’ 320 | max_mask(SW, sw); | ^~~~~~~~ libevdev-int.h: In function ‘queue_peek’: libevdev-int.h:171:25: error: invalid use of undefined type ‘struct input_event’ 171 | *ev = dev->queue[idx]; | ^ libevdev-int.h:171:15: error: invalid use of undefined type ‘struct input_event’ 171 | *ev = dev->queue[idx]; | ^~~ libevdev-int.h:171:13: error: invalid use of undefined type ‘struct input_event’ 171 | *ev = dev->queue[idx]; | ^ libevdev-int.h: In function ‘queue_shift_multiple’: libevdev-int.h:196:50: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 196 | memcpy(ev, dev->queue, n * sizeof(*ev)); | ^ libevdev-int.h:281:14: error: ‘EV_FF’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:321:17: note: in expansion of macro ‘max_mask’ 321 | max_mask(FF, ff); | ^~~~~~~~ libevdev-int.h:198:40: error: invalid use of undefined type ‘struct input_event’ 198 | memmove(dev->queue, &dev->queue[n], remaining * sizeof(*dev->queue)); | ^ libevdev-int.h:281:14: error: ‘EV_REL’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:293:17: note: in expansion of macro ‘max_mask’ 293 | max_mask(REL, rel); | ^~~~~~~~ libevdev-int.h:198:63: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 198 | memmove(dev->queue, &dev->queue[n], remaining * sizeof(*dev->queue)); | ^ libevdev-int.h: In function ‘queue_alloc’: libevdev-int.h:222:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 222 | dev->queue = calloc(size, sizeof(struct input_event)); | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_REP’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:322:17: note: in expansion of macro ‘max_mask’ 322 | max_mask(REP, rep); | ^~~~~~~~ libevdev-int.h: In function ‘queue_next_element’: libevdev-int.h:266:27: error: invalid use of undefined type ‘struct input_event’ 266 | return &dev->queue[dev->queue_next]; | ^ libevdev-int.h:281:14: error: ‘EV_KEY’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:294:17: note: in expansion of macro ‘max_mask’ 294 | max_mask(KEY, key); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_SND’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:323:17: note: in expansion of macro ‘max_mask’ 323 | max_mask(SND, snd); | ^~~~~~~~ libevdev-int.h: In function ‘type_to_mask_const’: libevdev-int.h:281:14: error: ‘EV_LED’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:295:17: note: in expansion of macro ‘max_mask’ 295 | max_mask(LED, led); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_ABS’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:292:17: note: in expansion of macro ‘max_mask’ 292 | max_mask(ABS, abs); | ^~~~~~~~ In file included from libevdev-names.c:16: event-names.h: At top level: libevdev-int.h:281:14: note: each undeclared identifier is reported only once for each function it appears in 281 | case EV_##uc: \ | ^~~ libevdev-int.h:292:17: note: in expansion of macro ‘max_mask’ 292 | max_mask(ABS, abs); | ^~~~~~~~ event-names.h:6:34: error: ‘EV_MAX’ undeclared here (not in a function) 6 | static const char * const ev_map[EV_MAX + 1] = { | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_MSC’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:296:17: note: in expansion of macro ‘max_mask’ 296 | max_mask(MSC, msc); | ^~~~~~~~ event-names.h:7:6: error: ‘EV_SYN’ undeclared here (not in a function) 7 | [EV_SYN] = "EV_SYN", | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_REL’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:293:17: note: in expansion of macro ‘max_mask’ 293 | max_mask(REL, rel); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_SW’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:297:17: note: in expansion of macro ‘max_mask’ 297 | max_mask(SW, sw); | ^~~~~~~~ event-names.h:8:6: error: ‘EV_KEY’ undeclared here (not in a function) 8 | [EV_KEY] = "EV_KEY", | ^~~~~~ event-names.h:9:6: error: ‘EV_REL’ undeclared here (not in a function) 9 | [EV_REL] = "EV_REL", | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_KEY’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:294:17: note: in expansion of macro ‘max_mask’ 294 | max_mask(KEY, key); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_FF’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:298:17: note: in expansion of macro ‘max_mask’ 298 | max_mask(FF, ff); | ^~~~~~~~ event-names.h:10:6: error: ‘EV_ABS’ undeclared here (not in a function) 10 | [EV_ABS] = "EV_ABS", | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_LED’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:295:17: note: in expansion of macro ‘max_mask’ 295 | max_mask(LED, led); | ^~~~~~~~ event-names.h:11:6: error: ‘EV_MSC’ undeclared here (not in a function) 11 | [EV_MSC] = "EV_MSC", | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_REP’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:299:17: note: in expansion of macro ‘max_mask’ 299 | max_mask(REP, rep); | ^~~~~~~~ event-names.h:12:6: error: ‘EV_SW’ undeclared here (not in a function) 12 | [EV_SW] = "EV_SW", | ^~~~~ libevdev-int.h:281:14: error: ‘EV_MSC’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:296:17: note: in expansion of macro ‘max_mask’ 296 | max_mask(MSC, msc); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_SND’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:300:17: note: in expansion of macro ‘max_mask’ 300 | max_mask(SND, snd); | ^~~~~~~~ event-names.h:13:6: error: ‘EV_LED’ undeclared here (not in a function) 13 | [EV_LED] = "EV_LED", | ^~~~~~ event-names.h:14:6: error: ‘EV_SND’ undeclared here (not in a function) 14 | [EV_SND] = "EV_SND", | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_SW’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:297:17: note: in expansion of macro ‘max_mask’ 297 | max_mask(SW, sw); | ^~~~~~~~ libevdev-int.h: In function ‘type_to_mask’: libevdev-int.h:281:14: error: ‘EV_ABS’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:315:17: note: in expansion of macro ‘max_mask’ 315 | max_mask(ABS, abs); | ^~~~~~~~ event-names.h:15:6: error: ‘EV_REP’ undeclared here (not in a function) 15 | [EV_REP] = "EV_REP", | ^~~~~~ event-names.h:16:6: error: ‘EV_FF’ undeclared here (not in a function) 16 | [EV_FF] = "EV_FF", | ^~~~~ libevdev-int.h:281:14: error: ‘EV_FF’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:298:17: note: in expansion of macro ‘max_mask’ 298 | max_mask(FF, ff); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_REL’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:316:17: note: in expansion of macro ‘max_mask’ 316 | max_mask(REL, rel); | ^~~~~~~~ event-names.h:17:6: error: ‘EV_PWR’ undeclared here (not in a function) 17 | [EV_PWR] = "EV_PWR", | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_REP’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:299:17: note: in expansion of macro ‘max_mask’ 299 | max_mask(REP, rep); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_KEY’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:317:17: note: in expansion of macro ‘max_mask’ 317 | max_mask(KEY, key); | ^~~~~~~~ event-names.h:18:6: error: ‘EV_FF_STATUS’ undeclared here (not in a function) 18 | [EV_FF_STATUS] = "EV_FF_STATUS", | ^~~~~~~~~~~~ libevdev-int.h:281:14: error: ‘EV_SND’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:300:17: note: in expansion of macro ‘max_mask’ 300 | max_mask(SND, snd); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_LED’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:318:17: note: in expansion of macro ‘max_mask’ 318 | max_mask(LED, led); | ^~~~~~~~ event-names.h:22:35: error: ‘REL_MAX’ undeclared here (not in a function) 22 | static const char * const rel_map[REL_MAX + 1] = { | ^~~~~~~ libevdev-int.h: In function ‘type_to_mask’: event-names.h:23:6: error: ‘REL_X’ undeclared here (not in a function) 23 | [REL_X] = "REL_X", | ^~~~~ libevdev-int.h:281:14: error: ‘EV_MSC’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:319:17: note: in expansion of macro ‘max_mask’ 319 | max_mask(MSC, msc); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_ABS’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:315:17: note: in expansion of macro ‘max_mask’ 315 | max_mask(ABS, abs); | ^~~~~~~~ event-names.h:24:6: error: ‘REL_Y’ undeclared here (not in a function) 24 | [REL_Y] = "REL_Y", | ^~~~~ libevdev-int.h:281:14: error: ‘EV_SW’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:320:17: note: in expansion of macro ‘max_mask’ 320 | max_mask(SW, sw); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_REL’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:316:17: note: in expansion of macro ‘max_mask’ 316 | max_mask(REL, rel); | ^~~~~~~~ event-names.h:25:6: error: ‘REL_Z’ undeclared here (not in a function) 25 | [REL_Z] = "REL_Z", | ^~~~~ event-names.h:26:6: error: ‘REL_RX’ undeclared here (not in a function) 26 | [REL_RX] = "REL_RX", | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_FF’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:321:17: note: in expansion of macro ‘max_mask’ 321 | max_mask(FF, ff); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_KEY’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:317:17: note: in expansion of macro ‘max_mask’ 317 | max_mask(KEY, key); | ^~~~~~~~ event-names.h:27:6: error: ‘REL_RY’ undeclared here (not in a function) 27 | [REL_RY] = "REL_RY", | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_REP’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:322:17: note: in expansion of macro ‘max_mask’ 322 | max_mask(REP, rep); | ^~~~~~~~ event-names.h:28:6: error: ‘REL_RZ’ undeclared here (not in a function) 28 | [REL_RZ] = "REL_RZ", | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_LED’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:318:17: note: in expansion of macro ‘max_mask’ 318 | max_mask(LED, led); | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_SND’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:323:17: note: in expansion of macro ‘max_mask’ 323 | max_mask(SND, snd); | ^~~~~~~~ event-names.h:29:6: error: ‘REL_HWHEEL’ undeclared here (not in a function) 29 | [REL_HWHEEL] = "REL_HWHEEL", | ^~~~~~~~~~ libevdev-int.h:281:14: error: ‘EV_MSC’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:319:17: note: in expansion of macro ‘max_mask’ 319 | max_mask(MSC, msc); | ^~~~~~~~ In file included from libevdev.c:21: event-names.h: At top level: event-names.h:6:34: error: ‘EV_MAX’ undeclared here (not in a function) 6 | static const char * const ev_map[EV_MAX + 1] = { | ^~~~~~ event-names.h:30:6: error: ‘REL_DIAL’ undeclared here (not in a function) 30 | [REL_DIAL] = "REL_DIAL", | ^~~~~~~~ libevdev-int.h:281:14: error: ‘EV_SW’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:320:17: note: in expansion of macro ‘max_mask’ 320 | max_mask(SW, sw); | ^~~~~~~~ event-names.h:7:6: error: ‘EV_SYN’ undeclared here (not in a function) 7 | [EV_SYN] = "EV_SYN", | ^~~~~~ event-names.h:31:6: error: ‘REL_WHEEL’ undeclared here (not in a function) 31 | [REL_WHEEL] = "REL_WHEEL", | ^~~~~~~~~ libevdev-int.h:281:14: error: ‘EV_FF’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:321:17: note: in expansion of macro ‘max_mask’ 321 | max_mask(FF, ff); | ^~~~~~~~ event-names.h:8:6: error: ‘EV_KEY’ undeclared here (not in a function) 8 | [EV_KEY] = "EV_KEY", | ^~~~~~ event-names.h:32:6: error: ‘REL_MISC’ undeclared here (not in a function) 32 | [REL_MISC] = "REL_MISC", | ^~~~~~~~ event-names.h:9:6: error: ‘EV_REL’ undeclared here (not in a function) 9 | [EV_REL] = "EV_REL", | ^~~~~~ libevdev-int.h:281:14: error: ‘EV_REP’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:322:17: note: in expansion of macro ‘max_mask’ 322 | max_mask(REP, rep); | ^~~~~~~~ event-names.h:10:6: error: ‘EV_ABS’ undeclared here (not in a function) 10 | [EV_ABS] = "EV_ABS", | ^~~~~~ event-names.h:33:6: error: ‘REL_RESERVED’ undeclared here (not in a function) 33 | [REL_RESERVED] = "REL_RESERVED", | ^~~~~~~~~~~~ libevdev-int.h:281:14: error: ‘EV_SND’ undeclared (first use in this function) 281 | case EV_##uc: \ | ^~~ libevdev-int.h:323:17: note: in expansion of macro ‘max_mask’ 323 | max_mask(SND, snd); | ^~~~~~~~ event-names.h:11:6: error: ‘EV_MSC’ undeclared here (not in a function) 11 | [EV_MSC] = "EV_MSC", | ^~~~~~ event-names.h:12:6: error: ‘EV_SW’ undeclared here (not in a function) 12 | [EV_SW] = "EV_SW", | ^~~~~ libevdev-uinput.c: In function ‘set_abs’: libevdev-uinput.c:50:16: error: variable ‘abs_setup’ has initializer but incomplete type 50 | struct uinput_abs_setup abs_setup = {0}; | ^~~~~~~~~~~~~~~~ libevdev-uinput.c:50:46: warning: excess elements in struct initializer 50 | struct uinput_abs_setup abs_setup = {0}; | ^ libevdev-uinput.c:50:46: note: (near initialization for ‘abs_setup’) libevdev-uinput.c:50:33: error: storage size of ‘abs_setup’ isn’t known 50 | struct uinput_abs_setup abs_setup = {0}; | ^~~~~~~~~ libevdev-uinput.c:54:29: error: invalid use of undefined type ‘const struct input_absinfo’ 54 | abs_setup.absinfo = *abs; | ^ event-names.h:13:6: error: ‘EV_LED’ undeclared here (not in a function) 13 | [EV_LED] = "EV_LED", | ^~~~~~ event-names.h:34:6: error: ‘REL_WHEEL_HI_RES’ undeclared here (not in a function) 34 | [REL_WHEEL_HI_RES] = "REL_WHEEL_HI_RES", | ^~~~~~~~~~~~~~~~ libevdev-uinput.c:55:14: error: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration] 55 | rc = ioctl(fd, UI_ABS_SETUP, &abs_setup); | ^~~~~ event-names.h:14:6: error: ‘EV_SND’ undeclared here (not in a function) 14 | [EV_SND] = "EV_SND", | ^~~~~~ event-names.h:15:6: error: ‘EV_REP’ undeclared here (not in a function) 15 | [EV_REP] = "EV_REP", | ^~~~~~ event-names.h:35:6: error: ‘REL_HWHEEL_HI_RES’ undeclared here (not in a function) 35 | [REL_HWHEEL_HI_RES] = "REL_HWHEEL_HI_RES", | ^~~~~~~~~~~~~~~~~ event-names.h:16:6: error: ‘EV_FF’ undeclared here (not in a function) 16 | [EV_FF] = "EV_FF", | ^~~~~ libevdev-uinput.c:55:24: error: ‘UI_ABS_SETUP’ undeclared (first use in this function) 55 | rc = ioctl(fd, UI_ABS_SETUP, &abs_setup); | ^~~~~~~~~~~~ libevdev-uinput.c:50:33: warning: unused variable ‘abs_setup’ [-Wunused-variable] 50 | struct uinput_abs_setup abs_setup = {0}; | ^~~~~~~~~ libevdev-uinput.c: At top level: libevdev-uinput.c:60:55: warning: ‘struct uinput_user_dev’ declared inside parameter list will not be visible outside of this definition or declaration 60 | set_evbits(const struct libevdev *dev, int fd, struct uinput_user_dev *uidev) | ^~~~~~~~~~~~~~~ event-names.h:17:6: error: ‘EV_PWR’ undeclared here (not in a function) 17 | [EV_PWR] = "EV_PWR", | ^~~~~~ event-names.h:39:35: error: ‘ABS_MAX’ undeclared here (not in a function) 39 | static const char * const abs_map[ABS_MAX + 1] = { | ^~~~~~~ event-names.h:40:6: error: ‘ABS_X’ undeclared here (not in a function) 40 | [ABS_X] = "ABS_X", | ^~~~~ libevdev-uinput.c: In function ‘set_evbits’: event-names.h:41:6: error: ‘ABS_Y’ undeclared here (not in a function) 41 | [ABS_Y] = "ABS_Y", | ^~~~~ libevdev-uinput.c:74:32: error: ‘UI_SET_EVBIT’ undeclared (first use in this function); did you mean ‘UI_SET_PROPBIT’? 74 | rc = ioctl(fd, UI_SET_EVBIT, type); | ^~~~~~~~~~~~ | UI_SET_PROPBIT event-names.h:18:6: error: ‘EV_FF_STATUS’ undeclared here (not in a function) 18 | [EV_FF_STATUS] = "EV_FF_STATUS", | ^~~~~~~~~~~~ event-names.h:42:6: error: ‘ABS_Z’ undeclared here (not in a function) 42 | [ABS_Z] = "ABS_Z", | ^~~~~ libevdev-uinput.c:79:29: error: ‘EV_REP’ undeclared (first use in this function) 79 | if (type == EV_REP) | ^~~~~~ event-names.h:43:6: error: ‘ABS_RX’ undeclared here (not in a function) 43 | [ABS_RX] = "ABS_RX", | ^~~~~~ event-names.h:22:35: error: ‘REL_MAX’ undeclared here (not in a function) 22 | static const char * const rel_map[REL_MAX + 1] = { | ^~~~~~~ libevdev-uinput.c:87:30: error: ‘EV_KEY’ undeclared (first use in this function) 87 | case EV_KEY: uinput_bit = UI_SET_KEYBIT; break; | ^~~~~~ event-names.h:44:6: error: ‘ABS_RY’ undeclared here (not in a function) 44 | [ABS_RY] = "ABS_RY", | ^~~~~~ event-names.h:23:6: error: ‘REL_X’ undeclared here (not in a function) 23 | [REL_X] = "REL_X", | ^~~~~ event-names.h:45:6: error: ‘ABS_RZ’ undeclared here (not in a function) 45 | [ABS_RZ] = "ABS_RZ", | ^~~~~~ event-names.h:24:6: error: ‘REL_Y’ undeclared here (not in a function) 24 | [REL_Y] = "REL_Y", | ^~~~~ event-names.h:25:6: error: ‘REL_Z’ undeclared here (not in a function) 25 | [REL_Z] = "REL_Z", | ^~~~~ libevdev-uinput.c:87:51: error: ‘UI_SET_KEYBIT’ undeclared (first use in this function); did you mean ‘UI_SET_PROPBIT’? 87 | case EV_KEY: uinput_bit = UI_SET_KEYBIT; break; | ^~~~~~~~~~~~~ | UI_SET_PROPBIT event-names.h:46:6: error: ‘ABS_THROTTLE’ undeclared here (not in a function) 46 | [ABS_THROTTLE] = "ABS_THROTTLE", | ^~~~~~~~~~~~ event-names.h:26:6: error: ‘REL_RX’ undeclared here (not in a function) 26 | [REL_RX] = "REL_RX", | ^~~~~~ libevdev-uinput.c:88:30: error: ‘EV_REL’ undeclared (first use in this function) 88 | case EV_REL: uinput_bit = UI_SET_RELBIT; break; | ^~~~~~ event-names.h:27:6: error: ‘REL_RY’ undeclared here (not in a function) 27 | [REL_RY] = "REL_RY", | ^~~~~~ event-names.h:47:6: error: ‘ABS_RUDDER’ undeclared here (not in a function) 47 | [ABS_RUDDER] = "ABS_RUDDER", | ^~~~~~~~~~ event-names.h:28:6: error: ‘REL_RZ’ undeclared here (not in a function) 28 | [REL_RZ] = "REL_RZ", | ^~~~~~ event-names.h:48:6: error: ‘ABS_WHEEL’ undeclared here (not in a function) 48 | [ABS_WHEEL] = "ABS_WHEEL", | ^~~~~~~~~ libevdev-uinput.c:88:51: error: ‘UI_SET_RELBIT’ undeclared (first use in this function); did you mean ‘UI_SET_PROPBIT’? 88 | case EV_REL: uinput_bit = UI_SET_RELBIT; break; | ^~~~~~~~~~~~~ | UI_SET_PROPBIT event-names.h:49:6: error: ‘ABS_GAS’ undeclared here (not in a function) 49 | [ABS_GAS] = "ABS_GAS", | ^~~~~~~ libevdev-uinput.c:89:30: error: ‘EV_ABS’ undeclared (first use in this function) 89 | case EV_ABS: uinput_bit = UI_SET_ABSBIT; break; | ^~~~~~ event-names.h:29:6: error: ‘REL_HWHEEL’ undeclared here (not in a function) 29 | [REL_HWHEEL] = "REL_HWHEEL", | ^~~~~~~~~~ event-names.h:50:6: error: ‘ABS_BRAKE’ undeclared here (not in a function) 50 | [ABS_BRAKE] = "ABS_BRAKE", | ^~~~~~~~~ event-names.h:30:6: error: ‘REL_DIAL’ undeclared here (not in a function) 30 | [REL_DIAL] = "REL_DIAL", | ^~~~~~~~ event-names.h:51:6: error: ‘ABS_HAT0X’ undeclared here (not in a function) 51 | [ABS_HAT0X] = "ABS_HAT0X", | ^~~~~~~~~ libevdev-uinput.c:89:51: error: ‘UI_SET_ABSBIT’ undeclared (first use in this function); did you mean ‘UI_SET_PROPBIT’? 89 | case EV_ABS: uinput_bit = UI_SET_ABSBIT; break; | ^~~~~~~~~~~~~ | UI_SET_PROPBIT event-names.h:52:6: error: ‘ABS_HAT0Y’ undeclared here (not in a function) 52 | [ABS_HAT0Y] = "ABS_HAT0Y", | ^~~~~~~~~ event-names.h:31:6: error: ‘REL_WHEEL’ undeclared here (not in a function) 31 | [REL_WHEEL] = "REL_WHEEL", | ^~~~~~~~~ libevdev-uinput.c:90:30: error: ‘EV_MSC’ undeclared (first use in this function) 90 | case EV_MSC: uinput_bit = UI_SET_MSCBIT; break; | ^~~~~~ event-names.h:53:6: error: ‘ABS_HAT1X’ undeclared here (not in a function) 53 | [ABS_HAT1X] = "ABS_HAT1X", | ^~~~~~~~~ event-names.h:32:6: error: ‘REL_MISC’ undeclared here (not in a function) 32 | [REL_MISC] = "REL_MISC", | ^~~~~~~~ event-names.h:54:6: error: ‘ABS_HAT1Y’ undeclared here (not in a function) 54 | [ABS_HAT1Y] = "ABS_HAT1Y", | ^~~~~~~~~ libevdev-uinput.c:90:51: error: ‘UI_SET_MSCBIT’ undeclared (first use in this function); did you mean ‘UI_SET_PROPBIT’? 90 | case EV_MSC: uinput_bit = UI_SET_MSCBIT; break; | ^~~~~~~~~~~~~ | UI_SET_PROPBIT event-names.h:55:6: error: ‘ABS_HAT2X’ undeclared here (not in a function) 55 | [ABS_HAT2X] = "ABS_HAT2X", | ^~~~~~~~~ event-names.h:33:6: error: ‘REL_RESERVED’ undeclared here (not in a function) 33 | [REL_RESERVED] = "REL_RESERVED", | ^~~~~~~~~~~~ libevdev-uinput.c:91:30: error: ‘EV_LED’ undeclared (first use in this function) 91 | case EV_LED: uinput_bit = UI_SET_LEDBIT; break; | ^~~~~~ event-names.h:56:6: error: ‘ABS_HAT2Y’ undeclared here (not in a function) 56 | [ABS_HAT2Y] = "ABS_HAT2Y", | ^~~~~~~~~ event-names.h:57:6: error: ‘ABS_HAT3X’ undeclared here (not in a function) 57 | [ABS_HAT3X] = "ABS_HAT3X", | ^~~~~~~~~ event-names.h:34:6: error: ‘REL_WHEEL_HI_RES’ undeclared here (not in a function) 34 | [REL_WHEEL_HI_RES] = "REL_WHEEL_HI_RES", | ^~~~~~~~~~~~~~~~ libevdev-uinput.c:91:51: error: ‘UI_SET_LEDBIT’ undeclared (first use in this function); did you mean ‘UI_SET_PROPBIT’? 91 | case EV_LED: uinput_bit = UI_SET_LEDBIT; break; | ^~~~~~~~~~~~~ | UI_SET_PROPBIT event-names.h:58:6: error: ‘ABS_HAT3Y’ undeclared here (not in a function) 58 | [ABS_HAT3Y] = "ABS_HAT3Y", | ^~~~~~~~~ libevdev-uinput.c:92:30: error: ‘EV_SND’ undeclared (first use in this function) 92 | case EV_SND: uinput_bit = UI_SET_SNDBIT; break; | ^~~~~~ event-names.h:59:6: error: ‘ABS_PRESSURE’ undeclared here (not in a function) 59 | [ABS_PRESSURE] = "ABS_PRESSURE", | ^~~~~~~~~~~~ event-names.h:35:6: error: ‘REL_HWHEEL_HI_RES’ undeclared here (not in a function) 35 | [REL_HWHEEL_HI_RES] = "REL_HWHEEL_HI_RES", | ^~~~~~~~~~~~~~~~~ libevdev-uinput.c:92:51: error: ‘UI_SET_SNDBIT’ undeclared (first use in this function); did you mean ‘UI_SET_PROPBIT’? 92 | case EV_SND: uinput_bit = UI_SET_SNDBIT; break; | ^~~~~~~~~~~~~ | UI_SET_PROPBIT event-names.h:60:6: error: ‘ABS_DISTANCE’ undeclared here (not in a function) 60 | [ABS_DISTANCE] = "ABS_DISTANCE", | ^~~~~~~~~~~~ event-names.h:39:35: error: ‘ABS_MAX’ undeclared here (not in a function) 39 | static const char * const abs_map[ABS_MAX + 1] = { | ^~~~~~~ libevdev-uinput.c:93:30: error: ‘EV_FF’ undeclared (first use in this function) 93 | case EV_FF: uinput_bit = UI_SET_FFBIT; break; | ^~~~~ event-names.h:40:6: error: ‘ABS_X’ undeclared here (not in a function) 40 | [ABS_X] = "ABS_X", | ^~~~~ event-names.h:61:6: error: ‘ABS_TILT_X’ undeclared here (not in a function) 61 | [ABS_TILT_X] = "ABS_TILT_X", | ^~~~~~~~~~ event-names.h:41:6: error: ‘ABS_Y’ undeclared here (not in a function) 41 | [ABS_Y] = "ABS_Y", | ^~~~~ event-names.h:42:6: error: ‘ABS_Z’ undeclared here (not in a function) 42 | [ABS_Z] = "ABS_Z", | ^~~~~ event-names.h:62:6: error: ‘ABS_TILT_Y’ undeclared here (not in a function) 62 | [ABS_TILT_Y] = "ABS_TILT_Y", | ^~~~~~~~~~ libevdev-uinput.c:93:50: error: ‘UI_SET_FFBIT’ undeclared (first use in this function); did you mean ‘UI_SET_PROPBIT’? 93 | case EV_FF: uinput_bit = UI_SET_FFBIT; break; | ^~~~~~~~~~~~ | UI_SET_PROPBIT event-names.h:43:6: error: ‘ABS_RX’ undeclared here (not in a function) 43 | [ABS_RX] = "ABS_RX", | ^~~~~~ libevdev-uinput.c:94:30: error: ‘EV_SW’ undeclared (first use in this function) 94 | case EV_SW: uinput_bit = UI_SET_SWBIT; break; | ^~~~~ event-names.h:44:6: error: ‘ABS_RY’ undeclared here (not in a function) 44 | [ABS_RY] = "ABS_RY", | ^~~~~~ event-names.h:63:6: error: ‘ABS_TOOL_WIDTH’ undeclared here (not in a function) 63 | [ABS_TOOL_WIDTH] = "ABS_TOOL_WIDTH", | ^~~~~~~~~~~~~~ event-names.h:45:6: error: ‘ABS_RZ’ undeclared here (not in a function) 45 | [ABS_RZ] = "ABS_RZ", | ^~~~~~ libevdev-uinput.c:94:50: error: ‘UI_SET_SWBIT’ undeclared (first use in this function); did you mean ‘UI_SET_PROPBIT’? 94 | case EV_SW: uinput_bit = UI_SET_SWBIT; break; | ^~~~~~~~~~~~ | UI_SET_PROPBIT event-names.h:64:6: error: ‘ABS_VOLUME’ undeclared here (not in a function) 64 | [ABS_VOLUME] = "ABS_VOLUME", | ^~~~~~~~~~ libevdev-uinput.c:118:46: error: invalid use of undefined type ‘struct uinput_user_dev’ 118 | uidev->absmin[code] = abs->minimum; | ^~ libevdev-uinput.c:118:66: error: invalid use of undefined type ‘const struct input_absinfo’ 118 | uidev->absmin[code] = abs->minimum; | ^~ libevdev-uinput.c:119:46: error: invalid use of undefined type ‘struct uinput_user_dev’ 119 | uidev->absmax[code] = abs->maximum; | ^~ libevdev-uinput.c:119:66: error: invalid use of undefined type ‘const struct input_absinfo’ 119 | uidev->absmax[code] = abs->maximum; | ^~ libevdev-uinput.c:120:46: error: invalid use of undefined type ‘struct uinput_user_dev’ 120 | uidev->absfuzz[code] = abs->fuzz; | ^~ libevdev-uinput.c:120:67: error: invalid use of undefined type ‘const struct input_absinfo’ 120 | uidev->absfuzz[code] = abs->fuzz; | ^~ libevdev-uinput.c:121:46: error: invalid use of undefined type ‘struct uinput_user_dev’ 121 | uidev->absflat[code] = abs->flat; | ^~ libevdev-uinput.c:121:67: error: invalid use of undefined type ‘const struct input_absinfo’ 121 | uidev->absflat[code] = abs->flat; | ^~ event-names.h:65:6: error: ‘ABS_MISC’ undeclared here (not in a function); did you mean ‘ABS_MT_CNT’? 65 | [ABS_MISC] = "ABS_MISC", | ^~~~~~~~ | ABS_MT_CNT event-names.h:46:6: error: ‘ABS_THROTTLE’ undeclared here (not in a function) 46 | [ABS_THROTTLE] = "ABS_THROTTLE", | ^~~~~~~~~~~~ event-names.h:66:6: error: ‘ABS_RESERVED’ undeclared here (not in a function) 66 | [ABS_RESERVED] = "ABS_RESERVED", | ^~~~~~~~~~~~ event-names.h:47:6: error: ‘ABS_RUDDER’ undeclared here (not in a function) 47 | [ABS_RUDDER] = "ABS_RUDDER", | ^~~~~~~~~~ libevdev-uinput.c: In function ‘set_props’: libevdev-uinput.c:140:32: error: ‘INPUT_PROP_MAX’ undeclared (first use in this function) 140 | for (prop = 0; prop <= INPUT_PROP_MAX; prop++) { | ^~~~~~~~~~~~~~ event-names.h:67:6: error: ‘ABS_MT_SLOT’ undeclared here (not in a function); did you mean ‘ABS_MT_CNT’? 67 | [ABS_MT_SLOT] = "ABS_MT_SLOT", | ^~~~~~~~~~~ | ABS_MT_CNT libevdev-uinput.c:29:24: error: implicit declaration of function ‘_IOW’ [-Wimplicit-function-declaration] 29 | #define UI_SET_PROPBIT _IOW(UINPUT_IOCTL_BASE, 110, int) | ^~~~ libevdev-uinput.c:144:32: note: in expansion of macro ‘UI_SET_PROPBIT’ 144 | rc = ioctl(fd, UI_SET_PROPBIT, prop); | ^~~~~~~~~~~~~~ libevdev-uinput.c:29:53: error: expected expression before ‘int’ 29 | #define UI_SET_PROPBIT _IOW(UINPUT_IOCTL_BASE, 110, int) | ^~~ libevdev-uinput.c:144:32: note: in expansion of macro ‘UI_SET_PROPBIT’ 144 | rc = ioctl(fd, UI_SET_PROPBIT, prop); | ^~~~~~~~~~~~~~ event-names.h:48:6: error: ‘ABS_WHEEL’ undeclared here (not in a function) 48 | [ABS_WHEEL] = "ABS_WHEEL", | ^~~~~~~~~ event-names.h:49:6: error: ‘ABS_GAS’ undeclared here (not in a function) 49 | [ABS_GAS] = "ABS_GAS", | ^~~~~~~ event-names.h:68:6: error: ‘ABS_MT_TOUCH_MAJOR’ undeclared here (not in a function) 68 | [ABS_MT_TOUCH_MAJOR] = "ABS_MT_TOUCH_MAJOR", | ^~~~~~~~~~~~~~~~~~ event-names.h:50:6: error: ‘ABS_BRAKE’ undeclared here (not in a function) 50 | [ABS_BRAKE] = "ABS_BRAKE", | ^~~~~~~~~ libevdev-uinput.c: In function ‘fetch_syspath_and_devnode’: libevdev-uinput.c:237:20: error: implicit declaration of function ‘UI_GET_SYSNAME’ [-Wimplicit-function-declaration] 237 | UI_GET_SYSNAME(sizeof(buf) - strlen(SYS_INPUT_DIR)), | ^~~~~~~~~~~~~~ event-names.h:51:6: error: ‘ABS_HAT0X’ undeclared here (not in a function) 51 | [ABS_HAT0X] = "ABS_HAT0X", | ^~~~~~~~~ libevdev-uinput.c: In function ‘uinput_create_write’: event-names.h:69:6: error: ‘ABS_MT_TOUCH_MINOR’ undeclared here (not in a function) 69 | [ABS_MT_TOUCH_MINOR] = "ABS_MT_TOUCH_MINOR", | ^~~~~~~~~~~~~~~~~~ libevdev-uinput.c:313:32: error: storage size of ‘uidev’ isn’t known 313 | struct uinput_user_dev uidev; | ^~~~~ event-names.h:52:6: error: ‘ABS_HAT0Y’ undeclared here (not in a function) 52 | [ABS_HAT0Y] = "ABS_HAT0Y", | ^~~~~~~~~ event-names.h:53:6: error: ‘ABS_HAT1X’ undeclared here (not in a function) 53 | [ABS_HAT1X] = "ABS_HAT1X", | ^~~~~~~~~ event-names.h:70:6: error: ‘ABS_MT_WIDTH_MAJOR’ undeclared here (not in a function) 70 | [ABS_MT_WIDTH_MAJOR] = "ABS_MT_WIDTH_MAJOR", | ^~~~~~~~~~~~~~~~~~ libevdev-uinput.c:317:53: error: ‘UINPUT_MAX_NAME_SIZE’ undeclared (first use in this function) 317 | strncpy(uidev.name, libevdev_get_name(dev), UINPUT_MAX_NAME_SIZE - 1); | ^~~~~~~~~~~~~~~~~~~~ event-names.h:54:6: error: ‘ABS_HAT1Y’ undeclared here (not in a function) 54 | [ABS_HAT1Y] = "ABS_HAT1Y", | ^~~~~~~~~ libevdev-uinput.c:313:32: warning: unused variable ‘uidev’ [-Wunused-variable] 313 | struct uinput_user_dev uidev; | ^~~~~ libevdev-uinput.c: In function ‘uinput_create_DEV_SETUP’: libevdev-uinput.c:347:29: error: storage size of ‘setup’ isn’t known 347 | struct uinput_setup setup; | ^~~~~ event-names.h:71:6: error: ‘ABS_MT_WIDTH_MINOR’ undeclared here (not in a function) 71 | [ABS_MT_WIDTH_MINOR] = "ABS_MT_WIDTH_MINOR", | ^~~~~~~~~~~~~~~~~~ event-names.h:55:6: error: ‘ABS_HAT2X’ undeclared here (not in a function) 55 | [ABS_HAT2X] = "ABS_HAT2X", | ^~~~~~~~~ event-names.h:56:6: error: ‘ABS_HAT2Y’ undeclared here (not in a function) 56 | [ABS_HAT2Y] = "ABS_HAT2Y", | ^~~~~~~~~ event-names.h:72:6: error: ‘ABS_MT_ORIENTATION’ undeclared here (not in a function) 72 | [ABS_MT_ORIENTATION] = "ABS_MT_ORIENTATION", | ^~~~~~~~~~~~~~~~~~ event-names.h:57:6: error: ‘ABS_HAT3X’ undeclared here (not in a function) 57 | [ABS_HAT3X] = "ABS_HAT3X", | ^~~~~~~~~ libevdev-uinput.c:355:53: error: ‘UINPUT_MAX_NAME_SIZE’ undeclared (first use in this function) 355 | strncpy(setup.name, libevdev_get_name(dev), UINPUT_MAX_NAME_SIZE - 1); | ^~~~~~~~~~~~~~~~~~~~ libevdev-uinput.c:360:61: error: ‘EV_FF’ undeclared (first use in this function) 360 | setup.ff_effects_max = libevdev_has_event_type(dev, EV_FF) ? 10 : 0; | ^~~~~ event-names.h:73:6: error: ‘ABS_MT_POSITION_X’ undeclared here (not in a function) 73 | [ABS_MT_POSITION_X] = "ABS_MT_POSITION_X", | ^~~~~~~~~~~~~~~~~ event-names.h:58:6: error: ‘ABS_HAT3Y’ undeclared here (not in a function) 58 | [ABS_HAT3Y] = "ABS_HAT3Y", | ^~~~~~~~~ libevdev-uinput.c:362:24: error: ‘UI_DEV_SETUP’ undeclared (first use in this function) 362 | rc = ioctl(fd, UI_DEV_SETUP, &setup); | ^~~~~~~~~~~~ event-names.h:59:6: error: ‘ABS_PRESSURE’ undeclared here (not in a function) 59 | [ABS_PRESSURE] = "ABS_PRESSURE", | ^~~~~~~~~~~~ event-names.h:74:6: error: ‘ABS_MT_POSITION_Y’ undeclared here (not in a function) 74 | [ABS_MT_POSITION_Y] = "ABS_MT_POSITION_Y", | ^~~~~~~~~~~~~~~~~ libevdev-uinput.c:347:29: warning: unused variable ‘setup’ [-Wunused-variable] 347 | struct uinput_setup setup; | ^~~~~ event-names.h:60:6: error: ‘ABS_DISTANCE’ undeclared here (not in a function) 60 | [ABS_DISTANCE] = "ABS_DISTANCE", | ^~~~~~~~~~~~ event-names.h:75:6: error: ‘ABS_MT_TOOL_TYPE’ undeclared here (not in a function) 75 | [ABS_MT_TOOL_TYPE] = "ABS_MT_TOOL_TYPE", | ^~~~~~~~~~~~~~~~ libevdev-uinput.c: In function ‘libevdev_uinput_create_from_device’: libevdev-uinput.c:393:23: error: ‘UI_GET_VERSION’ undeclared (first use in this function) 393 | if (ioctl(fd, UI_GET_VERSION, &uinput_version) == 0 && | ^~~~~~~~~~~~~~ event-names.h:61:6: error: ‘ABS_TILT_X’ undeclared here (not in a function) 61 | [ABS_TILT_X] = "ABS_TILT_X", | ^~~~~~~~~~ event-names.h:76:6: error: ‘ABS_MT_BLOB_ID’ undeclared here (not in a function) 76 | [ABS_MT_BLOB_ID] = "ABS_MT_BLOB_ID", | ^~~~~~~~~~~~~~ event-names.h:62:6: error: ‘ABS_TILT_Y’ undeclared here (not in a function) 62 | [ABS_TILT_Y] = "ABS_TILT_Y", | ^~~~~~~~~~ libevdev-uinput.c:411:24: error: ‘UI_DEV_CREATE’ undeclared (first use in this function) 411 | rc = ioctl(fd, UI_DEV_CREATE, NULL); | ^~~~~~~~~~~~~ event-names.h:77:6: error: ‘ABS_MT_TRACKING_ID’ undeclared here (not in a function) 77 | [ABS_MT_TRACKING_ID] = "ABS_MT_TRACKING_ID", | ^~~~~~~~~~~~~~~~~~ event-names.h:63:6: error: ‘ABS_TOOL_WIDTH’ undeclared here (not in a function); did you mean ‘BOOL_WIDTH’? 63 | [ABS_TOOL_WIDTH] = "ABS_TOOL_WIDTH", | ^~~~~~~~~~~~~~ | BOOL_WIDTH event-names.h:78:6: error: ‘ABS_MT_PRESSURE’ undeclared here (not in a function) 78 | [ABS_MT_PRESSURE] = "ABS_MT_PRESSURE", | ^~~~~~~~~~~~~~~ event-names.h:64:6: error: ‘ABS_VOLUME’ undeclared here (not in a function) 64 | [ABS_VOLUME] = "ABS_VOLUME", | ^~~~~~~~~~ libevdev-uinput.c: In function ‘libevdev_uinput_destroy’: libevdev-uinput.c:443:45: error: ‘UI_DEV_DESTROY’ undeclared (first use in this function) 443 | (void)ioctl(uinput_dev->fd, UI_DEV_DESTROY, NULL); | ^~~~~~~~~~~~~~ libevdev-uinput.c: In function ‘libevdev_uinput_write_event’: libevdev-uinput.c:471:16: error: variable ‘ev’ has initializer but incomplete type 471 | struct input_event ev = { {0,0}, type, code, value }; | ^~~~~~~~~~~ event-names.h:79:6: error: ‘ABS_MT_DISTANCE’ undeclared here (not in a function) 79 | [ABS_MT_DISTANCE] = "ABS_MT_DISTANCE", | ^~~~~~~~~~~~~~~ event-names.h:65:6: error: ‘ABS_MISC’ undeclared here (not in a function); did you mean ‘ABS_MT_CNT’? 65 | [ABS_MISC] = "ABS_MISC", | ^~~~~~~~ | ABS_MT_CNT libevdev-uinput.c:471:35: error: extra brace group at end of initializer 471 | struct input_event ev = { {0,0}, type, code, value }; | ^ libevdev-uinput.c:471:35: note: (near initialization for ‘ev’) libevdev-uinput.c:471:35: warning: excess elements in struct initializer libevdev-uinput.c:471:35: note: (near initialization for ‘ev’) libevdev-uinput.c:471:42: warning: excess elements in struct initializer 471 | struct input_event ev = { {0,0}, type, code, value }; | ^~~~ libevdev-uinput.c:471:42: note: (near initialization for ‘ev’) libevdev-uinput.c:471:48: warning: excess elements in struct initializer 471 | struct input_event ev = { {0,0}, type, code, value }; | ^~~~ libevdev-uinput.c:471:48: note: (near initialization for ‘ev’) libevdev-uinput.c:471:54: warning: excess elements in struct initializer 471 | struct input_event ev = { {0,0}, type, code, value }; | ^~~~~ libevdev-uinput.c:471:54: note: (near initialization for ‘ev’) libevdev-uinput.c:471:28: error: storage size of ‘ev’ isn’t known 471 | struct input_event ev = { {0,0}, type, code, value }; | ^~ event-names.h:80:6: error: ‘ABS_MT_TOOL_X’ undeclared here (not in a function); did you mean ‘ABS_MT_MAX’? 80 | [ABS_MT_TOOL_X] = "ABS_MT_TOOL_X", | ^~~~~~~~~~~~~ | ABS_MT_MAX event-names.h:66:6: error: ‘ABS_RESERVED’ undeclared here (not in a function) 66 | [ABS_RESERVED] = "ABS_RESERVED", | ^~~~~~~~~~~~ libevdev-uinput.c:475:20: error: ‘EV_MAX’ undeclared (first use in this function) 475 | if (type > EV_MAX) | ^~~~~~ libevdev-uinput.c:471:28: warning: unused variable ‘ev’ [-Wunused-variable] 471 | struct input_event ev = { {0,0}, type, code, value }; | ^~ event-names.h:81:6: error: ‘ABS_MT_TOOL_Y’ undeclared here (not in a function) 81 | [ABS_MT_TOOL_Y] = "ABS_MT_TOOL_Y", | ^~~~~~~~~~~~~ event-names.h:67:6: error: ‘ABS_MT_SLOT’ undeclared here (not in a function); did you mean ‘ABS_MT_CNT’? 67 | [ABS_MT_SLOT] = "ABS_MT_SLOT", | ^~~~~~~~~~~ | ABS_MT_CNT event-names.h:85:35: error: ‘KEY_MAX’ undeclared here (not in a function) 85 | static const char * const key_map[KEY_MAX + 1] = { | ^~~~~~~ event-names.h:86:6: error: ‘KEY_RESERVED’ undeclared here (not in a function) 86 | [KEY_RESERVED] = "KEY_RESERVED", | ^~~~~~~~~~~~ event-names.h:68:6: error: ‘ABS_MT_TOUCH_MAJOR’ undeclared here (not in a function) 68 | [ABS_MT_TOUCH_MAJOR] = "ABS_MT_TOUCH_MAJOR", | ^~~~~~~~~~~~~~~~~~ event-names.h:87:6: error: ‘KEY_ESC’ undeclared here (not in a function) 87 | [KEY_ESC] = "KEY_ESC", | ^~~~~~~ event-names.h:88:6: error: ‘KEY_1’ undeclared here (not in a function) 88 | [KEY_1] = "KEY_1", | ^~~~~ event-names.h:89:6: error: ‘KEY_2’ undeclared here (not in a function) 89 | [KEY_2] = "KEY_2", | ^~~~~ event-names.h:90:6: error: ‘KEY_3’ undeclared here (not in a function) 90 | [KEY_3] = "KEY_3", | ^~~~~ event-names.h:69:6: error: ‘ABS_MT_TOUCH_MINOR’ undeclared here (not in a function) 69 | [ABS_MT_TOUCH_MINOR] = "ABS_MT_TOUCH_MINOR", | ^~~~~~~~~~~~~~~~~~ event-names.h:91:6: error: ‘KEY_4’ undeclared here (not in a function) 91 | [KEY_4] = "KEY_4", | ^~~~~ event-names.h:92:6: error: ‘KEY_5’ undeclared here (not in a function) 92 | [KEY_5] = "KEY_5", | ^~~~~ event-names.h:93:6: error: ‘KEY_6’ undeclared here (not in a function) 93 | [KEY_6] = "KEY_6", | ^~~~~ make[3]: *** [Makefile:487: libevdev-uinput.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... event-names.h:94:6: error: ‘KEY_7’ undeclared here (not in a function) 94 | [KEY_7] = "KEY_7", | ^~~~~ event-names.h:70:6: error: ‘ABS_MT_WIDTH_MAJOR’ undeclared here (not in a function) 70 | [ABS_MT_WIDTH_MAJOR] = "ABS_MT_WIDTH_MAJOR", | ^~~~~~~~~~~~~~~~~~ event-names.h:95:6: error: ‘KEY_8’ undeclared here (not in a function) 95 | [KEY_8] = "KEY_8", | ^~~~~ event-names.h:96:6: error: ‘KEY_9’ undeclared here (not in a function) 96 | [KEY_9] = "KEY_9", | ^~~~~ event-names.h:97:6: error: ‘KEY_0’ undeclared here (not in a function) 97 | [KEY_0] = "KEY_0", | ^~~~~ event-names.h:98:6: error: ‘KEY_MINUS’ undeclared here (not in a function) 98 | [KEY_MINUS] = "KEY_MINUS", | ^~~~~~~~~ event-names.h:71:6: error: ‘ABS_MT_WIDTH_MINOR’ undeclared here (not in a function) 71 | [ABS_MT_WIDTH_MINOR] = "ABS_MT_WIDTH_MINOR", | ^~~~~~~~~~~~~~~~~~ event-names.h:99:6: error: ‘KEY_EQUAL’ undeclared here (not in a function) 99 | [KEY_EQUAL] = "KEY_EQUAL", | ^~~~~~~~~ event-names.h:72:6: error: ‘ABS_MT_ORIENTATION’ undeclared here (not in a function) 72 | [ABS_MT_ORIENTATION] = "ABS_MT_ORIENTATION", | ^~~~~~~~~~~~~~~~~~ event-names.h:100:6: error: ‘KEY_BACKSPACE’ undeclared here (not in a function) 100 | [KEY_BACKSPACE] = "KEY_BACKSPACE", | ^~~~~~~~~~~~~ event-names.h:101:6: error: ‘KEY_TAB’ undeclared here (not in a function) 101 | [KEY_TAB] = "KEY_TAB", | ^~~~~~~ event-names.h:102:6: error: ‘KEY_Q’ undeclared here (not in a function) 102 | [KEY_Q] = "KEY_Q", | ^~~~~ event-names.h:103:6: error: ‘KEY_W’ undeclared here (not in a function) 103 | [KEY_W] = "KEY_W", | ^~~~~ event-names.h:73:6: error: ‘ABS_MT_POSITION_X’ undeclared here (not in a function) 73 | [ABS_MT_POSITION_X] = "ABS_MT_POSITION_X", | ^~~~~~~~~~~~~~~~~ event-names.h:104:6: error: ‘KEY_E’ undeclared here (not in a function) 104 | [KEY_E] = "KEY_E", | ^~~~~ event-names.h:105:6: error: ‘KEY_R’ undeclared here (not in a function) 105 | [KEY_R] = "KEY_R", | ^~~~~ event-names.h:106:6: error: ‘KEY_T’ undeclared here (not in a function) 106 | [KEY_T] = "KEY_T", | ^~~~~ event-names.h:107:6: error: ‘KEY_Y’ undeclared here (not in a function) 107 | [KEY_Y] = "KEY_Y", | ^~~~~ event-names.h:74:6: error: ‘ABS_MT_POSITION_Y’ undeclared here (not in a function) 74 | [ABS_MT_POSITION_Y] = "ABS_MT_POSITION_Y", | ^~~~~~~~~~~~~~~~~ event-names.h:108:6: error: ‘KEY_U’ undeclared here (not in a function) 108 | [KEY_U] = "KEY_U", | ^~~~~ event-names.h:109:6: error: ‘KEY_I’ undeclared here (not in a function) 109 | [KEY_I] = "KEY_I", | ^~~~~ event-names.h:110:6: error: ‘KEY_O’ undeclared here (not in a function) 110 | [KEY_O] = "KEY_O", | ^~~~~ event-names.h:111:6: error: ‘KEY_P’ undeclared here (not in a function) 111 | [KEY_P] = "KEY_P", | ^~~~~ event-names.h:75:6: error: ‘ABS_MT_TOOL_TYPE’ undeclared here (not in a function) 75 | [ABS_MT_TOOL_TYPE] = "ABS_MT_TOOL_TYPE", | ^~~~~~~~~~~~~~~~ event-names.h:112:6: error: ‘KEY_LEFTBRACE’ undeclared here (not in a function) 112 | [KEY_LEFTBRACE] = "KEY_LEFTBRACE", | ^~~~~~~~~~~~~ event-names.h:76:6: error: ‘ABS_MT_BLOB_ID’ undeclared here (not in a function) 76 | [ABS_MT_BLOB_ID] = "ABS_MT_BLOB_ID", | ^~~~~~~~~~~~~~ event-names.h:113:6: error: ‘KEY_RIGHTBRACE’ undeclared here (not in a function) 113 | [KEY_RIGHTBRACE] = "KEY_RIGHTBRACE", | ^~~~~~~~~~~~~~ event-names.h:114:6: error: ‘KEY_ENTER’ undeclared here (not in a function) 114 | [KEY_ENTER] = "KEY_ENTER", | ^~~~~~~~~ event-names.h:77:6: error: ‘ABS_MT_TRACKING_ID’ undeclared here (not in a function) 77 | [ABS_MT_TRACKING_ID] = "ABS_MT_TRACKING_ID", | ^~~~~~~~~~~~~~~~~~ event-names.h:115:6: error: ‘KEY_LEFTCTRL’ undeclared here (not in a function) 115 | [KEY_LEFTCTRL] = "KEY_LEFTCTRL", | ^~~~~~~~~~~~ event-names.h:116:6: error: ‘KEY_A’ undeclared here (not in a function) 116 | [KEY_A] = "KEY_A", | ^~~~~ event-names.h:78:6: error: ‘ABS_MT_PRESSURE’ undeclared here (not in a function) 78 | [ABS_MT_PRESSURE] = "ABS_MT_PRESSURE", | ^~~~~~~~~~~~~~~ event-names.h:117:6: error: ‘KEY_S’ undeclared here (not in a function) 117 | [KEY_S] = "KEY_S", | ^~~~~ event-names.h:118:6: error: ‘KEY_D’ undeclared here (not in a function) 118 | [KEY_D] = "KEY_D", | ^~~~~ event-names.h:119:6: error: ‘KEY_F’ undeclared here (not in a function) 119 | [KEY_F] = "KEY_F", | ^~~~~ event-names.h:79:6: error: ‘ABS_MT_DISTANCE’ undeclared here (not in a function) 79 | [ABS_MT_DISTANCE] = "ABS_MT_DISTANCE", | ^~~~~~~~~~~~~~~ event-names.h:120:6: error: ‘KEY_G’ undeclared here (not in a function) 120 | [KEY_G] = "KEY_G", | ^~~~~ event-names.h:121:6: error: ‘KEY_H’ undeclared here (not in a function) 121 | [KEY_H] = "KEY_H", | ^~~~~ event-names.h:122:6: error: ‘KEY_J’ undeclared here (not in a function) 122 | [KEY_J] = "KEY_J", | ^~~~~ event-names.h:123:6: error: ‘KEY_K’ undeclared here (not in a function) 123 | [KEY_K] = "KEY_K", | ^~~~~ event-names.h:80:6: error: ‘ABS_MT_TOOL_X’ undeclared here (not in a function); did you mean ‘ABS_MT_MAX’? 80 | [ABS_MT_TOOL_X] = "ABS_MT_TOOL_X", | ^~~~~~~~~~~~~ | ABS_MT_MAX event-names.h:124:6: error: ‘KEY_L’ undeclared here (not in a function) 124 | [KEY_L] = "KEY_L", | ^~~~~ event-names.h:81:6: error: ‘ABS_MT_TOOL_Y’ undeclared here (not in a function) 81 | [ABS_MT_TOOL_Y] = "ABS_MT_TOOL_Y", | ^~~~~~~~~~~~~ event-names.h:125:6: error: ‘KEY_SEMICOLON’ undeclared here (not in a function) 125 | [KEY_SEMICOLON] = "KEY_SEMICOLON", | ^~~~~~~~~~~~~ event-names.h:85:35: error: ‘KEY_MAX’ undeclared here (not in a function) 85 | static const char * const key_map[KEY_MAX + 1] = { | ^~~~~~~ event-names.h:126:6: error: ‘KEY_APOSTROPHE’ undeclared here (not in a function) 126 | [KEY_APOSTROPHE] = "KEY_APOSTROPHE", | ^~~~~~~~~~~~~~ event-names.h:127:6: error: ‘KEY_GRAVE’ undeclared here (not in a function) 127 | [KEY_GRAVE] = "KEY_GRAVE", | ^~~~~~~~~ event-names.h:86:6: error: ‘KEY_RESERVED’ undeclared here (not in a function) 86 | [KEY_RESERVED] = "KEY_RESERVED", | ^~~~~~~~~~~~ event-names.h:87:6: error: ‘KEY_ESC’ undeclared here (not in a function) 87 | [KEY_ESC] = "KEY_ESC", | ^~~~~~~ event-names.h:128:6: error: ‘KEY_LEFTSHIFT’ undeclared here (not in a function) 128 | [KEY_LEFTSHIFT] = "KEY_LEFTSHIFT", | ^~~~~~~~~~~~~ event-names.h:88:6: error: ‘KEY_1’ undeclared here (not in a function) 88 | [KEY_1] = "KEY_1", | ^~~~~ event-names.h:89:6: error: ‘KEY_2’ undeclared here (not in a function) 89 | [KEY_2] = "KEY_2", | ^~~~~ event-names.h:129:6: error: ‘KEY_BACKSLASH’ undeclared here (not in a function) 129 | [KEY_BACKSLASH] = "KEY_BACKSLASH", | ^~~~~~~~~~~~~ event-names.h:90:6: error: ‘KEY_3’ undeclared here (not in a function) 90 | [KEY_3] = "KEY_3", | ^~~~~ event-names.h:130:6: error: ‘KEY_Z’ undeclared here (not in a function) 130 | [KEY_Z] = "KEY_Z", | ^~~~~ event-names.h:91:6: error: ‘KEY_4’ undeclared here (not in a function) 91 | [KEY_4] = "KEY_4", | ^~~~~ event-names.h:131:6: error: ‘KEY_X’ undeclared here (not in a function) 131 | [KEY_X] = "KEY_X", | ^~~~~ event-names.h:92:6: error: ‘KEY_5’ undeclared here (not in a function) 92 | [KEY_5] = "KEY_5", | ^~~~~ event-names.h:132:6: error: ‘KEY_C’ undeclared here (not in a function) 132 | [KEY_C] = "KEY_C", | ^~~~~ event-names.h:93:6: error: ‘KEY_6’ undeclared here (not in a function) 93 | [KEY_6] = "KEY_6", | ^~~~~ event-names.h:133:6: error: ‘KEY_V’ undeclared here (not in a function) 133 | [KEY_V] = "KEY_V", | ^~~~~ event-names.h:134:6: error: ‘KEY_B’ undeclared here (not in a function) 134 | [KEY_B] = "KEY_B", | ^~~~~ event-names.h:94:6: error: ‘KEY_7’ undeclared here (not in a function) 94 | [KEY_7] = "KEY_7", | ^~~~~ event-names.h:135:6: error: ‘KEY_N’ undeclared here (not in a function) 135 | [KEY_N] = "KEY_N", | ^~~~~ event-names.h:95:6: error: ‘KEY_8’ undeclared here (not in a function) 95 | [KEY_8] = "KEY_8", | ^~~~~ event-names.h:136:6: error: ‘KEY_M’ undeclared here (not in a function) 136 | [KEY_M] = "KEY_M", | ^~~~~ event-names.h:96:6: error: ‘KEY_9’ undeclared here (not in a function) 96 | [KEY_9] = "KEY_9", | ^~~~~ event-names.h:97:6: error: ‘KEY_0’ undeclared here (not in a function) 97 | [KEY_0] = "KEY_0", | ^~~~~ event-names.h:137:6: error: ‘KEY_COMMA’ undeclared here (not in a function) 137 | [KEY_COMMA] = "KEY_COMMA", | ^~~~~~~~~ event-names.h:138:6: error: ‘KEY_DOT’ undeclared here (not in a function) 138 | [KEY_DOT] = "KEY_DOT", | ^~~~~~~ event-names.h:98:6: error: ‘KEY_MINUS’ undeclared here (not in a function) 98 | [KEY_MINUS] = "KEY_MINUS", | ^~~~~~~~~ event-names.h:139:6: error: ‘KEY_SLASH’ undeclared here (not in a function) 139 | [KEY_SLASH] = "KEY_SLASH", | ^~~~~~~~~ event-names.h:99:6: error: ‘KEY_EQUAL’ undeclared here (not in a function) 99 | [KEY_EQUAL] = "KEY_EQUAL", | ^~~~~~~~~ event-names.h:140:6: error: ‘KEY_RIGHTSHIFT’ undeclared here (not in a function) 140 | [KEY_RIGHTSHIFT] = "KEY_RIGHTSHIFT", | ^~~~~~~~~~~~~~ event-names.h:100:6: error: ‘KEY_BACKSPACE’ undeclared here (not in a function) 100 | [KEY_BACKSPACE] = "KEY_BACKSPACE", | ^~~~~~~~~~~~~ event-names.h:141:6: error: ‘KEY_KPASTERISK’ undeclared here (not in a function) 141 | [KEY_KPASTERISK] = "KEY_KPASTERISK", | ^~~~~~~~~~~~~~ event-names.h:101:6: error: ‘KEY_TAB’ undeclared here (not in a function) 101 | [KEY_TAB] = "KEY_TAB", | ^~~~~~~ event-names.h:102:6: error: ‘KEY_Q’ undeclared here (not in a function) 102 | [KEY_Q] = "KEY_Q", | ^~~~~ event-names.h:142:6: error: ‘KEY_LEFTALT’ undeclared here (not in a function) 142 | [KEY_LEFTALT] = "KEY_LEFTALT", | ^~~~~~~~~~~ event-names.h:103:6: error: ‘KEY_W’ undeclared here (not in a function) 103 | [KEY_W] = "KEY_W", | ^~~~~ event-names.h:143:6: error: ‘KEY_SPACE’ undeclared here (not in a function) 143 | [KEY_SPACE] = "KEY_SPACE", | ^~~~~~~~~ event-names.h:104:6: error: ‘KEY_E’ undeclared here (not in a function) 104 | [KEY_E] = "KEY_E", | ^~~~~ event-names.h:105:6: error: ‘KEY_R’ undeclared here (not in a function) 105 | [KEY_R] = "KEY_R", | ^~~~~ event-names.h:144:6: error: ‘KEY_CAPSLOCK’ undeclared here (not in a function) 144 | [KEY_CAPSLOCK] = "KEY_CAPSLOCK", | ^~~~~~~~~~~~ event-names.h:106:6: error: ‘KEY_T’ undeclared here (not in a function) 106 | [KEY_T] = "KEY_T", | ^~~~~ event-names.h:145:6: error: ‘KEY_F1’ undeclared here (not in a function) 145 | [KEY_F1] = "KEY_F1", | ^~~~~~ event-names.h:107:6: error: ‘KEY_Y’ undeclared here (not in a function) 107 | [KEY_Y] = "KEY_Y", | ^~~~~ event-names.h:146:6: error: ‘KEY_F2’ undeclared here (not in a function) 146 | [KEY_F2] = "KEY_F2", | ^~~~~~ event-names.h:108:6: error: ‘KEY_U’ undeclared here (not in a function) 108 | [KEY_U] = "KEY_U", | ^~~~~ event-names.h:147:6: error: ‘KEY_F3’ undeclared here (not in a function) 147 | [KEY_F3] = "KEY_F3", | ^~~~~~ event-names.h:109:6: error: ‘KEY_I’ undeclared here (not in a function) 109 | [KEY_I] = "KEY_I", | ^~~~~ event-names.h:148:6: error: ‘KEY_F4’ undeclared here (not in a function) 148 | [KEY_F4] = "KEY_F4", | ^~~~~~ event-names.h:110:6: error: ‘KEY_O’ undeclared here (not in a function) 110 | [KEY_O] = "KEY_O", | ^~~~~ event-names.h:149:6: error: ‘KEY_F5’ undeclared here (not in a function) 149 | [KEY_F5] = "KEY_F5", | ^~~~~~ event-names.h:111:6: error: ‘KEY_P’ undeclared here (not in a function) 111 | [KEY_P] = "KEY_P", | ^~~~~ event-names.h:150:6: error: ‘KEY_F6’ undeclared here (not in a function) 150 | [KEY_F6] = "KEY_F6", | ^~~~~~ event-names.h:151:6: error: ‘KEY_F7’ undeclared here (not in a function) 151 | [KEY_F7] = "KEY_F7", | ^~~~~~ event-names.h:152:6: error: ‘KEY_F8’ undeclared here (not in a function) 152 | [KEY_F8] = "KEY_F8", | ^~~~~~ event-names.h:112:6: error: ‘KEY_LEFTBRACE’ undeclared here (not in a function) 112 | [KEY_LEFTBRACE] = "KEY_LEFTBRACE", | ^~~~~~~~~~~~~ event-names.h:153:6: error: ‘KEY_F9’ undeclared here (not in a function) 153 | [KEY_F9] = "KEY_F9", | ^~~~~~ event-names.h:154:6: error: ‘KEY_F10’ undeclared here (not in a function) 154 | [KEY_F10] = "KEY_F10", | ^~~~~~~ event-names.h:113:6: error: ‘KEY_RIGHTBRACE’ undeclared here (not in a function) 113 | [KEY_RIGHTBRACE] = "KEY_RIGHTBRACE", | ^~~~~~~~~~~~~~ event-names.h:155:6: error: ‘KEY_NUMLOCK’ undeclared here (not in a function) 155 | [KEY_NUMLOCK] = "KEY_NUMLOCK", | ^~~~~~~~~~~ event-names.h:114:6: error: ‘KEY_ENTER’ undeclared here (not in a function) 114 | [KEY_ENTER] = "KEY_ENTER", | ^~~~~~~~~ event-names.h:156:6: error: ‘KEY_SCROLLLOCK’ undeclared here (not in a function) 156 | [KEY_SCROLLLOCK] = "KEY_SCROLLLOCK", | ^~~~~~~~~~~~~~ event-names.h:157:6: error: ‘KEY_KP7’ undeclared here (not in a function) 157 | [KEY_KP7] = "KEY_KP7", | ^~~~~~~ event-names.h:115:6: error: ‘KEY_LEFTCTRL’ undeclared here (not in a function) 115 | [KEY_LEFTCTRL] = "KEY_LEFTCTRL", | ^~~~~~~~~~~~ event-names.h:158:6: error: ‘KEY_KP8’ undeclared here (not in a function) 158 | [KEY_KP8] = "KEY_KP8", | ^~~~~~~ event-names.h:116:6: error: ‘KEY_A’ undeclared here (not in a function) 116 | [KEY_A] = "KEY_A", | ^~~~~ event-names.h:159:6: error: ‘KEY_KP9’ undeclared here (not in a function) 159 | [KEY_KP9] = "KEY_KP9", | ^~~~~~~ event-names.h:117:6: error: ‘KEY_S’ undeclared here (not in a function) 117 | [KEY_S] = "KEY_S", | ^~~~~ event-names.h:118:6: error: ‘KEY_D’ undeclared here (not in a function) 118 | [KEY_D] = "KEY_D", | ^~~~~ event-names.h:160:6: error: ‘KEY_KPMINUS’ undeclared here (not in a function) 160 | [KEY_KPMINUS] = "KEY_KPMINUS", | ^~~~~~~~~~~ event-names.h:119:6: error: ‘KEY_F’ undeclared here (not in a function) 119 | [KEY_F] = "KEY_F", | ^~~~~ event-names.h:161:6: error: ‘KEY_KP4’ undeclared here (not in a function) 161 | [KEY_KP4] = "KEY_KP4", | ^~~~~~~ event-names.h:120:6: error: ‘KEY_G’ undeclared here (not in a function) 120 | [KEY_G] = "KEY_G", | ^~~~~ event-names.h:162:6: error: ‘KEY_KP5’ undeclared here (not in a function) 162 | [KEY_KP5] = "KEY_KP5", | ^~~~~~~ event-names.h:121:6: error: ‘KEY_H’ undeclared here (not in a function) 121 | [KEY_H] = "KEY_H", | ^~~~~ event-names.h:163:6: error: ‘KEY_KP6’ undeclared here (not in a function) 163 | [KEY_KP6] = "KEY_KP6", | ^~~~~~~ event-names.h:122:6: error: ‘KEY_J’ undeclared here (not in a function) 122 | [KEY_J] = "KEY_J", | ^~~~~ event-names.h:123:6: error: ‘KEY_K’ undeclared here (not in a function) 123 | [KEY_K] = "KEY_K", | ^~~~~ event-names.h:164:6: error: ‘KEY_KPPLUS’ undeclared here (not in a function) 164 | [KEY_KPPLUS] = "KEY_KPPLUS", | ^~~~~~~~~~ event-names.h:124:6: error: ‘KEY_L’ undeclared here (not in a function) 124 | [KEY_L] = "KEY_L", | ^~~~~ event-names.h:165:6: error: ‘KEY_KP1’ undeclared here (not in a function) 165 | [KEY_KP1] = "KEY_KP1", | ^~~~~~~ event-names.h:166:6: error: ‘KEY_KP2’ undeclared here (not in a function) 166 | [KEY_KP2] = "KEY_KP2", | ^~~~~~~ event-names.h:167:6: error: ‘KEY_KP3’ undeclared here (not in a function) 167 | [KEY_KP3] = "KEY_KP3", | ^~~~~~~ event-names.h:125:6: error: ‘KEY_SEMICOLON’ undeclared here (not in a function) 125 | [KEY_SEMICOLON] = "KEY_SEMICOLON", | ^~~~~~~~~~~~~ event-names.h:168:6: error: ‘KEY_KP0’ undeclared here (not in a function) 168 | [KEY_KP0] = "KEY_KP0", | ^~~~~~~ event-names.h:169:6: error: ‘KEY_KPDOT’ undeclared here (not in a function) 169 | [KEY_KPDOT] = "KEY_KPDOT", | ^~~~~~~~~ event-names.h:126:6: error: ‘KEY_APOSTROPHE’ undeclared here (not in a function) 126 | [KEY_APOSTROPHE] = "KEY_APOSTROPHE", | ^~~~~~~~~~~~~~ event-names.h:127:6: error: ‘KEY_GRAVE’ undeclared here (not in a function) 127 | [KEY_GRAVE] = "KEY_GRAVE", | ^~~~~~~~~ event-names.h:170:6: error: ‘KEY_ZENKAKUHANKAKU’ undeclared here (not in a function) 170 | [KEY_ZENKAKUHANKAKU] = "KEY_ZENKAKUHANKAKU", | ^~~~~~~~~~~~~~~~~~ event-names.h:171:6: error: ‘KEY_102ND’ undeclared here (not in a function) 171 | [KEY_102ND] = "KEY_102ND", | ^~~~~~~~~ event-names.h:172:6: error: ‘KEY_F11’ undeclared here (not in a function) 172 | [KEY_F11] = "KEY_F11", | ^~~~~~~ event-names.h:128:6: error: ‘KEY_LEFTSHIFT’ undeclared here (not in a function) 128 | [KEY_LEFTSHIFT] = "KEY_LEFTSHIFT", | ^~~~~~~~~~~~~ event-names.h:173:6: error: ‘KEY_F12’ undeclared here (not in a function) 173 | [KEY_F12] = "KEY_F12", | ^~~~~~~ event-names.h:174:6: error: ‘KEY_RO’ undeclared here (not in a function) 174 | [KEY_RO] = "KEY_RO", | ^~~~~~ event-names.h:129:6: error: ‘KEY_BACKSLASH’ undeclared here (not in a function) 129 | [KEY_BACKSLASH] = "KEY_BACKSLASH", | ^~~~~~~~~~~~~ event-names.h:130:6: error: ‘KEY_Z’ undeclared here (not in a function) 130 | [KEY_Z] = "KEY_Z", | ^~~~~ event-names.h:175:6: error: ‘KEY_KATAKANA’ undeclared here (not in a function) 175 | [KEY_KATAKANA] = "KEY_KATAKANA", | ^~~~~~~~~~~~ event-names.h:131:6: error: ‘KEY_X’ undeclared here (not in a function) 131 | [KEY_X] = "KEY_X", | ^~~~~ event-names.h:132:6: error: ‘KEY_C’ undeclared here (not in a function) 132 | [KEY_C] = "KEY_C", | ^~~~~ event-names.h:176:6: error: ‘KEY_HIRAGANA’ undeclared here (not in a function) 176 | [KEY_HIRAGANA] = "KEY_HIRAGANA", | ^~~~~~~~~~~~ event-names.h:133:6: error: ‘KEY_V’ undeclared here (not in a function) 133 | [KEY_V] = "KEY_V", | ^~~~~ event-names.h:177:6: error: ‘KEY_HENKAN’ undeclared here (not in a function) 177 | [KEY_HENKAN] = "KEY_HENKAN", | ^~~~~~~~~~ event-names.h:134:6: error: ‘KEY_B’ undeclared here (not in a function) 134 | [KEY_B] = "KEY_B", | ^~~~~ event-names.h:135:6: error: ‘KEY_N’ undeclared here (not in a function) 135 | [KEY_N] = "KEY_N", | ^~~~~ event-names.h:136:6: error: ‘KEY_M’ undeclared here (not in a function) 136 | [KEY_M] = "KEY_M", | ^~~~~ event-names.h:178:6: error: ‘KEY_KATAKANAHIRAGANA’ undeclared here (not in a function) 178 | [KEY_KATAKANAHIRAGANA] = "KEY_KATAKANAHIRAGANA", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:137:6: error: ‘KEY_COMMA’ undeclared here (not in a function) 137 | [KEY_COMMA] = "KEY_COMMA", | ^~~~~~~~~ event-names.h:179:6: error: ‘KEY_MUHENKAN’ undeclared here (not in a function) 179 | [KEY_MUHENKAN] = "KEY_MUHENKAN", | ^~~~~~~~~~~~ event-names.h:138:6: error: ‘KEY_DOT’ undeclared here (not in a function) 138 | [KEY_DOT] = "KEY_DOT", | ^~~~~~~ event-names.h:139:6: error: ‘KEY_SLASH’ undeclared here (not in a function) 139 | [KEY_SLASH] = "KEY_SLASH", | ^~~~~~~~~ event-names.h:180:6: error: ‘KEY_KPJPCOMMA’ undeclared here (not in a function) 180 | [KEY_KPJPCOMMA] = "KEY_KPJPCOMMA", | ^~~~~~~~~~~~~ event-names.h:181:6: error: ‘KEY_KPENTER’ undeclared here (not in a function) 181 | [KEY_KPENTER] = "KEY_KPENTER", | ^~~~~~~~~~~ event-names.h:140:6: error: ‘KEY_RIGHTSHIFT’ undeclared here (not in a function) 140 | [KEY_RIGHTSHIFT] = "KEY_RIGHTSHIFT", | ^~~~~~~~~~~~~~ event-names.h:182:6: error: ‘KEY_RIGHTCTRL’ undeclared here (not in a function) 182 | [KEY_RIGHTCTRL] = "KEY_RIGHTCTRL", | ^~~~~~~~~~~~~ event-names.h:141:6: error: ‘KEY_KPASTERISK’ undeclared here (not in a function) 141 | [KEY_KPASTERISK] = "KEY_KPASTERISK", | ^~~~~~~~~~~~~~ event-names.h:183:6: error: ‘KEY_KPSLASH’ undeclared here (not in a function) 183 | [KEY_KPSLASH] = "KEY_KPSLASH", | ^~~~~~~~~~~ event-names.h:184:6: error: ‘KEY_SYSRQ’ undeclared here (not in a function) 184 | [KEY_SYSRQ] = "KEY_SYSRQ", | ^~~~~~~~~ event-names.h:142:6: error: ‘KEY_LEFTALT’ undeclared here (not in a function) 142 | [KEY_LEFTALT] = "KEY_LEFTALT", | ^~~~~~~~~~~ event-names.h:185:6: error: ‘KEY_RIGHTALT’ undeclared here (not in a function) 185 | [KEY_RIGHTALT] = "KEY_RIGHTALT", | ^~~~~~~~~~~~ event-names.h:143:6: error: ‘KEY_SPACE’ undeclared here (not in a function) 143 | [KEY_SPACE] = "KEY_SPACE", | ^~~~~~~~~ event-names.h:186:6: error: ‘KEY_LINEFEED’ undeclared here (not in a function) 186 | [KEY_LINEFEED] = "KEY_LINEFEED", | ^~~~~~~~~~~~ event-names.h:144:6: error: ‘KEY_CAPSLOCK’ undeclared here (not in a function) 144 | [KEY_CAPSLOCK] = "KEY_CAPSLOCK", | ^~~~~~~~~~~~ event-names.h:187:6: error: ‘KEY_HOME’ undeclared here (not in a function) 187 | [KEY_HOME] = "KEY_HOME", | ^~~~~~~~ event-names.h:145:6: error: ‘KEY_F1’ undeclared here (not in a function) 145 | [KEY_F1] = "KEY_F1", | ^~~~~~ event-names.h:188:6: error: ‘KEY_UP’ undeclared here (not in a function) 188 | [KEY_UP] = "KEY_UP", | ^~~~~~ event-names.h:146:6: error: ‘KEY_F2’ undeclared here (not in a function) 146 | [KEY_F2] = "KEY_F2", | ^~~~~~ event-names.h:189:6: error: ‘KEY_PAGEUP’ undeclared here (not in a function) 189 | [KEY_PAGEUP] = "KEY_PAGEUP", | ^~~~~~~~~~ event-names.h:147:6: error: ‘KEY_F3’ undeclared here (not in a function) 147 | [KEY_F3] = "KEY_F3", | ^~~~~~ event-names.h:190:6: error: ‘KEY_LEFT’ undeclared here (not in a function) 190 | [KEY_LEFT] = "KEY_LEFT", | ^~~~~~~~ event-names.h:148:6: error: ‘KEY_F4’ undeclared here (not in a function) 148 | [KEY_F4] = "KEY_F4", | ^~~~~~ event-names.h:191:6: error: ‘KEY_RIGHT’ undeclared here (not in a function) 191 | [KEY_RIGHT] = "KEY_RIGHT", | ^~~~~~~~~ event-names.h:149:6: error: ‘KEY_F5’ undeclared here (not in a function) 149 | [KEY_F5] = "KEY_F5", | ^~~~~~ event-names.h:192:6: error: ‘KEY_END’ undeclared here (not in a function) 192 | [KEY_END] = "KEY_END", | ^~~~~~~ event-names.h:150:6: error: ‘KEY_F6’ undeclared here (not in a function) 150 | [KEY_F6] = "KEY_F6", | ^~~~~~ event-names.h:193:6: error: ‘KEY_DOWN’ undeclared here (not in a function) 193 | [KEY_DOWN] = "KEY_DOWN", | ^~~~~~~~ event-names.h:151:6: error: ‘KEY_F7’ undeclared here (not in a function) 151 | [KEY_F7] = "KEY_F7", | ^~~~~~ event-names.h:152:6: error: ‘KEY_F8’ undeclared here (not in a function) 152 | [KEY_F8] = "KEY_F8", | ^~~~~~ event-names.h:194:6: error: ‘KEY_PAGEDOWN’ undeclared here (not in a function) 194 | [KEY_PAGEDOWN] = "KEY_PAGEDOWN", | ^~~~~~~~~~~~ event-names.h:153:6: error: ‘KEY_F9’ undeclared here (not in a function) 153 | [KEY_F9] = "KEY_F9", | ^~~~~~ event-names.h:195:6: error: ‘KEY_INSERT’ undeclared here (not in a function) 195 | [KEY_INSERT] = "KEY_INSERT", | ^~~~~~~~~~ event-names.h:154:6: error: ‘KEY_F10’ undeclared here (not in a function) 154 | [KEY_F10] = "KEY_F10", | ^~~~~~~ event-names.h:196:6: error: ‘KEY_DELETE’ undeclared here (not in a function) 196 | [KEY_DELETE] = "KEY_DELETE", | ^~~~~~~~~~ event-names.h:155:6: error: ‘KEY_NUMLOCK’ undeclared here (not in a function) 155 | [KEY_NUMLOCK] = "KEY_NUMLOCK", | ^~~~~~~~~~~ event-names.h:197:6: error: ‘KEY_MACRO’ undeclared here (not in a function) 197 | [KEY_MACRO] = "KEY_MACRO", | ^~~~~~~~~ event-names.h:198:6: error: ‘KEY_MUTE’ undeclared here (not in a function) 198 | [KEY_MUTE] = "KEY_MUTE", | ^~~~~~~~ event-names.h:156:6: error: ‘KEY_SCROLLLOCK’ undeclared here (not in a function) 156 | [KEY_SCROLLLOCK] = "KEY_SCROLLLOCK", | ^~~~~~~~~~~~~~ event-names.h:199:6: error: ‘KEY_VOLUMEDOWN’ undeclared here (not in a function) 199 | [KEY_VOLUMEDOWN] = "KEY_VOLUMEDOWN", | ^~~~~~~~~~~~~~ event-names.h:157:6: error: ‘KEY_KP7’ undeclared here (not in a function) 157 | [KEY_KP7] = "KEY_KP7", | ^~~~~~~ event-names.h:158:6: error: ‘KEY_KP8’ undeclared here (not in a function) 158 | [KEY_KP8] = "KEY_KP8", | ^~~~~~~ event-names.h:200:6: error: ‘KEY_VOLUMEUP’ undeclared here (not in a function) 200 | [KEY_VOLUMEUP] = "KEY_VOLUMEUP", | ^~~~~~~~~~~~ event-names.h:159:6: error: ‘KEY_KP9’ undeclared here (not in a function) 159 | [KEY_KP9] = "KEY_KP9", | ^~~~~~~ event-names.h:201:6: error: ‘KEY_POWER’ undeclared here (not in a function) 201 | [KEY_POWER] = "KEY_POWER", | ^~~~~~~~~ event-names.h:202:6: error: ‘KEY_KPEQUAL’ undeclared here (not in a function) 202 | [KEY_KPEQUAL] = "KEY_KPEQUAL", | ^~~~~~~~~~~ event-names.h:160:6: error: ‘KEY_KPMINUS’ undeclared here (not in a function) 160 | [KEY_KPMINUS] = "KEY_KPMINUS", | ^~~~~~~~~~~ event-names.h:161:6: error: ‘KEY_KP4’ undeclared here (not in a function) 161 | [KEY_KP4] = "KEY_KP4", | ^~~~~~~ event-names.h:203:6: error: ‘KEY_KPPLUSMINUS’ undeclared here (not in a function) 203 | [KEY_KPPLUSMINUS] = "KEY_KPPLUSMINUS", | ^~~~~~~~~~~~~~~ event-names.h:162:6: error: ‘KEY_KP5’ undeclared here (not in a function) 162 | [KEY_KP5] = "KEY_KP5", | ^~~~~~~ event-names.h:204:6: error: ‘KEY_PAUSE’ undeclared here (not in a function) 204 | [KEY_PAUSE] = "KEY_PAUSE", | ^~~~~~~~~ event-names.h:163:6: error: ‘KEY_KP6’ undeclared here (not in a function) 163 | [KEY_KP6] = "KEY_KP6", | ^~~~~~~ event-names.h:205:6: error: ‘KEY_SCALE’ undeclared here (not in a function) 205 | [KEY_SCALE] = "KEY_SCALE", | ^~~~~~~~~ event-names.h:164:6: error: ‘KEY_KPPLUS’ undeclared here (not in a function) 164 | [KEY_KPPLUS] = "KEY_KPPLUS", | ^~~~~~~~~~ event-names.h:206:6: error: ‘KEY_KPCOMMA’ undeclared here (not in a function) 206 | [KEY_KPCOMMA] = "KEY_KPCOMMA", | ^~~~~~~~~~~ event-names.h:165:6: error: ‘KEY_KP1’ undeclared here (not in a function) 165 | [KEY_KP1] = "KEY_KP1", | ^~~~~~~ event-names.h:207:6: error: ‘KEY_HANGEUL’ undeclared here (not in a function) 207 | [KEY_HANGEUL] = "KEY_HANGEUL", | ^~~~~~~~~~~ event-names.h:166:6: error: ‘KEY_KP2’ undeclared here (not in a function) 166 | [KEY_KP2] = "KEY_KP2", | ^~~~~~~ event-names.h:208:6: error: ‘KEY_HANJA’ undeclared here (not in a function) 208 | [KEY_HANJA] = "KEY_HANJA", | ^~~~~~~~~ event-names.h:167:6: error: ‘KEY_KP3’ undeclared here (not in a function) 167 | [KEY_KP3] = "KEY_KP3", | ^~~~~~~ event-names.h:209:6: error: ‘KEY_YEN’ undeclared here (not in a function) 209 | [KEY_YEN] = "KEY_YEN", | ^~~~~~~ event-names.h:168:6: error: ‘KEY_KP0’ undeclared here (not in a function) 168 | [KEY_KP0] = "KEY_KP0", | ^~~~~~~ event-names.h:210:6: error: ‘KEY_LEFTMETA’ undeclared here (not in a function) 210 | [KEY_LEFTMETA] = "KEY_LEFTMETA", | ^~~~~~~~~~~~ event-names.h:169:6: error: ‘KEY_KPDOT’ undeclared here (not in a function) 169 | [KEY_KPDOT] = "KEY_KPDOT", | ^~~~~~~~~ event-names.h:211:6: error: ‘KEY_RIGHTMETA’ undeclared here (not in a function) 211 | [KEY_RIGHTMETA] = "KEY_RIGHTMETA", | ^~~~~~~~~~~~~ event-names.h:170:6: error: ‘KEY_ZENKAKUHANKAKU’ undeclared here (not in a function) 170 | [KEY_ZENKAKUHANKAKU] = "KEY_ZENKAKUHANKAKU", | ^~~~~~~~~~~~~~~~~~ event-names.h:212:6: error: ‘KEY_COMPOSE’ undeclared here (not in a function) 212 | [KEY_COMPOSE] = "KEY_COMPOSE", | ^~~~~~~~~~~ event-names.h:171:6: error: ‘KEY_102ND’ undeclared here (not in a function) 171 | [KEY_102ND] = "KEY_102ND", | ^~~~~~~~~ event-names.h:213:6: error: ‘KEY_STOP’ undeclared here (not in a function) 213 | [KEY_STOP] = "KEY_STOP", | ^~~~~~~~ event-names.h:172:6: error: ‘KEY_F11’ undeclared here (not in a function) 172 | [KEY_F11] = "KEY_F11", | ^~~~~~~ event-names.h:214:6: error: ‘KEY_AGAIN’ undeclared here (not in a function); did you mean ‘EAGAIN’? 214 | [KEY_AGAIN] = "KEY_AGAIN", | ^~~~~~~~~ | EAGAIN event-names.h:173:6: error: ‘KEY_F12’ undeclared here (not in a function) 173 | [KEY_F12] = "KEY_F12", | ^~~~~~~ event-names.h:215:6: error: ‘KEY_PROPS’ undeclared here (not in a function) 215 | [KEY_PROPS] = "KEY_PROPS", | ^~~~~~~~~ event-names.h:174:6: error: ‘KEY_RO’ undeclared here (not in a function) 174 | [KEY_RO] = "KEY_RO", | ^~~~~~ event-names.h:216:6: error: ‘KEY_UNDO’ undeclared here (not in a function) 216 | [KEY_UNDO] = "KEY_UNDO", | ^~~~~~~~ event-names.h:217:6: error: ‘KEY_FRONT’ undeclared here (not in a function) 217 | [KEY_FRONT] = "KEY_FRONT", | ^~~~~~~~~ event-names.h:175:6: error: ‘KEY_KATAKANA’ undeclared here (not in a function) 175 | [KEY_KATAKANA] = "KEY_KATAKANA", | ^~~~~~~~~~~~ event-names.h:218:6: error: ‘KEY_COPY’ undeclared here (not in a function) 218 | [KEY_COPY] = "KEY_COPY", | ^~~~~~~~ event-names.h:219:6: error: ‘KEY_OPEN’ undeclared here (not in a function) 219 | [KEY_OPEN] = "KEY_OPEN", | ^~~~~~~~ event-names.h:176:6: error: ‘KEY_HIRAGANA’ undeclared here (not in a function) 176 | [KEY_HIRAGANA] = "KEY_HIRAGANA", | ^~~~~~~~~~~~ event-names.h:220:6: error: ‘KEY_PASTE’ undeclared here (not in a function) 220 | [KEY_PASTE] = "KEY_PASTE", | ^~~~~~~~~ event-names.h:177:6: error: ‘KEY_HENKAN’ undeclared here (not in a function) 177 | [KEY_HENKAN] = "KEY_HENKAN", | ^~~~~~~~~~ event-names.h:221:6: error: ‘KEY_FIND’ undeclared here (not in a function) 221 | [KEY_FIND] = "KEY_FIND", | ^~~~~~~~ event-names.h:222:6: error: ‘KEY_CUT’ undeclared here (not in a function) 222 | [KEY_CUT] = "KEY_CUT", | ^~~~~~~ event-names.h:223:6: error: ‘KEY_HELP’ undeclared here (not in a function) 223 | [KEY_HELP] = "KEY_HELP", | ^~~~~~~~ event-names.h:178:6: error: ‘KEY_KATAKANAHIRAGANA’ undeclared here (not in a function) 178 | [KEY_KATAKANAHIRAGANA] = "KEY_KATAKANAHIRAGANA", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:224:6: error: ‘KEY_MENU’ undeclared here (not in a function) 224 | [KEY_MENU] = "KEY_MENU", | ^~~~~~~~ event-names.h:225:6: error: ‘KEY_CALC’ undeclared here (not in a function) 225 | [KEY_CALC] = "KEY_CALC", | ^~~~~~~~ event-names.h:179:6: error: ‘KEY_MUHENKAN’ undeclared here (not in a function) 179 | [KEY_MUHENKAN] = "KEY_MUHENKAN", | ^~~~~~~~~~~~ event-names.h:226:6: error: ‘KEY_SETUP’ undeclared here (not in a function) 226 | [KEY_SETUP] = "KEY_SETUP", | ^~~~~~~~~ event-names.h:227:6: error: ‘KEY_SLEEP’ undeclared here (not in a function) 227 | [KEY_SLEEP] = "KEY_SLEEP", | ^~~~~~~~~ event-names.h:180:6: error: ‘KEY_KPJPCOMMA’ undeclared here (not in a function) 180 | [KEY_KPJPCOMMA] = "KEY_KPJPCOMMA", | ^~~~~~~~~~~~~ event-names.h:228:6: error: ‘KEY_WAKEUP’ undeclared here (not in a function) 228 | [KEY_WAKEUP] = "KEY_WAKEUP", | ^~~~~~~~~~ event-names.h:181:6: error: ‘KEY_KPENTER’ undeclared here (not in a function) 181 | [KEY_KPENTER] = "KEY_KPENTER", | ^~~~~~~~~~~ event-names.h:229:6: error: ‘KEY_FILE’ undeclared here (not in a function); did you mean ‘ENFILE’? 229 | [KEY_FILE] = "KEY_FILE", | ^~~~~~~~ | ENFILE event-names.h:230:6: error: ‘KEY_SENDFILE’ undeclared here (not in a function) 230 | [KEY_SENDFILE] = "KEY_SENDFILE", | ^~~~~~~~~~~~ event-names.h:182:6: error: ‘KEY_RIGHTCTRL’ undeclared here (not in a function) 182 | [KEY_RIGHTCTRL] = "KEY_RIGHTCTRL", | ^~~~~~~~~~~~~ event-names.h:231:6: error: ‘KEY_DELETEFILE’ undeclared here (not in a function) 231 | [KEY_DELETEFILE] = "KEY_DELETEFILE", | ^~~~~~~~~~~~~~ event-names.h:183:6: error: ‘KEY_KPSLASH’ undeclared here (not in a function) 183 | [KEY_KPSLASH] = "KEY_KPSLASH", | ^~~~~~~~~~~ event-names.h:232:6: error: ‘KEY_XFER’ undeclared here (not in a function) 232 | [KEY_XFER] = "KEY_XFER", | ^~~~~~~~ event-names.h:184:6: error: ‘KEY_SYSRQ’ undeclared here (not in a function) 184 | [KEY_SYSRQ] = "KEY_SYSRQ", | ^~~~~~~~~ event-names.h:233:6: error: ‘KEY_PROG1’ undeclared here (not in a function) 233 | [KEY_PROG1] = "KEY_PROG1", | ^~~~~~~~~ event-names.h:234:6: error: ‘KEY_PROG2’ undeclared here (not in a function) 234 | [KEY_PROG2] = "KEY_PROG2", | ^~~~~~~~~ event-names.h:185:6: error: ‘KEY_RIGHTALT’ undeclared here (not in a function) 185 | [KEY_RIGHTALT] = "KEY_RIGHTALT", | ^~~~~~~~~~~~ event-names.h:235:6: error: ‘KEY_WWW’ undeclared here (not in a function) 235 | [KEY_WWW] = "KEY_WWW", | ^~~~~~~ event-names.h:186:6: error: ‘KEY_LINEFEED’ undeclared here (not in a function) 186 | [KEY_LINEFEED] = "KEY_LINEFEED", | ^~~~~~~~~~~~ event-names.h:236:6: error: ‘KEY_MSDOS’ undeclared here (not in a function) 236 | [KEY_MSDOS] = "KEY_MSDOS", | ^~~~~~~~~ event-names.h:187:6: error: ‘KEY_HOME’ undeclared here (not in a function) 187 | [KEY_HOME] = "KEY_HOME", | ^~~~~~~~ event-names.h:237:6: error: ‘KEY_COFFEE’ undeclared here (not in a function) 237 | [KEY_COFFEE] = "KEY_COFFEE", | ^~~~~~~~~~ event-names.h:188:6: error: ‘KEY_UP’ undeclared here (not in a function) 188 | [KEY_UP] = "KEY_UP", | ^~~~~~ event-names.h:189:6: error: ‘KEY_PAGEUP’ undeclared here (not in a function) 189 | [KEY_PAGEUP] = "KEY_PAGEUP", | ^~~~~~~~~~ event-names.h:238:6: error: ‘KEY_ROTATE_DISPLAY’ undeclared here (not in a function) 238 | [KEY_ROTATE_DISPLAY] = "KEY_ROTATE_DISPLAY", | ^~~~~~~~~~~~~~~~~~ event-names.h:190:6: error: ‘KEY_LEFT’ undeclared here (not in a function) 190 | [KEY_LEFT] = "KEY_LEFT", | ^~~~~~~~ event-names.h:239:6: error: ‘KEY_CYCLEWINDOWS’ undeclared here (not in a function) 239 | [KEY_CYCLEWINDOWS] = "KEY_CYCLEWINDOWS", | ^~~~~~~~~~~~~~~~ event-names.h:191:6: error: ‘KEY_RIGHT’ undeclared here (not in a function) 191 | [KEY_RIGHT] = "KEY_RIGHT", | ^~~~~~~~~ event-names.h:240:6: error: ‘KEY_MAIL’ undeclared here (not in a function) 240 | [KEY_MAIL] = "KEY_MAIL", | ^~~~~~~~ event-names.h:192:6: error: ‘KEY_END’ undeclared here (not in a function) 192 | [KEY_END] = "KEY_END", | ^~~~~~~ event-names.h:193:6: error: ‘KEY_DOWN’ undeclared here (not in a function) 193 | [KEY_DOWN] = "KEY_DOWN", | ^~~~~~~~ event-names.h:241:6: error: ‘KEY_BOOKMARKS’ undeclared here (not in a function) 241 | [KEY_BOOKMARKS] = "KEY_BOOKMARKS", | ^~~~~~~~~~~~~ event-names.h:242:6: error: ‘KEY_COMPUTER’ undeclared here (not in a function) 242 | [KEY_COMPUTER] = "KEY_COMPUTER", | ^~~~~~~~~~~~ event-names.h:194:6: error: ‘KEY_PAGEDOWN’ undeclared here (not in a function) 194 | [KEY_PAGEDOWN] = "KEY_PAGEDOWN", | ^~~~~~~~~~~~ event-names.h:243:6: error: ‘KEY_BACK’ undeclared here (not in a function) 243 | [KEY_BACK] = "KEY_BACK", | ^~~~~~~~ event-names.h:195:6: error: ‘KEY_INSERT’ undeclared here (not in a function) 195 | [KEY_INSERT] = "KEY_INSERT", | ^~~~~~~~~~ event-names.h:244:6: error: ‘KEY_FORWARD’ undeclared here (not in a function) 244 | [KEY_FORWARD] = "KEY_FORWARD", | ^~~~~~~~~~~ event-names.h:196:6: error: ‘KEY_DELETE’ undeclared here (not in a function) 196 | [KEY_DELETE] = "KEY_DELETE", | ^~~~~~~~~~ event-names.h:245:6: error: ‘KEY_CLOSECD’ undeclared here (not in a function) 245 | [KEY_CLOSECD] = "KEY_CLOSECD", | ^~~~~~~~~~~ event-names.h:197:6: error: ‘KEY_MACRO’ undeclared here (not in a function) 197 | [KEY_MACRO] = "KEY_MACRO", | ^~~~~~~~~ event-names.h:246:6: error: ‘KEY_EJECTCD’ undeclared here (not in a function) 246 | [KEY_EJECTCD] = "KEY_EJECTCD", | ^~~~~~~~~~~ event-names.h:198:6: error: ‘KEY_MUTE’ undeclared here (not in a function) 198 | [KEY_MUTE] = "KEY_MUTE", | ^~~~~~~~ event-names.h:247:6: error: ‘KEY_EJECTCLOSECD’ undeclared here (not in a function) 247 | [KEY_EJECTCLOSECD] = "KEY_EJECTCLOSECD", | ^~~~~~~~~~~~~~~~ event-names.h:199:6: error: ‘KEY_VOLUMEDOWN’ undeclared here (not in a function) 199 | [KEY_VOLUMEDOWN] = "KEY_VOLUMEDOWN", | ^~~~~~~~~~~~~~ event-names.h:248:6: error: ‘KEY_NEXTSONG’ undeclared here (not in a function) 248 | [KEY_NEXTSONG] = "KEY_NEXTSONG", | ^~~~~~~~~~~~ event-names.h:200:6: error: ‘KEY_VOLUMEUP’ undeclared here (not in a function) 200 | [KEY_VOLUMEUP] = "KEY_VOLUMEUP", | ^~~~~~~~~~~~ event-names.h:249:6: error: ‘KEY_PLAYPAUSE’ undeclared here (not in a function) 249 | [KEY_PLAYPAUSE] = "KEY_PLAYPAUSE", | ^~~~~~~~~~~~~ event-names.h:201:6: error: ‘KEY_POWER’ undeclared here (not in a function) 201 | [KEY_POWER] = "KEY_POWER", | ^~~~~~~~~ event-names.h:250:6: error: ‘KEY_PREVIOUSSONG’ undeclared here (not in a function) 250 | [KEY_PREVIOUSSONG] = "KEY_PREVIOUSSONG", | ^~~~~~~~~~~~~~~~ event-names.h:202:6: error: ‘KEY_KPEQUAL’ undeclared here (not in a function) 202 | [KEY_KPEQUAL] = "KEY_KPEQUAL", | ^~~~~~~~~~~ event-names.h:251:6: error: ‘KEY_STOPCD’ undeclared here (not in a function) 251 | [KEY_STOPCD] = "KEY_STOPCD", | ^~~~~~~~~~ event-names.h:203:6: error: ‘KEY_KPPLUSMINUS’ undeclared here (not in a function) 203 | [KEY_KPPLUSMINUS] = "KEY_KPPLUSMINUS", | ^~~~~~~~~~~~~~~ event-names.h:252:6: error: ‘KEY_RECORD’ undeclared here (not in a function) 252 | [KEY_RECORD] = "KEY_RECORD", | ^~~~~~~~~~ event-names.h:204:6: error: ‘KEY_PAUSE’ undeclared here (not in a function) 204 | [KEY_PAUSE] = "KEY_PAUSE", | ^~~~~~~~~ event-names.h:253:6: error: ‘KEY_REWIND’ undeclared here (not in a function) 253 | [KEY_REWIND] = "KEY_REWIND", | ^~~~~~~~~~ event-names.h:205:6: error: ‘KEY_SCALE’ undeclared here (not in a function) 205 | [KEY_SCALE] = "KEY_SCALE", | ^~~~~~~~~ event-names.h:254:6: error: ‘KEY_PHONE’ undeclared here (not in a function) 254 | [KEY_PHONE] = "KEY_PHONE", | ^~~~~~~~~ event-names.h:255:6: error: ‘KEY_ISO’ undeclared here (not in a function) 255 | [KEY_ISO] = "KEY_ISO", | ^~~~~~~ event-names.h:206:6: error: ‘KEY_KPCOMMA’ undeclared here (not in a function) 206 | [KEY_KPCOMMA] = "KEY_KPCOMMA", | ^~~~~~~~~~~ event-names.h:256:6: error: ‘KEY_CONFIG’ undeclared here (not in a function) 256 | [KEY_CONFIG] = "KEY_CONFIG", | ^~~~~~~~~~ event-names.h:207:6: error: ‘KEY_HANGEUL’ undeclared here (not in a function) 207 | [KEY_HANGEUL] = "KEY_HANGEUL", | ^~~~~~~~~~~ event-names.h:257:6: error: ‘KEY_HOMEPAGE’ undeclared here (not in a function) 257 | [KEY_HOMEPAGE] = "KEY_HOMEPAGE", | ^~~~~~~~~~~~ event-names.h:208:6: error: ‘KEY_HANJA’ undeclared here (not in a function) 208 | [KEY_HANJA] = "KEY_HANJA", | ^~~~~~~~~ event-names.h:258:6: error: ‘KEY_REFRESH’ undeclared here (not in a function) 258 | [KEY_REFRESH] = "KEY_REFRESH", | ^~~~~~~~~~~ event-names.h:209:6: error: ‘KEY_YEN’ undeclared here (not in a function) 209 | [KEY_YEN] = "KEY_YEN", | ^~~~~~~ event-names.h:259:6: error: ‘KEY_EXIT’ undeclared here (not in a function) 259 | [KEY_EXIT] = "KEY_EXIT", | ^~~~~~~~ event-names.h:260:6: error: ‘KEY_MOVE’ undeclared here (not in a function) 260 | [KEY_MOVE] = "KEY_MOVE", | ^~~~~~~~ event-names.h:210:6: error: ‘KEY_LEFTMETA’ undeclared here (not in a function) 210 | [KEY_LEFTMETA] = "KEY_LEFTMETA", | ^~~~~~~~~~~~ event-names.h:261:6: error: ‘KEY_EDIT’ undeclared here (not in a function) 261 | [KEY_EDIT] = "KEY_EDIT", | ^~~~~~~~ event-names.h:262:6: error: ‘KEY_SCROLLUP’ undeclared here (not in a function) 262 | [KEY_SCROLLUP] = "KEY_SCROLLUP", | ^~~~~~~~~~~~ event-names.h:211:6: error: ‘KEY_RIGHTMETA’ undeclared here (not in a function) 211 | [KEY_RIGHTMETA] = "KEY_RIGHTMETA", | ^~~~~~~~~~~~~ event-names.h:263:6: error: ‘KEY_SCROLLDOWN’ undeclared here (not in a function) 263 | [KEY_SCROLLDOWN] = "KEY_SCROLLDOWN", | ^~~~~~~~~~~~~~ event-names.h:212:6: error: ‘KEY_COMPOSE’ undeclared here (not in a function) 212 | [KEY_COMPOSE] = "KEY_COMPOSE", | ^~~~~~~~~~~ event-names.h:213:6: error: ‘KEY_STOP’ undeclared here (not in a function) 213 | [KEY_STOP] = "KEY_STOP", | ^~~~~~~~ event-names.h:264:6: error: ‘KEY_KPLEFTPAREN’ undeclared here (not in a function) 264 | [KEY_KPLEFTPAREN] = "KEY_KPLEFTPAREN", | ^~~~~~~~~~~~~~~ event-names.h:214:6: error: ‘KEY_AGAIN’ undeclared here (not in a function); did you mean ‘EAGAIN’? 214 | [KEY_AGAIN] = "KEY_AGAIN", | ^~~~~~~~~ | EAGAIN event-names.h:215:6: error: ‘KEY_PROPS’ undeclared here (not in a function) 215 | [KEY_PROPS] = "KEY_PROPS", | ^~~~~~~~~ event-names.h:265:6: error: ‘KEY_KPRIGHTPAREN’ undeclared here (not in a function) 265 | [KEY_KPRIGHTPAREN] = "KEY_KPRIGHTPAREN", | ^~~~~~~~~~~~~~~~ event-names.h:266:6: error: ‘KEY_NEW’ undeclared here (not in a function) 266 | [KEY_NEW] = "KEY_NEW", | ^~~~~~~ event-names.h:216:6: error: ‘KEY_UNDO’ undeclared here (not in a function) 216 | [KEY_UNDO] = "KEY_UNDO", | ^~~~~~~~ event-names.h:267:6: error: ‘KEY_REDO’ undeclared here (not in a function) 267 | [KEY_REDO] = "KEY_REDO", | ^~~~~~~~ event-names.h:217:6: error: ‘KEY_FRONT’ undeclared here (not in a function) 217 | [KEY_FRONT] = "KEY_FRONT", | ^~~~~~~~~ event-names.h:268:6: error: ‘KEY_F13’ undeclared here (not in a function) 268 | [KEY_F13] = "KEY_F13", | ^~~~~~~ event-names.h:218:6: error: ‘KEY_COPY’ undeclared here (not in a function) 218 | [KEY_COPY] = "KEY_COPY", | ^~~~~~~~ event-names.h:269:6: error: ‘KEY_F14’ undeclared here (not in a function) 269 | [KEY_F14] = "KEY_F14", | ^~~~~~~ event-names.h:270:6: error: ‘KEY_F15’ undeclared here (not in a function) 270 | [KEY_F15] = "KEY_F15", | ^~~~~~~ event-names.h:219:6: error: ‘KEY_OPEN’ undeclared here (not in a function) 219 | [KEY_OPEN] = "KEY_OPEN", | ^~~~~~~~ event-names.h:271:6: error: ‘KEY_F16’ undeclared here (not in a function) 271 | [KEY_F16] = "KEY_F16", | ^~~~~~~ event-names.h:272:6: error: ‘KEY_F17’ undeclared here (not in a function) 272 | [KEY_F17] = "KEY_F17", | ^~~~~~~ event-names.h:220:6: error: ‘KEY_PASTE’ undeclared here (not in a function) 220 | [KEY_PASTE] = "KEY_PASTE", | ^~~~~~~~~ event-names.h:273:6: error: ‘KEY_F18’ undeclared here (not in a function) 273 | [KEY_F18] = "KEY_F18", | ^~~~~~~ event-names.h:221:6: error: ‘KEY_FIND’ undeclared here (not in a function) 221 | [KEY_FIND] = "KEY_FIND", | ^~~~~~~~ event-names.h:274:6: error: ‘KEY_F19’ undeclared here (not in a function) 274 | [KEY_F19] = "KEY_F19", | ^~~~~~~ event-names.h:275:6: error: ‘KEY_F20’ undeclared here (not in a function) 275 | [KEY_F20] = "KEY_F20", | ^~~~~~~ event-names.h:222:6: error: ‘KEY_CUT’ undeclared here (not in a function) 222 | [KEY_CUT] = "KEY_CUT", | ^~~~~~~ event-names.h:276:6: error: ‘KEY_F21’ undeclared here (not in a function) 276 | [KEY_F21] = "KEY_F21", | ^~~~~~~ event-names.h:223:6: error: ‘KEY_HELP’ undeclared here (not in a function) 223 | [KEY_HELP] = "KEY_HELP", | ^~~~~~~~ event-names.h:277:6: error: ‘KEY_F22’ undeclared here (not in a function) 277 | [KEY_F22] = "KEY_F22", | ^~~~~~~ event-names.h:278:6: error: ‘KEY_F23’ undeclared here (not in a function) 278 | [KEY_F23] = "KEY_F23", | ^~~~~~~ event-names.h:224:6: error: ‘KEY_MENU’ undeclared here (not in a function) 224 | [KEY_MENU] = "KEY_MENU", | ^~~~~~~~ event-names.h:279:6: error: ‘KEY_F24’ undeclared here (not in a function) 279 | [KEY_F24] = "KEY_F24", | ^~~~~~~ event-names.h:225:6: error: ‘KEY_CALC’ undeclared here (not in a function) 225 | [KEY_CALC] = "KEY_CALC", | ^~~~~~~~ event-names.h:280:6: error: ‘KEY_PLAYCD’ undeclared here (not in a function) 280 | [KEY_PLAYCD] = "KEY_PLAYCD", | ^~~~~~~~~~ event-names.h:226:6: error: ‘KEY_SETUP’ undeclared here (not in a function) 226 | [KEY_SETUP] = "KEY_SETUP", | ^~~~~~~~~ event-names.h:281:6: error: ‘KEY_PAUSECD’ undeclared here (not in a function) 281 | [KEY_PAUSECD] = "KEY_PAUSECD", | ^~~~~~~~~~~ event-names.h:227:6: error: ‘KEY_SLEEP’ undeclared here (not in a function) 227 | [KEY_SLEEP] = "KEY_SLEEP", | ^~~~~~~~~ event-names.h:282:6: error: ‘KEY_PROG3’ undeclared here (not in a function) 282 | [KEY_PROG3] = "KEY_PROG3", | ^~~~~~~~~ event-names.h:283:6: error: ‘KEY_PROG4’ undeclared here (not in a function) 283 | [KEY_PROG4] = "KEY_PROG4", | ^~~~~~~~~ event-names.h:228:6: error: ‘KEY_WAKEUP’ undeclared here (not in a function) 228 | [KEY_WAKEUP] = "KEY_WAKEUP", | ^~~~~~~~~~ event-names.h:229:6: error: ‘KEY_FILE’ undeclared here (not in a function); did you mean ‘ENFILE’? 229 | [KEY_FILE] = "KEY_FILE", | ^~~~~~~~ | ENFILE event-names.h:284:6: error: ‘KEY_DASHBOARD’ undeclared here (not in a function) 284 | [KEY_DASHBOARD] = "KEY_DASHBOARD", | ^~~~~~~~~~~~~ event-names.h:285:6: error: ‘KEY_SUSPEND’ undeclared here (not in a function) 285 | [KEY_SUSPEND] = "KEY_SUSPEND", | ^~~~~~~~~~~ event-names.h:230:6: error: ‘KEY_SENDFILE’ undeclared here (not in a function) 230 | [KEY_SENDFILE] = "KEY_SENDFILE", | ^~~~~~~~~~~~ event-names.h:286:6: error: ‘KEY_CLOSE’ undeclared here (not in a function) 286 | [KEY_CLOSE] = "KEY_CLOSE", | ^~~~~~~~~ event-names.h:287:6: error: ‘KEY_PLAY’ undeclared here (not in a function) 287 | [KEY_PLAY] = "KEY_PLAY", | ^~~~~~~~ event-names.h:231:6: error: ‘KEY_DELETEFILE’ undeclared here (not in a function) 231 | [KEY_DELETEFILE] = "KEY_DELETEFILE", | ^~~~~~~~~~~~~~ event-names.h:288:6: error: ‘KEY_FASTFORWARD’ undeclared here (not in a function) 288 | [KEY_FASTFORWARD] = "KEY_FASTFORWARD", | ^~~~~~~~~~~~~~~ event-names.h:232:6: error: ‘KEY_XFER’ undeclared here (not in a function) 232 | [KEY_XFER] = "KEY_XFER", | ^~~~~~~~ event-names.h:289:6: error: ‘KEY_BASSBOOST’ undeclared here (not in a function) 289 | [KEY_BASSBOOST] = "KEY_BASSBOOST", | ^~~~~~~~~~~~~ event-names.h:233:6: error: ‘KEY_PROG1’ undeclared here (not in a function) 233 | [KEY_PROG1] = "KEY_PROG1", | ^~~~~~~~~ event-names.h:290:6: error: ‘KEY_PRINT’ undeclared here (not in a function) 290 | [KEY_PRINT] = "KEY_PRINT", | ^~~~~~~~~ event-names.h:291:6: error: ‘KEY_HP’ undeclared here (not in a function) 291 | [KEY_HP] = "KEY_HP", | ^~~~~~ event-names.h:234:6: error: ‘KEY_PROG2’ undeclared here (not in a function) 234 | [KEY_PROG2] = "KEY_PROG2", | ^~~~~~~~~ event-names.h:235:6: error: ‘KEY_WWW’ undeclared here (not in a function) 235 | [KEY_WWW] = "KEY_WWW", | ^~~~~~~ event-names.h:292:6: error: ‘KEY_CAMERA’ undeclared here (not in a function) 292 | [KEY_CAMERA] = "KEY_CAMERA", | ^~~~~~~~~~ event-names.h:293:6: error: ‘KEY_SOUND’ undeclared here (not in a function) 293 | [KEY_SOUND] = "KEY_SOUND", | ^~~~~~~~~ event-names.h:236:6: error: ‘KEY_MSDOS’ undeclared here (not in a function) 236 | [KEY_MSDOS] = "KEY_MSDOS", | ^~~~~~~~~ event-names.h:294:6: error: ‘KEY_QUESTION’ undeclared here (not in a function) 294 | [KEY_QUESTION] = "KEY_QUESTION", | ^~~~~~~~~~~~ event-names.h:237:6: error: ‘KEY_COFFEE’ undeclared here (not in a function) 237 | [KEY_COFFEE] = "KEY_COFFEE", | ^~~~~~~~~~ event-names.h:295:6: error: ‘KEY_EMAIL’ undeclared here (not in a function) 295 | [KEY_EMAIL] = "KEY_EMAIL", | ^~~~~~~~~ event-names.h:296:6: error: ‘KEY_CHAT’ undeclared here (not in a function) 296 | [KEY_CHAT] = "KEY_CHAT", | ^~~~~~~~ event-names.h:297:6: error: ‘KEY_SEARCH’ undeclared here (not in a function) 297 | [KEY_SEARCH] = "KEY_SEARCH", | ^~~~~~~~~~ event-names.h:238:6: error: ‘KEY_ROTATE_DISPLAY’ undeclared here (not in a function) 238 | [KEY_ROTATE_DISPLAY] = "KEY_ROTATE_DISPLAY", | ^~~~~~~~~~~~~~~~~~ event-names.h:298:6: error: ‘KEY_CONNECT’ undeclared here (not in a function) 298 | [KEY_CONNECT] = "KEY_CONNECT", | ^~~~~~~~~~~ event-names.h:239:6: error: ‘KEY_CYCLEWINDOWS’ undeclared here (not in a function) 239 | [KEY_CYCLEWINDOWS] = "KEY_CYCLEWINDOWS", | ^~~~~~~~~~~~~~~~ event-names.h:299:6: error: ‘KEY_FINANCE’ undeclared here (not in a function) 299 | [KEY_FINANCE] = "KEY_FINANCE", | ^~~~~~~~~~~ event-names.h:300:6: error: ‘KEY_SPORT’ undeclared here (not in a function) 300 | [KEY_SPORT] = "KEY_SPORT", | ^~~~~~~~~ event-names.h:240:6: error: ‘KEY_MAIL’ undeclared here (not in a function) 240 | [KEY_MAIL] = "KEY_MAIL", | ^~~~~~~~ event-names.h:301:6: error: ‘KEY_SHOP’ undeclared here (not in a function) 301 | [KEY_SHOP] = "KEY_SHOP", | ^~~~~~~~ event-names.h:241:6: error: ‘KEY_BOOKMARKS’ undeclared here (not in a function) 241 | [KEY_BOOKMARKS] = "KEY_BOOKMARKS", | ^~~~~~~~~~~~~ event-names.h:302:6: error: ‘KEY_ALTERASE’ undeclared here (not in a function) 302 | [KEY_ALTERASE] = "KEY_ALTERASE", | ^~~~~~~~~~~~ event-names.h:303:6: error: ‘KEY_CANCEL’ undeclared here (not in a function) 303 | [KEY_CANCEL] = "KEY_CANCEL", | ^~~~~~~~~~ event-names.h:242:6: error: ‘KEY_COMPUTER’ undeclared here (not in a function) 242 | [KEY_COMPUTER] = "KEY_COMPUTER", | ^~~~~~~~~~~~ event-names.h:243:6: error: ‘KEY_BACK’ undeclared here (not in a function) 243 | [KEY_BACK] = "KEY_BACK", | ^~~~~~~~ event-names.h:304:6: error: ‘KEY_BRIGHTNESSDOWN’ undeclared here (not in a function) 304 | [KEY_BRIGHTNESSDOWN] = "KEY_BRIGHTNESSDOWN", | ^~~~~~~~~~~~~~~~~~ event-names.h:305:6: error: ‘KEY_BRIGHTNESSUP’ undeclared here (not in a function) 305 | [KEY_BRIGHTNESSUP] = "KEY_BRIGHTNESSUP", | ^~~~~~~~~~~~~~~~ event-names.h:244:6: error: ‘KEY_FORWARD’ undeclared here (not in a function) 244 | [KEY_FORWARD] = "KEY_FORWARD", | ^~~~~~~~~~~ event-names.h:306:6: error: ‘KEY_MEDIA’ undeclared here (not in a function) 306 | [KEY_MEDIA] = "KEY_MEDIA", | ^~~~~~~~~ event-names.h:245:6: error: ‘KEY_CLOSECD’ undeclared here (not in a function) 245 | [KEY_CLOSECD] = "KEY_CLOSECD", | ^~~~~~~~~~~ event-names.h:307:6: error: ‘KEY_SWITCHVIDEOMODE’ undeclared here (not in a function) 307 | [KEY_SWITCHVIDEOMODE] = "KEY_SWITCHVIDEOMODE", | ^~~~~~~~~~~~~~~~~~~ event-names.h:246:6: error: ‘KEY_EJECTCD’ undeclared here (not in a function) 246 | [KEY_EJECTCD] = "KEY_EJECTCD", | ^~~~~~~~~~~ event-names.h:308:6: error: ‘KEY_KBDILLUMTOGGLE’ undeclared here (not in a function) 308 | [KEY_KBDILLUMTOGGLE] = "KEY_KBDILLUMTOGGLE", | ^~~~~~~~~~~~~~~~~~ event-names.h:247:6: error: ‘KEY_EJECTCLOSECD’ undeclared here (not in a function) 247 | [KEY_EJECTCLOSECD] = "KEY_EJECTCLOSECD", | ^~~~~~~~~~~~~~~~ event-names.h:309:6: error: ‘KEY_KBDILLUMDOWN’ undeclared here (not in a function) 309 | [KEY_KBDILLUMDOWN] = "KEY_KBDILLUMDOWN", | ^~~~~~~~~~~~~~~~ event-names.h:248:6: error: ‘KEY_NEXTSONG’ undeclared here (not in a function) 248 | [KEY_NEXTSONG] = "KEY_NEXTSONG", | ^~~~~~~~~~~~ event-names.h:310:6: error: ‘KEY_KBDILLUMUP’ undeclared here (not in a function) 310 | [KEY_KBDILLUMUP] = "KEY_KBDILLUMUP", | ^~~~~~~~~~~~~~ event-names.h:311:6: error: ‘KEY_SEND’ undeclared here (not in a function) 311 | [KEY_SEND] = "KEY_SEND", | ^~~~~~~~ event-names.h:312:6: error: ‘KEY_REPLY’ undeclared here (not in a function) 312 | [KEY_REPLY] = "KEY_REPLY", | ^~~~~~~~~ event-names.h:249:6: error: ‘KEY_PLAYPAUSE’ undeclared here (not in a function) 249 | [KEY_PLAYPAUSE] = "KEY_PLAYPAUSE", | ^~~~~~~~~~~~~ event-names.h:313:6: error: ‘KEY_FORWARDMAIL’ undeclared here (not in a function) 313 | [KEY_FORWARDMAIL] = "KEY_FORWARDMAIL", | ^~~~~~~~~~~~~~~ event-names.h:250:6: error: ‘KEY_PREVIOUSSONG’ undeclared here (not in a function) 250 | [KEY_PREVIOUSSONG] = "KEY_PREVIOUSSONG", | ^~~~~~~~~~~~~~~~ event-names.h:314:6: error: ‘KEY_SAVE’ undeclared here (not in a function) 314 | [KEY_SAVE] = "KEY_SAVE", | ^~~~~~~~ event-names.h:251:6: error: ‘KEY_STOPCD’ undeclared here (not in a function) 251 | [KEY_STOPCD] = "KEY_STOPCD", | ^~~~~~~~~~ event-names.h:315:6: error: ‘KEY_DOCUMENTS’ undeclared here (not in a function) 315 | [KEY_DOCUMENTS] = "KEY_DOCUMENTS", | ^~~~~~~~~~~~~ event-names.h:316:6: error: ‘KEY_BATTERY’ undeclared here (not in a function) 316 | [KEY_BATTERY] = "KEY_BATTERY", | ^~~~~~~~~~~ event-names.h:252:6: error: ‘KEY_RECORD’ undeclared here (not in a function) 252 | [KEY_RECORD] = "KEY_RECORD", | ^~~~~~~~~~ event-names.h:317:6: error: ‘KEY_BLUETOOTH’ undeclared here (not in a function) 317 | [KEY_BLUETOOTH] = "KEY_BLUETOOTH", | ^~~~~~~~~~~~~ event-names.h:253:6: error: ‘KEY_REWIND’ undeclared here (not in a function) 253 | [KEY_REWIND] = "KEY_REWIND", | ^~~~~~~~~~ event-names.h:318:6: error: ‘KEY_WLAN’ undeclared here (not in a function) 318 | [KEY_WLAN] = "KEY_WLAN", | ^~~~~~~~ event-names.h:254:6: error: ‘KEY_PHONE’ undeclared here (not in a function) 254 | [KEY_PHONE] = "KEY_PHONE", | ^~~~~~~~~ event-names.h:319:6: error: ‘KEY_UWB’ undeclared here (not in a function) 319 | [KEY_UWB] = "KEY_UWB", | ^~~~~~~ event-names.h:255:6: error: ‘KEY_ISO’ undeclared here (not in a function) 255 | [KEY_ISO] = "KEY_ISO", | ^~~~~~~ event-names.h:320:6: error: ‘KEY_UNKNOWN’ undeclared here (not in a function) 320 | [KEY_UNKNOWN] = "KEY_UNKNOWN", | ^~~~~~~~~~~ event-names.h:256:6: error: ‘KEY_CONFIG’ undeclared here (not in a function) 256 | [KEY_CONFIG] = "KEY_CONFIG", | ^~~~~~~~~~ event-names.h:321:6: error: ‘KEY_VIDEO_NEXT’ undeclared here (not in a function) 321 | [KEY_VIDEO_NEXT] = "KEY_VIDEO_NEXT", | ^~~~~~~~~~~~~~ event-names.h:257:6: error: ‘KEY_HOMEPAGE’ undeclared here (not in a function) 257 | [KEY_HOMEPAGE] = "KEY_HOMEPAGE", | ^~~~~~~~~~~~ event-names.h:322:6: error: ‘KEY_VIDEO_PREV’ undeclared here (not in a function) 322 | [KEY_VIDEO_PREV] = "KEY_VIDEO_PREV", | ^~~~~~~~~~~~~~ event-names.h:258:6: error: ‘KEY_REFRESH’ undeclared here (not in a function) 258 | [KEY_REFRESH] = "KEY_REFRESH", | ^~~~~~~~~~~ event-names.h:323:6: error: ‘KEY_BRIGHTNESS_CYCLE’ undeclared here (not in a function) 323 | [KEY_BRIGHTNESS_CYCLE] = "KEY_BRIGHTNESS_CYCLE", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:259:6: error: ‘KEY_EXIT’ undeclared here (not in a function) 259 | [KEY_EXIT] = "KEY_EXIT", | ^~~~~~~~ event-names.h:260:6: error: ‘KEY_MOVE’ undeclared here (not in a function) 260 | [KEY_MOVE] = "KEY_MOVE", | ^~~~~~~~ event-names.h:324:6: error: ‘KEY_BRIGHTNESS_AUTO’ undeclared here (not in a function) 324 | [KEY_BRIGHTNESS_AUTO] = "KEY_BRIGHTNESS_AUTO", | ^~~~~~~~~~~~~~~~~~~ event-names.h:261:6: error: ‘KEY_EDIT’ undeclared here (not in a function) 261 | [KEY_EDIT] = "KEY_EDIT", | ^~~~~~~~ event-names.h:325:6: error: ‘KEY_DISPLAY_OFF’ undeclared here (not in a function) 325 | [KEY_DISPLAY_OFF] = "KEY_DISPLAY_OFF", | ^~~~~~~~~~~~~~~ event-names.h:262:6: error: ‘KEY_SCROLLUP’ undeclared here (not in a function) 262 | [KEY_SCROLLUP] = "KEY_SCROLLUP", | ^~~~~~~~~~~~ event-names.h:326:6: error: ‘KEY_WWAN’ undeclared here (not in a function) 326 | [KEY_WWAN] = "KEY_WWAN", | ^~~~~~~~ event-names.h:327:6: error: ‘KEY_RFKILL’ undeclared here (not in a function) 327 | [KEY_RFKILL] = "KEY_RFKILL", | ^~~~~~~~~~ event-names.h:263:6: error: ‘KEY_SCROLLDOWN’ undeclared here (not in a function) 263 | [KEY_SCROLLDOWN] = "KEY_SCROLLDOWN", | ^~~~~~~~~~~~~~ event-names.h:328:6: error: ‘KEY_MICMUTE’ undeclared here (not in a function) 328 | [KEY_MICMUTE] = "KEY_MICMUTE", | ^~~~~~~~~~~ event-names.h:329:6: error: ‘KEY_OK’ undeclared here (not in a function) 329 | [KEY_OK] = "KEY_OK", | ^~~~~~ event-names.h:264:6: error: ‘KEY_KPLEFTPAREN’ undeclared here (not in a function) 264 | [KEY_KPLEFTPAREN] = "KEY_KPLEFTPAREN", | ^~~~~~~~~~~~~~~ event-names.h:330:6: error: ‘KEY_SELECT’ undeclared here (not in a function) 330 | [KEY_SELECT] = "KEY_SELECT", | ^~~~~~~~~~ event-names.h:331:6: error: ‘KEY_GOTO’ undeclared here (not in a function) 331 | [KEY_GOTO] = "KEY_GOTO", | ^~~~~~~~ event-names.h:265:6: error: ‘KEY_KPRIGHTPAREN’ undeclared here (not in a function) 265 | [KEY_KPRIGHTPAREN] = "KEY_KPRIGHTPAREN", | ^~~~~~~~~~~~~~~~ event-names.h:332:6: error: ‘KEY_CLEAR’ undeclared here (not in a function) 332 | [KEY_CLEAR] = "KEY_CLEAR", | ^~~~~~~~~ event-names.h:266:6: error: ‘KEY_NEW’ undeclared here (not in a function) 266 | [KEY_NEW] = "KEY_NEW", | ^~~~~~~ event-names.h:333:6: error: ‘KEY_POWER2’ undeclared here (not in a function) 333 | [KEY_POWER2] = "KEY_POWER2", | ^~~~~~~~~~ event-names.h:267:6: error: ‘KEY_REDO’ undeclared here (not in a function) 267 | [KEY_REDO] = "KEY_REDO", | ^~~~~~~~ event-names.h:334:6: error: ‘KEY_OPTION’ undeclared here (not in a function) 334 | [KEY_OPTION] = "KEY_OPTION", | ^~~~~~~~~~ event-names.h:268:6: error: ‘KEY_F13’ undeclared here (not in a function) 268 | [KEY_F13] = "KEY_F13", | ^~~~~~~ event-names.h:335:6: error: ‘KEY_INFO’ undeclared here (not in a function) 335 | [KEY_INFO] = "KEY_INFO", | ^~~~~~~~ event-names.h:269:6: error: ‘KEY_F14’ undeclared here (not in a function) 269 | [KEY_F14] = "KEY_F14", | ^~~~~~~ event-names.h:336:6: error: ‘KEY_TIME’ undeclared here (not in a function); did you mean ‘ETIME’? 336 | [KEY_TIME] = "KEY_TIME", | ^~~~~~~~ | ETIME event-names.h:270:6: error: ‘KEY_F15’ undeclared here (not in a function) 270 | [KEY_F15] = "KEY_F15", | ^~~~~~~ event-names.h:271:6: error: ‘KEY_F16’ undeclared here (not in a function) 271 | [KEY_F16] = "KEY_F16", | ^~~~~~~ event-names.h:337:6: error: ‘KEY_VENDOR’ undeclared here (not in a function) 337 | [KEY_VENDOR] = "KEY_VENDOR", | ^~~~~~~~~~ event-names.h:272:6: error: ‘KEY_F17’ undeclared here (not in a function) 272 | [KEY_F17] = "KEY_F17", | ^~~~~~~ event-names.h:338:6: error: ‘KEY_ARCHIVE’ undeclared here (not in a function) 338 | [KEY_ARCHIVE] = "KEY_ARCHIVE", | ^~~~~~~~~~~ event-names.h:273:6: error: ‘KEY_F18’ undeclared here (not in a function) 273 | [KEY_F18] = "KEY_F18", | ^~~~~~~ event-names.h:339:6: error: ‘KEY_PROGRAM’ undeclared here (not in a function) 339 | [KEY_PROGRAM] = "KEY_PROGRAM", | ^~~~~~~~~~~ event-names.h:274:6: error: ‘KEY_F19’ undeclared here (not in a function) 274 | [KEY_F19] = "KEY_F19", | ^~~~~~~ event-names.h:340:6: error: ‘KEY_CHANNEL’ undeclared here (not in a function) 340 | [KEY_CHANNEL] = "KEY_CHANNEL", | ^~~~~~~~~~~ event-names.h:275:6: error: ‘KEY_F20’ undeclared here (not in a function) 275 | [KEY_F20] = "KEY_F20", | ^~~~~~~ event-names.h:276:6: error: ‘KEY_F21’ undeclared here (not in a function) 276 | [KEY_F21] = "KEY_F21", | ^~~~~~~ event-names.h:341:6: error: ‘KEY_FAVORITES’ undeclared here (not in a function) 341 | [KEY_FAVORITES] = "KEY_FAVORITES", | ^~~~~~~~~~~~~ event-names.h:277:6: error: ‘KEY_F22’ undeclared here (not in a function) 277 | [KEY_F22] = "KEY_F22", | ^~~~~~~ event-names.h:342:6: error: ‘KEY_EPG’ undeclared here (not in a function) 342 | [KEY_EPG] = "KEY_EPG", | ^~~~~~~ event-names.h:278:6: error: ‘KEY_F23’ undeclared here (not in a function) 278 | [KEY_F23] = "KEY_F23", | ^~~~~~~ event-names.h:343:6: error: ‘KEY_PVR’ undeclared here (not in a function) 343 | [KEY_PVR] = "KEY_PVR", | ^~~~~~~ event-names.h:344:6: error: ‘KEY_MHP’ undeclared here (not in a function) 344 | [KEY_MHP] = "KEY_MHP", | ^~~~~~~ event-names.h:279:6: error: ‘KEY_F24’ undeclared here (not in a function) 279 | [KEY_F24] = "KEY_F24", | ^~~~~~~ event-names.h:345:6: error: ‘KEY_LANGUAGE’ undeclared here (not in a function) 345 | [KEY_LANGUAGE] = "KEY_LANGUAGE", | ^~~~~~~~~~~~ event-names.h:280:6: error: ‘KEY_PLAYCD’ undeclared here (not in a function) 280 | [KEY_PLAYCD] = "KEY_PLAYCD", | ^~~~~~~~~~ event-names.h:346:6: error: ‘KEY_TITLE’ undeclared here (not in a function) 346 | [KEY_TITLE] = "KEY_TITLE", | ^~~~~~~~~ event-names.h:281:6: error: ‘KEY_PAUSECD’ undeclared here (not in a function) 281 | [KEY_PAUSECD] = "KEY_PAUSECD", | ^~~~~~~~~~~ event-names.h:347:6: error: ‘KEY_SUBTITLE’ undeclared here (not in a function) 347 | [KEY_SUBTITLE] = "KEY_SUBTITLE", | ^~~~~~~~~~~~ event-names.h:282:6: error: ‘KEY_PROG3’ undeclared here (not in a function) 282 | [KEY_PROG3] = "KEY_PROG3", | ^~~~~~~~~ event-names.h:348:6: error: ‘KEY_ANGLE’ undeclared here (not in a function) 348 | [KEY_ANGLE] = "KEY_ANGLE", | ^~~~~~~~~ event-names.h:283:6: error: ‘KEY_PROG4’ undeclared here (not in a function) 283 | [KEY_PROG4] = "KEY_PROG4", | ^~~~~~~~~ event-names.h:349:6: error: ‘KEY_FULL_SCREEN’ undeclared here (not in a function) 349 | [KEY_FULL_SCREEN] = "KEY_FULL_SCREEN", | ^~~~~~~~~~~~~~~ event-names.h:350:6: error: ‘KEY_MODE’ undeclared here (not in a function) 350 | [KEY_MODE] = "KEY_MODE", | ^~~~~~~~ event-names.h:284:6: error: ‘KEY_DASHBOARD’ undeclared here (not in a function) 284 | [KEY_DASHBOARD] = "KEY_DASHBOARD", | ^~~~~~~~~~~~~ event-names.h:351:6: error: ‘KEY_KEYBOARD’ undeclared here (not in a function) 351 | [KEY_KEYBOARD] = "KEY_KEYBOARD", | ^~~~~~~~~~~~ event-names.h:285:6: error: ‘KEY_SUSPEND’ undeclared here (not in a function) 285 | [KEY_SUSPEND] = "KEY_SUSPEND", | ^~~~~~~~~~~ event-names.h:286:6: error: ‘KEY_CLOSE’ undeclared here (not in a function) 286 | [KEY_CLOSE] = "KEY_CLOSE", | ^~~~~~~~~ event-names.h:352:6: error: ‘KEY_ASPECT_RATIO’ undeclared here (not in a function) 352 | [KEY_ASPECT_RATIO] = "KEY_ASPECT_RATIO", | ^~~~~~~~~~~~~~~~ event-names.h:353:6: error: ‘KEY_PC’ undeclared here (not in a function) 353 | [KEY_PC] = "KEY_PC", | ^~~~~~ event-names.h:287:6: error: ‘KEY_PLAY’ undeclared here (not in a function) 287 | [KEY_PLAY] = "KEY_PLAY", | ^~~~~~~~ event-names.h:354:6: error: ‘KEY_TV’ undeclared here (not in a function) 354 | [KEY_TV] = "KEY_TV", | ^~~~~~ event-names.h:355:6: error: ‘KEY_TV2’ undeclared here (not in a function) 355 | [KEY_TV2] = "KEY_TV2", | ^~~~~~~ event-names.h:288:6: error: ‘KEY_FASTFORWARD’ undeclared here (not in a function) 288 | [KEY_FASTFORWARD] = "KEY_FASTFORWARD", | ^~~~~~~~~~~~~~~ event-names.h:356:6: error: ‘KEY_VCR’ undeclared here (not in a function) 356 | [KEY_VCR] = "KEY_VCR", | ^~~~~~~ event-names.h:357:6: error: ‘KEY_VCR2’ undeclared here (not in a function) 357 | [KEY_VCR2] = "KEY_VCR2", | ^~~~~~~~ event-names.h:358:6: error: ‘KEY_SAT’ undeclared here (not in a function) 358 | [KEY_SAT] = "KEY_SAT", | ^~~~~~~ event-names.h:289:6: error: ‘KEY_BASSBOOST’ undeclared here (not in a function) 289 | [KEY_BASSBOOST] = "KEY_BASSBOOST", | ^~~~~~~~~~~~~ event-names.h:359:6: error: ‘KEY_SAT2’ undeclared here (not in a function) 359 | [KEY_SAT2] = "KEY_SAT2", | ^~~~~~~~ event-names.h:290:6: error: ‘KEY_PRINT’ undeclared here (not in a function) 290 | [KEY_PRINT] = "KEY_PRINT", | ^~~~~~~~~ event-names.h:360:6: error: ‘KEY_CD’ undeclared here (not in a function) 360 | [KEY_CD] = "KEY_CD", | ^~~~~~ event-names.h:291:6: error: ‘KEY_HP’ undeclared here (not in a function) 291 | [KEY_HP] = "KEY_HP", | ^~~~~~ event-names.h:361:6: error: ‘KEY_TAPE’ undeclared here (not in a function) 361 | [KEY_TAPE] = "KEY_TAPE", | ^~~~~~~~ event-names.h:362:6: error: ‘KEY_RADIO’ undeclared here (not in a function) 362 | [KEY_RADIO] = "KEY_RADIO", | ^~~~~~~~~ event-names.h:292:6: error: ‘KEY_CAMERA’ undeclared here (not in a function) 292 | [KEY_CAMERA] = "KEY_CAMERA", | ^~~~~~~~~~ event-names.h:363:6: error: ‘KEY_TUNER’ undeclared here (not in a function) 363 | [KEY_TUNER] = "KEY_TUNER", | ^~~~~~~~~ event-names.h:293:6: error: ‘KEY_SOUND’ undeclared here (not in a function) 293 | [KEY_SOUND] = "KEY_SOUND", | ^~~~~~~~~ event-names.h:364:6: error: ‘KEY_PLAYER’ undeclared here (not in a function) 364 | [KEY_PLAYER] = "KEY_PLAYER", | ^~~~~~~~~~ event-names.h:365:6: error: ‘KEY_TEXT’ undeclared here (not in a function) 365 | [KEY_TEXT] = "KEY_TEXT", | ^~~~~~~~ event-names.h:294:6: error: ‘KEY_QUESTION’ undeclared here (not in a function) 294 | [KEY_QUESTION] = "KEY_QUESTION", | ^~~~~~~~~~~~ event-names.h:366:6: error: ‘KEY_DVD’ undeclared here (not in a function) 366 | [KEY_DVD] = "KEY_DVD", | ^~~~~~~ event-names.h:295:6: error: ‘KEY_EMAIL’ undeclared here (not in a function) 295 | [KEY_EMAIL] = "KEY_EMAIL", | ^~~~~~~~~ event-names.h:367:6: error: ‘KEY_AUX’ undeclared here (not in a function) 367 | [KEY_AUX] = "KEY_AUX", | ^~~~~~~ event-names.h:368:6: error: ‘KEY_MP3’ undeclared here (not in a function) 368 | [KEY_MP3] = "KEY_MP3", | ^~~~~~~ event-names.h:296:6: error: ‘KEY_CHAT’ undeclared here (not in a function) 296 | [KEY_CHAT] = "KEY_CHAT", | ^~~~~~~~ event-names.h:369:6: error: ‘KEY_AUDIO’ undeclared here (not in a function) 369 | [KEY_AUDIO] = "KEY_AUDIO", | ^~~~~~~~~ event-names.h:297:6: error: ‘KEY_SEARCH’ undeclared here (not in a function) 297 | [KEY_SEARCH] = "KEY_SEARCH", | ^~~~~~~~~~ event-names.h:370:6: error: ‘KEY_VIDEO’ undeclared here (not in a function) 370 | [KEY_VIDEO] = "KEY_VIDEO", | ^~~~~~~~~ event-names.h:298:6: error: ‘KEY_CONNECT’ undeclared here (not in a function) 298 | [KEY_CONNECT] = "KEY_CONNECT", | ^~~~~~~~~~~ event-names.h:371:6: error: ‘KEY_DIRECTORY’ undeclared here (not in a function) 371 | [KEY_DIRECTORY] = "KEY_DIRECTORY", | ^~~~~~~~~~~~~ event-names.h:372:6: error: ‘KEY_LIST’ undeclared here (not in a function) 372 | [KEY_LIST] = "KEY_LIST", | ^~~~~~~~ event-names.h:299:6: error: ‘KEY_FINANCE’ undeclared here (not in a function) 299 | [KEY_FINANCE] = "KEY_FINANCE", | ^~~~~~~~~~~ event-names.h:373:6: error: ‘KEY_MEMO’ undeclared here (not in a function) 373 | [KEY_MEMO] = "KEY_MEMO", | ^~~~~~~~ event-names.h:300:6: error: ‘KEY_SPORT’ undeclared here (not in a function) 300 | [KEY_SPORT] = "KEY_SPORT", | ^~~~~~~~~ event-names.h:374:6: error: ‘KEY_CALENDAR’ undeclared here (not in a function) 374 | [KEY_CALENDAR] = "KEY_CALENDAR", | ^~~~~~~~~~~~ event-names.h:301:6: error: ‘KEY_SHOP’ undeclared here (not in a function) 301 | [KEY_SHOP] = "KEY_SHOP", | ^~~~~~~~ event-names.h:375:6: error: ‘KEY_RED’ undeclared here (not in a function) 375 | [KEY_RED] = "KEY_RED", | ^~~~~~~ event-names.h:376:6: error: ‘KEY_GREEN’ undeclared here (not in a function) 376 | [KEY_GREEN] = "KEY_GREEN", | ^~~~~~~~~ event-names.h:302:6: error: ‘KEY_ALTERASE’ undeclared here (not in a function) 302 | [KEY_ALTERASE] = "KEY_ALTERASE", | ^~~~~~~~~~~~ event-names.h:377:6: error: ‘KEY_YELLOW’ undeclared here (not in a function) 377 | [KEY_YELLOW] = "KEY_YELLOW", | ^~~~~~~~~~ event-names.h:303:6: error: ‘KEY_CANCEL’ undeclared here (not in a function) 303 | [KEY_CANCEL] = "KEY_CANCEL", | ^~~~~~~~~~ event-names.h:378:6: error: ‘KEY_BLUE’ undeclared here (not in a function) 378 | [KEY_BLUE] = "KEY_BLUE", | ^~~~~~~~ event-names.h:379:6: error: ‘KEY_CHANNELUP’ undeclared here (not in a function) 379 | [KEY_CHANNELUP] = "KEY_CHANNELUP", | ^~~~~~~~~~~~~ event-names.h:304:6: error: ‘KEY_BRIGHTNESSDOWN’ undeclared here (not in a function) 304 | [KEY_BRIGHTNESSDOWN] = "KEY_BRIGHTNESSDOWN", | ^~~~~~~~~~~~~~~~~~ event-names.h:380:6: error: ‘KEY_CHANNELDOWN’ undeclared here (not in a function) 380 | [KEY_CHANNELDOWN] = "KEY_CHANNELDOWN", | ^~~~~~~~~~~~~~~ event-names.h:305:6: error: ‘KEY_BRIGHTNESSUP’ undeclared here (not in a function) 305 | [KEY_BRIGHTNESSUP] = "KEY_BRIGHTNESSUP", | ^~~~~~~~~~~~~~~~ event-names.h:381:6: error: ‘KEY_FIRST’ undeclared here (not in a function) 381 | [KEY_FIRST] = "KEY_FIRST", | ^~~~~~~~~ event-names.h:382:6: error: ‘KEY_LAST’ undeclared here (not in a function) 382 | [KEY_LAST] = "KEY_LAST", | ^~~~~~~~ event-names.h:306:6: error: ‘KEY_MEDIA’ undeclared here (not in a function) 306 | [KEY_MEDIA] = "KEY_MEDIA", | ^~~~~~~~~ event-names.h:383:6: error: ‘KEY_AB’ undeclared here (not in a function) 383 | [KEY_AB] = "KEY_AB", | ^~~~~~ event-names.h:384:6: error: ‘KEY_NEXT’ undeclared here (not in a function) 384 | [KEY_NEXT] = "KEY_NEXT", | ^~~~~~~~ event-names.h:307:6: error: ‘KEY_SWITCHVIDEOMODE’ undeclared here (not in a function) 307 | [KEY_SWITCHVIDEOMODE] = "KEY_SWITCHVIDEOMODE", | ^~~~~~~~~~~~~~~~~~~ event-names.h:385:6: error: ‘KEY_RESTART’ undeclared here (not in a function) 385 | [KEY_RESTART] = "KEY_RESTART", | ^~~~~~~~~~~ event-names.h:386:6: error: ‘KEY_SLOW’ undeclared here (not in a function) 386 | [KEY_SLOW] = "KEY_SLOW", | ^~~~~~~~ event-names.h:308:6: error: ‘KEY_KBDILLUMTOGGLE’ undeclared here (not in a function) 308 | [KEY_KBDILLUMTOGGLE] = "KEY_KBDILLUMTOGGLE", | ^~~~~~~~~~~~~~~~~~ event-names.h:387:6: error: ‘KEY_SHUFFLE’ undeclared here (not in a function) 387 | [KEY_SHUFFLE] = "KEY_SHUFFLE", | ^~~~~~~~~~~ event-names.h:388:6: error: ‘KEY_BREAK’ undeclared here (not in a function) 388 | [KEY_BREAK] = "KEY_BREAK", | ^~~~~~~~~ event-names.h:309:6: error: ‘KEY_KBDILLUMDOWN’ undeclared here (not in a function) 309 | [KEY_KBDILLUMDOWN] = "KEY_KBDILLUMDOWN", | ^~~~~~~~~~~~~~~~ event-names.h:389:6: error: ‘KEY_PREVIOUS’ undeclared here (not in a function) 389 | [KEY_PREVIOUS] = "KEY_PREVIOUS", | ^~~~~~~~~~~~ event-names.h:390:6: error: ‘KEY_DIGITS’ undeclared here (not in a function) 390 | [KEY_DIGITS] = "KEY_DIGITS", | ^~~~~~~~~~ event-names.h:310:6: error: ‘KEY_KBDILLUMUP’ undeclared here (not in a function) 310 | [KEY_KBDILLUMUP] = "KEY_KBDILLUMUP", | ^~~~~~~~~~~~~~ event-names.h:391:6: error: ‘KEY_TEEN’ undeclared here (not in a function) 391 | [KEY_TEEN] = "KEY_TEEN", | ^~~~~~~~ event-names.h:311:6: error: ‘KEY_SEND’ undeclared here (not in a function) 311 | [KEY_SEND] = "KEY_SEND", | ^~~~~~~~ event-names.h:392:6: error: ‘KEY_TWEN’ undeclared here (not in a function) 392 | [KEY_TWEN] = "KEY_TWEN", | ^~~~~~~~ event-names.h:312:6: error: ‘KEY_REPLY’ undeclared here (not in a function) 312 | [KEY_REPLY] = "KEY_REPLY", | ^~~~~~~~~ event-names.h:393:6: error: ‘KEY_VIDEOPHONE’ undeclared here (not in a function) 393 | [KEY_VIDEOPHONE] = "KEY_VIDEOPHONE", | ^~~~~~~~~~~~~~ event-names.h:394:6: error: ‘KEY_GAMES’ undeclared here (not in a function) 394 | [KEY_GAMES] = "KEY_GAMES", | ^~~~~~~~~ event-names.h:313:6: error: ‘KEY_FORWARDMAIL’ undeclared here (not in a function) 313 | [KEY_FORWARDMAIL] = "KEY_FORWARDMAIL", | ^~~~~~~~~~~~~~~ event-names.h:395:6: error: ‘KEY_ZOOMIN’ undeclared here (not in a function) 395 | [KEY_ZOOMIN] = "KEY_ZOOMIN", | ^~~~~~~~~~ event-names.h:314:6: error: ‘KEY_SAVE’ undeclared here (not in a function) 314 | [KEY_SAVE] = "KEY_SAVE", | ^~~~~~~~ event-names.h:396:6: error: ‘KEY_ZOOMOUT’ undeclared here (not in a function) 396 | [KEY_ZOOMOUT] = "KEY_ZOOMOUT", | ^~~~~~~~~~~ event-names.h:315:6: error: ‘KEY_DOCUMENTS’ undeclared here (not in a function) 315 | [KEY_DOCUMENTS] = "KEY_DOCUMENTS", | ^~~~~~~~~~~~~ event-names.h:397:6: error: ‘KEY_ZOOMRESET’ undeclared here (not in a function) 397 | [KEY_ZOOMRESET] = "KEY_ZOOMRESET", | ^~~~~~~~~~~~~ event-names.h:316:6: error: ‘KEY_BATTERY’ undeclared here (not in a function) 316 | [KEY_BATTERY] = "KEY_BATTERY", | ^~~~~~~~~~~ event-names.h:398:6: error: ‘KEY_WORDPROCESSOR’ undeclared here (not in a function) 398 | [KEY_WORDPROCESSOR] = "KEY_WORDPROCESSOR", | ^~~~~~~~~~~~~~~~~ event-names.h:317:6: error: ‘KEY_BLUETOOTH’ undeclared here (not in a function) 317 | [KEY_BLUETOOTH] = "KEY_BLUETOOTH", | ^~~~~~~~~~~~~ event-names.h:399:6: error: ‘KEY_EDITOR’ undeclared here (not in a function) 399 | [KEY_EDITOR] = "KEY_EDITOR", | ^~~~~~~~~~ event-names.h:318:6: error: ‘KEY_WLAN’ undeclared here (not in a function) 318 | [KEY_WLAN] = "KEY_WLAN", | ^~~~~~~~ event-names.h:400:6: error: ‘KEY_SPREADSHEET’ undeclared here (not in a function) 400 | [KEY_SPREADSHEET] = "KEY_SPREADSHEET", | ^~~~~~~~~~~~~~~ event-names.h:319:6: error: ‘KEY_UWB’ undeclared here (not in a function) 319 | [KEY_UWB] = "KEY_UWB", | ^~~~~~~ event-names.h:320:6: error: ‘KEY_UNKNOWN’ undeclared here (not in a function) 320 | [KEY_UNKNOWN] = "KEY_UNKNOWN", | ^~~~~~~~~~~ event-names.h:401:6: error: ‘KEY_GRAPHICSEDITOR’ undeclared here (not in a function) 401 | [KEY_GRAPHICSEDITOR] = "KEY_GRAPHICSEDITOR", | ^~~~~~~~~~~~~~~~~~ event-names.h:321:6: error: ‘KEY_VIDEO_NEXT’ undeclared here (not in a function) 321 | [KEY_VIDEO_NEXT] = "KEY_VIDEO_NEXT", | ^~~~~~~~~~~~~~ event-names.h:402:6: error: ‘KEY_PRESENTATION’ undeclared here (not in a function) 402 | [KEY_PRESENTATION] = "KEY_PRESENTATION", | ^~~~~~~~~~~~~~~~ event-names.h:403:6: error: ‘KEY_DATABASE’ undeclared here (not in a function) 403 | [KEY_DATABASE] = "KEY_DATABASE", | ^~~~~~~~~~~~ event-names.h:322:6: error: ‘KEY_VIDEO_PREV’ undeclared here (not in a function) 322 | [KEY_VIDEO_PREV] = "KEY_VIDEO_PREV", | ^~~~~~~~~~~~~~ event-names.h:404:6: error: ‘KEY_NEWS’ undeclared here (not in a function) 404 | [KEY_NEWS] = "KEY_NEWS", | ^~~~~~~~ event-names.h:405:6: error: ‘KEY_VOICEMAIL’ undeclared here (not in a function) 405 | [KEY_VOICEMAIL] = "KEY_VOICEMAIL", | ^~~~~~~~~~~~~ event-names.h:323:6: error: ‘KEY_BRIGHTNESS_CYCLE’ undeclared here (not in a function) 323 | [KEY_BRIGHTNESS_CYCLE] = "KEY_BRIGHTNESS_CYCLE", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:406:6: error: ‘KEY_ADDRESSBOOK’ undeclared here (not in a function) 406 | [KEY_ADDRESSBOOK] = "KEY_ADDRESSBOOK", | ^~~~~~~~~~~~~~~ event-names.h:324:6: error: ‘KEY_BRIGHTNESS_AUTO’ undeclared here (not in a function) 324 | [KEY_BRIGHTNESS_AUTO] = "KEY_BRIGHTNESS_AUTO", | ^~~~~~~~~~~~~~~~~~~ event-names.h:407:6: error: ‘KEY_MESSENGER’ undeclared here (not in a function) 407 | [KEY_MESSENGER] = "KEY_MESSENGER", | ^~~~~~~~~~~~~ event-names.h:325:6: error: ‘KEY_DISPLAY_OFF’ undeclared here (not in a function) 325 | [KEY_DISPLAY_OFF] = "KEY_DISPLAY_OFF", | ^~~~~~~~~~~~~~~ event-names.h:408:6: error: ‘KEY_DISPLAYTOGGLE’ undeclared here (not in a function) 408 | [KEY_DISPLAYTOGGLE] = "KEY_DISPLAYTOGGLE", | ^~~~~~~~~~~~~~~~~ event-names.h:326:6: error: ‘KEY_WWAN’ undeclared here (not in a function) 326 | [KEY_WWAN] = "KEY_WWAN", | ^~~~~~~~ event-names.h:409:6: error: ‘KEY_SPELLCHECK’ undeclared here (not in a function) 409 | [KEY_SPELLCHECK] = "KEY_SPELLCHECK", | ^~~~~~~~~~~~~~ event-names.h:327:6: error: ‘KEY_RFKILL’ undeclared here (not in a function) 327 | [KEY_RFKILL] = "KEY_RFKILL", | ^~~~~~~~~~ event-names.h:410:6: error: ‘KEY_LOGOFF’ undeclared here (not in a function) 410 | [KEY_LOGOFF] = "KEY_LOGOFF", | ^~~~~~~~~~ event-names.h:328:6: error: ‘KEY_MICMUTE’ undeclared here (not in a function) 328 | [KEY_MICMUTE] = "KEY_MICMUTE", | ^~~~~~~~~~~ event-names.h:411:6: error: ‘KEY_DOLLAR’ undeclared here (not in a function) 411 | [KEY_DOLLAR] = "KEY_DOLLAR", | ^~~~~~~~~~ event-names.h:329:6: error: ‘KEY_OK’ undeclared here (not in a function) 329 | [KEY_OK] = "KEY_OK", | ^~~~~~ event-names.h:412:6: error: ‘KEY_EURO’ undeclared here (not in a function) 412 | [KEY_EURO] = "KEY_EURO", | ^~~~~~~~ event-names.h:330:6: error: ‘KEY_SELECT’ undeclared here (not in a function) 330 | [KEY_SELECT] = "KEY_SELECT", | ^~~~~~~~~~ event-names.h:413:6: error: ‘KEY_FRAMEBACK’ undeclared here (not in a function) 413 | [KEY_FRAMEBACK] = "KEY_FRAMEBACK", | ^~~~~~~~~~~~~ event-names.h:331:6: error: ‘KEY_GOTO’ undeclared here (not in a function) 331 | [KEY_GOTO] = "KEY_GOTO", | ^~~~~~~~ event-names.h:414:6: error: ‘KEY_FRAMEFORWARD’ undeclared here (not in a function) 414 | [KEY_FRAMEFORWARD] = "KEY_FRAMEFORWARD", | ^~~~~~~~~~~~~~~~ event-names.h:332:6: error: ‘KEY_CLEAR’ undeclared here (not in a function) 332 | [KEY_CLEAR] = "KEY_CLEAR", | ^~~~~~~~~ event-names.h:333:6: error: ‘KEY_POWER2’ undeclared here (not in a function) 333 | [KEY_POWER2] = "KEY_POWER2", | ^~~~~~~~~~ event-names.h:415:6: error: ‘KEY_CONTEXT_MENU’ undeclared here (not in a function) 415 | [KEY_CONTEXT_MENU] = "KEY_CONTEXT_MENU", | ^~~~~~~~~~~~~~~~ event-names.h:334:6: error: ‘KEY_OPTION’ undeclared here (not in a function) 334 | [KEY_OPTION] = "KEY_OPTION", | ^~~~~~~~~~ event-names.h:335:6: error: ‘KEY_INFO’ undeclared here (not in a function) 335 | [KEY_INFO] = "KEY_INFO", | ^~~~~~~~ event-names.h:416:6: error: ‘KEY_MEDIA_REPEAT’ undeclared here (not in a function) 416 | [KEY_MEDIA_REPEAT] = "KEY_MEDIA_REPEAT", | ^~~~~~~~~~~~~~~~ event-names.h:336:6: error: ‘KEY_TIME’ undeclared here (not in a function); did you mean ‘ETIME’? 336 | [KEY_TIME] = "KEY_TIME", | ^~~~~~~~ | ETIME event-names.h:417:6: error: ‘KEY_10CHANNELSUP’ undeclared here (not in a function) 417 | [KEY_10CHANNELSUP] = "KEY_10CHANNELSUP", | ^~~~~~~~~~~~~~~~ event-names.h:337:6: error: ‘KEY_VENDOR’ undeclared here (not in a function) 337 | [KEY_VENDOR] = "KEY_VENDOR", | ^~~~~~~~~~ event-names.h:418:6: error: ‘KEY_10CHANNELSDOWN’ undeclared here (not in a function) 418 | [KEY_10CHANNELSDOWN] = "KEY_10CHANNELSDOWN", | ^~~~~~~~~~~~~~~~~~ event-names.h:338:6: error: ‘KEY_ARCHIVE’ undeclared here (not in a function) 338 | [KEY_ARCHIVE] = "KEY_ARCHIVE", | ^~~~~~~~~~~ event-names.h:419:6: error: ‘KEY_IMAGES’ undeclared here (not in a function) 419 | [KEY_IMAGES] = "KEY_IMAGES", | ^~~~~~~~~~ event-names.h:339:6: error: ‘KEY_PROGRAM’ undeclared here (not in a function) 339 | [KEY_PROGRAM] = "KEY_PROGRAM", | ^~~~~~~~~~~ event-names.h:340:6: error: ‘KEY_CHANNEL’ undeclared here (not in a function) 340 | [KEY_CHANNEL] = "KEY_CHANNEL", | ^~~~~~~~~~~ event-names.h:420:6: error: ‘KEY_NOTIFICATION_CENTER’ undeclared here (not in a function) 420 | [KEY_NOTIFICATION_CENTER] = "KEY_NOTIFICATION_CENTER", | ^~~~~~~~~~~~~~~~~~~~~~~ event-names.h:421:6: error: ‘KEY_PICKUP_PHONE’ undeclared here (not in a function) 421 | [KEY_PICKUP_PHONE] = "KEY_PICKUP_PHONE", | ^~~~~~~~~~~~~~~~ event-names.h:341:6: error: ‘KEY_FAVORITES’ undeclared here (not in a function) 341 | [KEY_FAVORITES] = "KEY_FAVORITES", | ^~~~~~~~~~~~~ event-names.h:342:6: error: ‘KEY_EPG’ undeclared here (not in a function) 342 | [KEY_EPG] = "KEY_EPG", | ^~~~~~~ event-names.h:422:6: error: ‘KEY_HANGUP_PHONE’ undeclared here (not in a function) 422 | [KEY_HANGUP_PHONE] = "KEY_HANGUP_PHONE", | ^~~~~~~~~~~~~~~~ event-names.h:343:6: error: ‘KEY_PVR’ undeclared here (not in a function) 343 | [KEY_PVR] = "KEY_PVR", | ^~~~~~~ event-names.h:344:6: error: ‘KEY_MHP’ undeclared here (not in a function) 344 | [KEY_MHP] = "KEY_MHP", | ^~~~~~~ event-names.h:423:6: error: ‘KEY_DEL_EOL’ undeclared here (not in a function) 423 | [KEY_DEL_EOL] = "KEY_DEL_EOL", | ^~~~~~~~~~~ event-names.h:345:6: error: ‘KEY_LANGUAGE’ undeclared here (not in a function) 345 | [KEY_LANGUAGE] = "KEY_LANGUAGE", | ^~~~~~~~~~~~ event-names.h:424:6: error: ‘KEY_DEL_EOS’ undeclared here (not in a function) 424 | [KEY_DEL_EOS] = "KEY_DEL_EOS", | ^~~~~~~~~~~ event-names.h:346:6: error: ‘KEY_TITLE’ undeclared here (not in a function) 346 | [KEY_TITLE] = "KEY_TITLE", | ^~~~~~~~~ event-names.h:425:6: error: ‘KEY_INS_LINE’ undeclared here (not in a function) 425 | [KEY_INS_LINE] = "KEY_INS_LINE", | ^~~~~~~~~~~~ event-names.h:426:6: error: ‘KEY_DEL_LINE’ undeclared here (not in a function) 426 | [KEY_DEL_LINE] = "KEY_DEL_LINE", | ^~~~~~~~~~~~ event-names.h:347:6: error: ‘KEY_SUBTITLE’ undeclared here (not in a function) 347 | [KEY_SUBTITLE] = "KEY_SUBTITLE", | ^~~~~~~~~~~~ event-names.h:427:6: error: ‘KEY_FN’ undeclared here (not in a function) 427 | [KEY_FN] = "KEY_FN", | ^~~~~~ event-names.h:348:6: error: ‘KEY_ANGLE’ undeclared here (not in a function) 348 | [KEY_ANGLE] = "KEY_ANGLE", | ^~~~~~~~~ event-names.h:428:6: error: ‘KEY_FN_ESC’ undeclared here (not in a function) 428 | [KEY_FN_ESC] = "KEY_FN_ESC", | ^~~~~~~~~~ event-names.h:429:6: error: ‘KEY_FN_F1’ undeclared here (not in a function) 429 | [KEY_FN_F1] = "KEY_FN_F1", | ^~~~~~~~~ event-names.h:349:6: error: ‘KEY_FULL_SCREEN’ undeclared here (not in a function) 349 | [KEY_FULL_SCREEN] = "KEY_FULL_SCREEN", | ^~~~~~~~~~~~~~~ event-names.h:430:6: error: ‘KEY_FN_F2’ undeclared here (not in a function) 430 | [KEY_FN_F2] = "KEY_FN_F2", | ^~~~~~~~~ event-names.h:350:6: error: ‘KEY_MODE’ undeclared here (not in a function) 350 | [KEY_MODE] = "KEY_MODE", | ^~~~~~~~ event-names.h:431:6: error: ‘KEY_FN_F3’ undeclared here (not in a function) 431 | [KEY_FN_F3] = "KEY_FN_F3", | ^~~~~~~~~ event-names.h:351:6: error: ‘KEY_KEYBOARD’ undeclared here (not in a function) 351 | [KEY_KEYBOARD] = "KEY_KEYBOARD", | ^~~~~~~~~~~~ event-names.h:432:6: error: ‘KEY_FN_F4’ undeclared here (not in a function) 432 | [KEY_FN_F4] = "KEY_FN_F4", | ^~~~~~~~~ event-names.h:433:6: error: ‘KEY_FN_F5’ undeclared here (not in a function) 433 | [KEY_FN_F5] = "KEY_FN_F5", | ^~~~~~~~~ event-names.h:352:6: error: ‘KEY_ASPECT_RATIO’ undeclared here (not in a function) 352 | [KEY_ASPECT_RATIO] = "KEY_ASPECT_RATIO", | ^~~~~~~~~~~~~~~~ event-names.h:434:6: error: ‘KEY_FN_F6’ undeclared here (not in a function) 434 | [KEY_FN_F6] = "KEY_FN_F6", | ^~~~~~~~~ event-names.h:353:6: error: ‘KEY_PC’ undeclared here (not in a function) 353 | [KEY_PC] = "KEY_PC", | ^~~~~~ event-names.h:435:6: error: ‘KEY_FN_F7’ undeclared here (not in a function) 435 | [KEY_FN_F7] = "KEY_FN_F7", | ^~~~~~~~~ event-names.h:354:6: error: ‘KEY_TV’ undeclared here (not in a function) 354 | [KEY_TV] = "KEY_TV", | ^~~~~~ event-names.h:355:6: error: ‘KEY_TV2’ undeclared here (not in a function) 355 | [KEY_TV2] = "KEY_TV2", | ^~~~~~~ event-names.h:436:6: error: ‘KEY_FN_F8’ undeclared here (not in a function) 436 | [KEY_FN_F8] = "KEY_FN_F8", | ^~~~~~~~~ event-names.h:356:6: error: ‘KEY_VCR’ undeclared here (not in a function) 356 | [KEY_VCR] = "KEY_VCR", | ^~~~~~~ event-names.h:437:6: error: ‘KEY_FN_F9’ undeclared here (not in a function) 437 | [KEY_FN_F9] = "KEY_FN_F9", | ^~~~~~~~~ event-names.h:357:6: error: ‘KEY_VCR2’ undeclared here (not in a function) 357 | [KEY_VCR2] = "KEY_VCR2", | ^~~~~~~~ event-names.h:438:6: error: ‘KEY_FN_F10’ undeclared here (not in a function) 438 | [KEY_FN_F10] = "KEY_FN_F10", | ^~~~~~~~~~ event-names.h:358:6: error: ‘KEY_SAT’ undeclared here (not in a function) 358 | [KEY_SAT] = "KEY_SAT", | ^~~~~~~ event-names.h:439:6: error: ‘KEY_FN_F11’ undeclared here (not in a function) 439 | [KEY_FN_F11] = "KEY_FN_F11", | ^~~~~~~~~~ event-names.h:359:6: error: ‘KEY_SAT2’ undeclared here (not in a function) 359 | [KEY_SAT2] = "KEY_SAT2", | ^~~~~~~~ event-names.h:360:6: error: ‘KEY_CD’ undeclared here (not in a function) 360 | [KEY_CD] = "KEY_CD", | ^~~~~~ event-names.h:440:6: error: ‘KEY_FN_F12’ undeclared here (not in a function) 440 | [KEY_FN_F12] = "KEY_FN_F12", | ^~~~~~~~~~ event-names.h:361:6: error: ‘KEY_TAPE’ undeclared here (not in a function) 361 | [KEY_TAPE] = "KEY_TAPE", | ^~~~~~~~ event-names.h:441:6: error: ‘KEY_FN_1’ undeclared here (not in a function) 441 | [KEY_FN_1] = "KEY_FN_1", | ^~~~~~~~ event-names.h:442:6: error: ‘KEY_FN_2’ undeclared here (not in a function) 442 | [KEY_FN_2] = "KEY_FN_2", | ^~~~~~~~ event-names.h:362:6: error: ‘KEY_RADIO’ undeclared here (not in a function) 362 | [KEY_RADIO] = "KEY_RADIO", | ^~~~~~~~~ event-names.h:443:6: error: ‘KEY_FN_D’ undeclared here (not in a function) 443 | [KEY_FN_D] = "KEY_FN_D", | ^~~~~~~~ event-names.h:363:6: error: ‘KEY_TUNER’ undeclared here (not in a function) 363 | [KEY_TUNER] = "KEY_TUNER", | ^~~~~~~~~ event-names.h:444:6: error: ‘KEY_FN_E’ undeclared here (not in a function) 444 | [KEY_FN_E] = "KEY_FN_E", | ^~~~~~~~ event-names.h:364:6: error: ‘KEY_PLAYER’ undeclared here (not in a function) 364 | [KEY_PLAYER] = "KEY_PLAYER", | ^~~~~~~~~~ event-names.h:445:6: error: ‘KEY_FN_F’ undeclared here (not in a function) 445 | [KEY_FN_F] = "KEY_FN_F", | ^~~~~~~~ event-names.h:446:6: error: ‘KEY_FN_S’ undeclared here (not in a function) 446 | [KEY_FN_S] = "KEY_FN_S", | ^~~~~~~~ event-names.h:365:6: error: ‘KEY_TEXT’ undeclared here (not in a function) 365 | [KEY_TEXT] = "KEY_TEXT", | ^~~~~~~~ event-names.h:366:6: error: ‘KEY_DVD’ undeclared here (not in a function) 366 | [KEY_DVD] = "KEY_DVD", | ^~~~~~~ event-names.h:447:6: error: ‘KEY_FN_B’ undeclared here (not in a function) 447 | [KEY_FN_B] = "KEY_FN_B", | ^~~~~~~~ event-names.h:367:6: error: ‘KEY_AUX’ undeclared here (not in a function) 367 | [KEY_AUX] = "KEY_AUX", | ^~~~~~~ event-names.h:368:6: error: ‘KEY_MP3’ undeclared here (not in a function) 368 | [KEY_MP3] = "KEY_MP3", | ^~~~~~~ event-names.h:448:6: error: ‘KEY_FN_RIGHT_SHIFT’ undeclared here (not in a function) 448 | [KEY_FN_RIGHT_SHIFT] = "KEY_FN_RIGHT_SHIFT", | ^~~~~~~~~~~~~~~~~~ event-names.h:369:6: error: ‘KEY_AUDIO’ undeclared here (not in a function) 369 | [KEY_AUDIO] = "KEY_AUDIO", | ^~~~~~~~~ event-names.h:449:6: error: ‘KEY_BRL_DOT1’ undeclared here (not in a function) 449 | [KEY_BRL_DOT1] = "KEY_BRL_DOT1", | ^~~~~~~~~~~~ event-names.h:370:6: error: ‘KEY_VIDEO’ undeclared here (not in a function) 370 | [KEY_VIDEO] = "KEY_VIDEO", | ^~~~~~~~~ event-names.h:450:6: error: ‘KEY_BRL_DOT2’ undeclared here (not in a function) 450 | [KEY_BRL_DOT2] = "KEY_BRL_DOT2", | ^~~~~~~~~~~~ event-names.h:371:6: error: ‘KEY_DIRECTORY’ undeclared here (not in a function) 371 | [KEY_DIRECTORY] = "KEY_DIRECTORY", | ^~~~~~~~~~~~~ event-names.h:451:6: error: ‘KEY_BRL_DOT3’ undeclared here (not in a function) 451 | [KEY_BRL_DOT3] = "KEY_BRL_DOT3", | ^~~~~~~~~~~~ event-names.h:372:6: error: ‘KEY_LIST’ undeclared here (not in a function) 372 | [KEY_LIST] = "KEY_LIST", | ^~~~~~~~ event-names.h:452:6: error: ‘KEY_BRL_DOT4’ undeclared here (not in a function) 452 | [KEY_BRL_DOT4] = "KEY_BRL_DOT4", | ^~~~~~~~~~~~ event-names.h:373:6: error: ‘KEY_MEMO’ undeclared here (not in a function) 373 | [KEY_MEMO] = "KEY_MEMO", | ^~~~~~~~ event-names.h:453:6: error: ‘KEY_BRL_DOT5’ undeclared here (not in a function) 453 | [KEY_BRL_DOT5] = "KEY_BRL_DOT5", | ^~~~~~~~~~~~ event-names.h:374:6: error: ‘KEY_CALENDAR’ undeclared here (not in a function) 374 | [KEY_CALENDAR] = "KEY_CALENDAR", | ^~~~~~~~~~~~ event-names.h:454:6: error: ‘KEY_BRL_DOT6’ undeclared here (not in a function) 454 | [KEY_BRL_DOT6] = "KEY_BRL_DOT6", | ^~~~~~~~~~~~ event-names.h:375:6: error: ‘KEY_RED’ undeclared here (not in a function) 375 | [KEY_RED] = "KEY_RED", | ^~~~~~~ event-names.h:376:6: error: ‘KEY_GREEN’ undeclared here (not in a function) 376 | [KEY_GREEN] = "KEY_GREEN", | ^~~~~~~~~ event-names.h:455:6: error: ‘KEY_BRL_DOT7’ undeclared here (not in a function) 455 | [KEY_BRL_DOT7] = "KEY_BRL_DOT7", | ^~~~~~~~~~~~ event-names.h:377:6: error: ‘KEY_YELLOW’ undeclared here (not in a function) 377 | [KEY_YELLOW] = "KEY_YELLOW", | ^~~~~~~~~~ event-names.h:456:6: error: ‘KEY_BRL_DOT8’ undeclared here (not in a function) 456 | [KEY_BRL_DOT8] = "KEY_BRL_DOT8", | ^~~~~~~~~~~~ event-names.h:378:6: error: ‘KEY_BLUE’ undeclared here (not in a function) 378 | [KEY_BLUE] = "KEY_BLUE", | ^~~~~~~~ event-names.h:457:6: error: ‘KEY_BRL_DOT9’ undeclared here (not in a function) 457 | [KEY_BRL_DOT9] = "KEY_BRL_DOT9", | ^~~~~~~~~~~~ event-names.h:379:6: error: ‘KEY_CHANNELUP’ undeclared here (not in a function) 379 | [KEY_CHANNELUP] = "KEY_CHANNELUP", | ^~~~~~~~~~~~~ event-names.h:458:6: error: ‘KEY_BRL_DOT10’ undeclared here (not in a function) 458 | [KEY_BRL_DOT10] = "KEY_BRL_DOT10", | ^~~~~~~~~~~~~ event-names.h:459:6: error: ‘KEY_NUMERIC_0’ undeclared here (not in a function) 459 | [KEY_NUMERIC_0] = "KEY_NUMERIC_0", | ^~~~~~~~~~~~~ event-names.h:380:6: error: ‘KEY_CHANNELDOWN’ undeclared here (not in a function) 380 | [KEY_CHANNELDOWN] = "KEY_CHANNELDOWN", | ^~~~~~~~~~~~~~~ event-names.h:381:6: error: ‘KEY_FIRST’ undeclared here (not in a function) 381 | [KEY_FIRST] = "KEY_FIRST", | ^~~~~~~~~ event-names.h:460:6: error: ‘KEY_NUMERIC_1’ undeclared here (not in a function) 460 | [KEY_NUMERIC_1] = "KEY_NUMERIC_1", | ^~~~~~~~~~~~~ event-names.h:382:6: error: ‘KEY_LAST’ undeclared here (not in a function) 382 | [KEY_LAST] = "KEY_LAST", | ^~~~~~~~ event-names.h:461:6: error: ‘KEY_NUMERIC_2’ undeclared here (not in a function) 461 | [KEY_NUMERIC_2] = "KEY_NUMERIC_2", | ^~~~~~~~~~~~~ event-names.h:383:6: error: ‘KEY_AB’ undeclared here (not in a function) 383 | [KEY_AB] = "KEY_AB", | ^~~~~~ event-names.h:384:6: error: ‘KEY_NEXT’ undeclared here (not in a function) 384 | [KEY_NEXT] = "KEY_NEXT", | ^~~~~~~~ event-names.h:462:6: error: ‘KEY_NUMERIC_3’ undeclared here (not in a function) 462 | [KEY_NUMERIC_3] = "KEY_NUMERIC_3", | ^~~~~~~~~~~~~ event-names.h:385:6: error: ‘KEY_RESTART’ undeclared here (not in a function) 385 | [KEY_RESTART] = "KEY_RESTART", | ^~~~~~~~~~~ event-names.h:463:6: error: ‘KEY_NUMERIC_4’ undeclared here (not in a function) 463 | [KEY_NUMERIC_4] = "KEY_NUMERIC_4", | ^~~~~~~~~~~~~ event-names.h:386:6: error: ‘KEY_SLOW’ undeclared here (not in a function) 386 | [KEY_SLOW] = "KEY_SLOW", | ^~~~~~~~ event-names.h:464:6: error: ‘KEY_NUMERIC_5’ undeclared here (not in a function) 464 | [KEY_NUMERIC_5] = "KEY_NUMERIC_5", | ^~~~~~~~~~~~~ event-names.h:387:6: error: ‘KEY_SHUFFLE’ undeclared here (not in a function) 387 | [KEY_SHUFFLE] = "KEY_SHUFFLE", | ^~~~~~~~~~~ event-names.h:465:6: error: ‘KEY_NUMERIC_6’ undeclared here (not in a function) 465 | [KEY_NUMERIC_6] = "KEY_NUMERIC_6", | ^~~~~~~~~~~~~ event-names.h:388:6: error: ‘KEY_BREAK’ undeclared here (not in a function) 388 | [KEY_BREAK] = "KEY_BREAK", | ^~~~~~~~~ event-names.h:466:6: error: ‘KEY_NUMERIC_7’ undeclared here (not in a function) 466 | [KEY_NUMERIC_7] = "KEY_NUMERIC_7", | ^~~~~~~~~~~~~ event-names.h:389:6: error: ‘KEY_PREVIOUS’ undeclared here (not in a function) 389 | [KEY_PREVIOUS] = "KEY_PREVIOUS", | ^~~~~~~~~~~~ event-names.h:467:6: error: ‘KEY_NUMERIC_8’ undeclared here (not in a function) 467 | [KEY_NUMERIC_8] = "KEY_NUMERIC_8", | ^~~~~~~~~~~~~ event-names.h:390:6: error: ‘KEY_DIGITS’ undeclared here (not in a function) 390 | [KEY_DIGITS] = "KEY_DIGITS", | ^~~~~~~~~~ event-names.h:468:6: error: ‘KEY_NUMERIC_9’ undeclared here (not in a function) 468 | [KEY_NUMERIC_9] = "KEY_NUMERIC_9", | ^~~~~~~~~~~~~ event-names.h:391:6: error: ‘KEY_TEEN’ undeclared here (not in a function) 391 | [KEY_TEEN] = "KEY_TEEN", | ^~~~~~~~ event-names.h:392:6: error: ‘KEY_TWEN’ undeclared here (not in a function) 392 | [KEY_TWEN] = "KEY_TWEN", | ^~~~~~~~ event-names.h:469:6: error: ‘KEY_NUMERIC_STAR’ undeclared here (not in a function) 469 | [KEY_NUMERIC_STAR] = "KEY_NUMERIC_STAR", | ^~~~~~~~~~~~~~~~ event-names.h:393:6: error: ‘KEY_VIDEOPHONE’ undeclared here (not in a function) 393 | [KEY_VIDEOPHONE] = "KEY_VIDEOPHONE", | ^~~~~~~~~~~~~~ event-names.h:470:6: error: ‘KEY_NUMERIC_POUND’ undeclared here (not in a function) 470 | [KEY_NUMERIC_POUND] = "KEY_NUMERIC_POUND", | ^~~~~~~~~~~~~~~~~ event-names.h:394:6: error: ‘KEY_GAMES’ undeclared here (not in a function) 394 | [KEY_GAMES] = "KEY_GAMES", | ^~~~~~~~~ event-names.h:471:6: error: ‘KEY_NUMERIC_A’ undeclared here (not in a function) 471 | [KEY_NUMERIC_A] = "KEY_NUMERIC_A", | ^~~~~~~~~~~~~ event-names.h:395:6: error: ‘KEY_ZOOMIN’ undeclared here (not in a function) 395 | [KEY_ZOOMIN] = "KEY_ZOOMIN", | ^~~~~~~~~~ event-names.h:472:6: error: ‘KEY_NUMERIC_B’ undeclared here (not in a function) 472 | [KEY_NUMERIC_B] = "KEY_NUMERIC_B", | ^~~~~~~~~~~~~ event-names.h:396:6: error: ‘KEY_ZOOMOUT’ undeclared here (not in a function) 396 | [KEY_ZOOMOUT] = "KEY_ZOOMOUT", | ^~~~~~~~~~~ event-names.h:473:6: error: ‘KEY_NUMERIC_C’ undeclared here (not in a function) 473 | [KEY_NUMERIC_C] = "KEY_NUMERIC_C", | ^~~~~~~~~~~~~ event-names.h:397:6: error: ‘KEY_ZOOMRESET’ undeclared here (not in a function) 397 | [KEY_ZOOMRESET] = "KEY_ZOOMRESET", | ^~~~~~~~~~~~~ event-names.h:474:6: error: ‘KEY_NUMERIC_D’ undeclared here (not in a function) 474 | [KEY_NUMERIC_D] = "KEY_NUMERIC_D", | ^~~~~~~~~~~~~ event-names.h:398:6: error: ‘KEY_WORDPROCESSOR’ undeclared here (not in a function) 398 | [KEY_WORDPROCESSOR] = "KEY_WORDPROCESSOR", | ^~~~~~~~~~~~~~~~~ event-names.h:475:6: error: ‘KEY_CAMERA_FOCUS’ undeclared here (not in a function) 475 | [KEY_CAMERA_FOCUS] = "KEY_CAMERA_FOCUS", | ^~~~~~~~~~~~~~~~ event-names.h:399:6: error: ‘KEY_EDITOR’ undeclared here (not in a function) 399 | [KEY_EDITOR] = "KEY_EDITOR", | ^~~~~~~~~~ event-names.h:476:6: error: ‘KEY_WPS_BUTTON’ undeclared here (not in a function) 476 | [KEY_WPS_BUTTON] = "KEY_WPS_BUTTON", | ^~~~~~~~~~~~~~ event-names.h:400:6: error: ‘KEY_SPREADSHEET’ undeclared here (not in a function) 400 | [KEY_SPREADSHEET] = "KEY_SPREADSHEET", | ^~~~~~~~~~~~~~~ event-names.h:477:6: error: ‘KEY_TOUCHPAD_TOGGLE’ undeclared here (not in a function) 477 | [KEY_TOUCHPAD_TOGGLE] = "KEY_TOUCHPAD_TOGGLE", | ^~~~~~~~~~~~~~~~~~~ event-names.h:478:6: error: ‘KEY_TOUCHPAD_ON’ undeclared here (not in a function) 478 | [KEY_TOUCHPAD_ON] = "KEY_TOUCHPAD_ON", | ^~~~~~~~~~~~~~~ event-names.h:401:6: error: ‘KEY_GRAPHICSEDITOR’ undeclared here (not in a function) 401 | [KEY_GRAPHICSEDITOR] = "KEY_GRAPHICSEDITOR", | ^~~~~~~~~~~~~~~~~~ event-names.h:479:6: error: ‘KEY_TOUCHPAD_OFF’ undeclared here (not in a function) 479 | [KEY_TOUCHPAD_OFF] = "KEY_TOUCHPAD_OFF", | ^~~~~~~~~~~~~~~~ event-names.h:402:6: error: ‘KEY_PRESENTATION’ undeclared here (not in a function) 402 | [KEY_PRESENTATION] = "KEY_PRESENTATION", | ^~~~~~~~~~~~~~~~ event-names.h:480:6: error: ‘KEY_CAMERA_ZOOMIN’ undeclared here (not in a function) 480 | [KEY_CAMERA_ZOOMIN] = "KEY_CAMERA_ZOOMIN", | ^~~~~~~~~~~~~~~~~ event-names.h:403:6: error: ‘KEY_DATABASE’ undeclared here (not in a function) 403 | [KEY_DATABASE] = "KEY_DATABASE", | ^~~~~~~~~~~~ event-names.h:404:6: error: ‘KEY_NEWS’ undeclared here (not in a function) 404 | [KEY_NEWS] = "KEY_NEWS", | ^~~~~~~~ event-names.h:481:6: error: ‘KEY_CAMERA_ZOOMOUT’ undeclared here (not in a function) 481 | [KEY_CAMERA_ZOOMOUT] = "KEY_CAMERA_ZOOMOUT", | ^~~~~~~~~~~~~~~~~~ event-names.h:405:6: error: ‘KEY_VOICEMAIL’ undeclared here (not in a function) 405 | [KEY_VOICEMAIL] = "KEY_VOICEMAIL", | ^~~~~~~~~~~~~ event-names.h:482:6: error: ‘KEY_CAMERA_UP’ undeclared here (not in a function) 482 | [KEY_CAMERA_UP] = "KEY_CAMERA_UP", | ^~~~~~~~~~~~~ event-names.h:406:6: error: ‘KEY_ADDRESSBOOK’ undeclared here (not in a function) 406 | [KEY_ADDRESSBOOK] = "KEY_ADDRESSBOOK", | ^~~~~~~~~~~~~~~ event-names.h:483:6: error: ‘KEY_CAMERA_DOWN’ undeclared here (not in a function) 483 | [KEY_CAMERA_DOWN] = "KEY_CAMERA_DOWN", | ^~~~~~~~~~~~~~~ event-names.h:407:6: error: ‘KEY_MESSENGER’ undeclared here (not in a function) 407 | [KEY_MESSENGER] = "KEY_MESSENGER", | ^~~~~~~~~~~~~ event-names.h:484:6: error: ‘KEY_CAMERA_LEFT’ undeclared here (not in a function) 484 | [KEY_CAMERA_LEFT] = "KEY_CAMERA_LEFT", | ^~~~~~~~~~~~~~~ event-names.h:485:6: error: ‘KEY_CAMERA_RIGHT’ undeclared here (not in a function) 485 | [KEY_CAMERA_RIGHT] = "KEY_CAMERA_RIGHT", | ^~~~~~~~~~~~~~~~ event-names.h:408:6: error: ‘KEY_DISPLAYTOGGLE’ undeclared here (not in a function) 408 | [KEY_DISPLAYTOGGLE] = "KEY_DISPLAYTOGGLE", | ^~~~~~~~~~~~~~~~~ event-names.h:486:6: error: ‘KEY_ATTENDANT_ON’ undeclared here (not in a function) 486 | [KEY_ATTENDANT_ON] = "KEY_ATTENDANT_ON", | ^~~~~~~~~~~~~~~~ event-names.h:409:6: error: ‘KEY_SPELLCHECK’ undeclared here (not in a function) 409 | [KEY_SPELLCHECK] = "KEY_SPELLCHECK", | ^~~~~~~~~~~~~~ event-names.h:410:6: error: ‘KEY_LOGOFF’ undeclared here (not in a function) 410 | [KEY_LOGOFF] = "KEY_LOGOFF", | ^~~~~~~~~~ event-names.h:487:6: error: ‘KEY_ATTENDANT_OFF’ undeclared here (not in a function) 487 | [KEY_ATTENDANT_OFF] = "KEY_ATTENDANT_OFF", | ^~~~~~~~~~~~~~~~~ event-names.h:411:6: error: ‘KEY_DOLLAR’ undeclared here (not in a function) 411 | [KEY_DOLLAR] = "KEY_DOLLAR", | ^~~~~~~~~~ event-names.h:488:6: error: ‘KEY_ATTENDANT_TOGGLE’ undeclared here (not in a function) 488 | [KEY_ATTENDANT_TOGGLE] = "KEY_ATTENDANT_TOGGLE", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:412:6: error: ‘KEY_EURO’ undeclared here (not in a function) 412 | [KEY_EURO] = "KEY_EURO", | ^~~~~~~~ event-names.h:489:6: error: ‘KEY_LIGHTS_TOGGLE’ undeclared here (not in a function) 489 | [KEY_LIGHTS_TOGGLE] = "KEY_LIGHTS_TOGGLE", | ^~~~~~~~~~~~~~~~~ event-names.h:413:6: error: ‘KEY_FRAMEBACK’ undeclared here (not in a function) 413 | [KEY_FRAMEBACK] = "KEY_FRAMEBACK", | ^~~~~~~~~~~~~ event-names.h:490:6: error: ‘KEY_ALS_TOGGLE’ undeclared here (not in a function) 490 | [KEY_ALS_TOGGLE] = "KEY_ALS_TOGGLE", | ^~~~~~~~~~~~~~ event-names.h:414:6: error: ‘KEY_FRAMEFORWARD’ undeclared here (not in a function) 414 | [KEY_FRAMEFORWARD] = "KEY_FRAMEFORWARD", | ^~~~~~~~~~~~~~~~ event-names.h:491:6: error: ‘KEY_ROTATE_LOCK_TOGGLE’ undeclared here (not in a function) 491 | [KEY_ROTATE_LOCK_TOGGLE] = "KEY_ROTATE_LOCK_TOGGLE", | ^~~~~~~~~~~~~~~~~~~~~~ event-names.h:415:6: error: ‘KEY_CONTEXT_MENU’ undeclared here (not in a function) 415 | [KEY_CONTEXT_MENU] = "KEY_CONTEXT_MENU", | ^~~~~~~~~~~~~~~~ event-names.h:492:6: error: ‘KEY_BUTTONCONFIG’ undeclared here (not in a function) 492 | [KEY_BUTTONCONFIG] = "KEY_BUTTONCONFIG", | ^~~~~~~~~~~~~~~~ event-names.h:416:6: error: ‘KEY_MEDIA_REPEAT’ undeclared here (not in a function) 416 | [KEY_MEDIA_REPEAT] = "KEY_MEDIA_REPEAT", | ^~~~~~~~~~~~~~~~ event-names.h:493:6: error: ‘KEY_TASKMANAGER’ undeclared here (not in a function) 493 | [KEY_TASKMANAGER] = "KEY_TASKMANAGER", | ^~~~~~~~~~~~~~~ event-names.h:417:6: error: ‘KEY_10CHANNELSUP’ undeclared here (not in a function) 417 | [KEY_10CHANNELSUP] = "KEY_10CHANNELSUP", | ^~~~~~~~~~~~~~~~ event-names.h:494:6: error: ‘KEY_JOURNAL’ undeclared here (not in a function) 494 | [KEY_JOURNAL] = "KEY_JOURNAL", | ^~~~~~~~~~~ event-names.h:495:6: error: ‘KEY_CONTROLPANEL’ undeclared here (not in a function) 495 | [KEY_CONTROLPANEL] = "KEY_CONTROLPANEL", | ^~~~~~~~~~~~~~~~ event-names.h:418:6: error: ‘KEY_10CHANNELSDOWN’ undeclared here (not in a function) 418 | [KEY_10CHANNELSDOWN] = "KEY_10CHANNELSDOWN", | ^~~~~~~~~~~~~~~~~~ event-names.h:496:6: error: ‘KEY_APPSELECT’ undeclared here (not in a function) 496 | [KEY_APPSELECT] = "KEY_APPSELECT", | ^~~~~~~~~~~~~ event-names.h:419:6: error: ‘KEY_IMAGES’ undeclared here (not in a function) 419 | [KEY_IMAGES] = "KEY_IMAGES", | ^~~~~~~~~~ event-names.h:497:6: error: ‘KEY_SCREENSAVER’ undeclared here (not in a function) 497 | [KEY_SCREENSAVER] = "KEY_SCREENSAVER", | ^~~~~~~~~~~~~~~ event-names.h:420:6: error: ‘KEY_NOTIFICATION_CENTER’ undeclared here (not in a function) 420 | [KEY_NOTIFICATION_CENTER] = "KEY_NOTIFICATION_CENTER", | ^~~~~~~~~~~~~~~~~~~~~~~ event-names.h:498:6: error: ‘KEY_VOICECOMMAND’ undeclared here (not in a function) 498 | [KEY_VOICECOMMAND] = "KEY_VOICECOMMAND", | ^~~~~~~~~~~~~~~~ event-names.h:421:6: error: ‘KEY_PICKUP_PHONE’ undeclared here (not in a function) 421 | [KEY_PICKUP_PHONE] = "KEY_PICKUP_PHONE", | ^~~~~~~~~~~~~~~~ event-names.h:499:6: error: ‘KEY_ASSISTANT’ undeclared here (not in a function) 499 | [KEY_ASSISTANT] = "KEY_ASSISTANT", | ^~~~~~~~~~~~~ event-names.h:422:6: error: ‘KEY_HANGUP_PHONE’ undeclared here (not in a function) 422 | [KEY_HANGUP_PHONE] = "KEY_HANGUP_PHONE", | ^~~~~~~~~~~~~~~~ event-names.h:500:6: error: ‘KEY_KBD_LAYOUT_NEXT’ undeclared here (not in a function) 500 | [KEY_KBD_LAYOUT_NEXT] = "KEY_KBD_LAYOUT_NEXT", | ^~~~~~~~~~~~~~~~~~~ event-names.h:423:6: error: ‘KEY_DEL_EOL’ undeclared here (not in a function) 423 | [KEY_DEL_EOL] = "KEY_DEL_EOL", | ^~~~~~~~~~~ event-names.h:501:6: error: ‘KEY_BRIGHTNESS_MIN’ undeclared here (not in a function) 501 | [KEY_BRIGHTNESS_MIN] = "KEY_BRIGHTNESS_MIN", | ^~~~~~~~~~~~~~~~~~ event-names.h:424:6: error: ‘KEY_DEL_EOS’ undeclared here (not in a function) 424 | [KEY_DEL_EOS] = "KEY_DEL_EOS", | ^~~~~~~~~~~ event-names.h:502:6: error: ‘KEY_BRIGHTNESS_MAX’ undeclared here (not in a function) 502 | [KEY_BRIGHTNESS_MAX] = "KEY_BRIGHTNESS_MAX", | ^~~~~~~~~~~~~~~~~~ event-names.h:425:6: error: ‘KEY_INS_LINE’ undeclared here (not in a function) 425 | [KEY_INS_LINE] = "KEY_INS_LINE", | ^~~~~~~~~~~~ event-names.h:503:6: error: ‘KEY_KBDINPUTASSIST_PREV’ undeclared here (not in a function) 503 | [KEY_KBDINPUTASSIST_PREV] = "KEY_KBDINPUTASSIST_PREV", | ^~~~~~~~~~~~~~~~~~~~~~~ event-names.h:426:6: error: ‘KEY_DEL_LINE’ undeclared here (not in a function) 426 | [KEY_DEL_LINE] = "KEY_DEL_LINE", | ^~~~~~~~~~~~ event-names.h:427:6: error: ‘KEY_FN’ undeclared here (not in a function) 427 | [KEY_FN] = "KEY_FN", | ^~~~~~ event-names.h:504:6: error: ‘KEY_KBDINPUTASSIST_NEXT’ undeclared here (not in a function) 504 | [KEY_KBDINPUTASSIST_NEXT] = "KEY_KBDINPUTASSIST_NEXT", | ^~~~~~~~~~~~~~~~~~~~~~~ event-names.h:428:6: error: ‘KEY_FN_ESC’ undeclared here (not in a function) 428 | [KEY_FN_ESC] = "KEY_FN_ESC", | ^~~~~~~~~~ event-names.h:429:6: error: ‘KEY_FN_F1’ undeclared here (not in a function) 429 | [KEY_FN_F1] = "KEY_FN_F1", | ^~~~~~~~~ event-names.h:505:6: error: ‘KEY_KBDINPUTASSIST_PREVGROUP’ undeclared here (not in a function) 505 | [KEY_KBDINPUTASSIST_PREVGROUP] = "KEY_KBDINPUTASSIST_PREVGROUP", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:430:6: error: ‘KEY_FN_F2’ undeclared here (not in a function) 430 | [KEY_FN_F2] = "KEY_FN_F2", | ^~~~~~~~~ event-names.h:431:6: error: ‘KEY_FN_F3’ undeclared here (not in a function) 431 | [KEY_FN_F3] = "KEY_FN_F3", | ^~~~~~~~~ event-names.h:506:6: error: ‘KEY_KBDINPUTASSIST_NEXTGROUP’ undeclared here (not in a function) 506 | [KEY_KBDINPUTASSIST_NEXTGROUP] = "KEY_KBDINPUTASSIST_NEXTGROUP", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:432:6: error: ‘KEY_FN_F4’ undeclared here (not in a function) 432 | [KEY_FN_F4] = "KEY_FN_F4", | ^~~~~~~~~ event-names.h:433:6: error: ‘KEY_FN_F5’ undeclared here (not in a function) 433 | [KEY_FN_F5] = "KEY_FN_F5", | ^~~~~~~~~ event-names.h:507:6: error: ‘KEY_KBDINPUTASSIST_ACCEPT’ undeclared here (not in a function) 507 | [KEY_KBDINPUTASSIST_ACCEPT] = "KEY_KBDINPUTASSIST_ACCEPT", | ^~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:434:6: error: ‘KEY_FN_F6’ undeclared here (not in a function) 434 | [KEY_FN_F6] = "KEY_FN_F6", | ^~~~~~~~~ event-names.h:508:6: error: ‘KEY_KBDINPUTASSIST_CANCEL’ undeclared here (not in a function) 508 | [KEY_KBDINPUTASSIST_CANCEL] = "KEY_KBDINPUTASSIST_CANCEL", | ^~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:435:6: error: ‘KEY_FN_F7’ undeclared here (not in a function) 435 | [KEY_FN_F7] = "KEY_FN_F7", | ^~~~~~~~~ event-names.h:436:6: error: ‘KEY_FN_F8’ undeclared here (not in a function) 436 | [KEY_FN_F8] = "KEY_FN_F8", | ^~~~~~~~~ event-names.h:509:6: error: ‘KEY_RIGHT_UP’ undeclared here (not in a function) 509 | [KEY_RIGHT_UP] = "KEY_RIGHT_UP", | ^~~~~~~~~~~~ event-names.h:437:6: error: ‘KEY_FN_F9’ undeclared here (not in a function) 437 | [KEY_FN_F9] = "KEY_FN_F9", | ^~~~~~~~~ event-names.h:510:6: error: ‘KEY_RIGHT_DOWN’ undeclared here (not in a function) 510 | [KEY_RIGHT_DOWN] = "KEY_RIGHT_DOWN", | ^~~~~~~~~~~~~~ event-names.h:438:6: error: ‘KEY_FN_F10’ undeclared here (not in a function) 438 | [KEY_FN_F10] = "KEY_FN_F10", | ^~~~~~~~~~ event-names.h:511:6: error: ‘KEY_LEFT_UP’ undeclared here (not in a function) 511 | [KEY_LEFT_UP] = "KEY_LEFT_UP", | ^~~~~~~~~~~ event-names.h:439:6: error: ‘KEY_FN_F11’ undeclared here (not in a function) 439 | [KEY_FN_F11] = "KEY_FN_F11", | ^~~~~~~~~~ event-names.h:512:6: error: ‘KEY_LEFT_DOWN’ undeclared here (not in a function) 512 | [KEY_LEFT_DOWN] = "KEY_LEFT_DOWN", | ^~~~~~~~~~~~~ event-names.h:440:6: error: ‘KEY_FN_F12’ undeclared here (not in a function) 440 | [KEY_FN_F12] = "KEY_FN_F12", | ^~~~~~~~~~ event-names.h:513:6: error: ‘KEY_ROOT_MENU’ undeclared here (not in a function) 513 | [KEY_ROOT_MENU] = "KEY_ROOT_MENU", | ^~~~~~~~~~~~~ event-names.h:441:6: error: ‘KEY_FN_1’ undeclared here (not in a function) 441 | [KEY_FN_1] = "KEY_FN_1", | ^~~~~~~~ event-names.h:442:6: error: ‘KEY_FN_2’ undeclared here (not in a function) 442 | [KEY_FN_2] = "KEY_FN_2", | ^~~~~~~~ event-names.h:514:6: error: ‘KEY_MEDIA_TOP_MENU’ undeclared here (not in a function) 514 | [KEY_MEDIA_TOP_MENU] = "KEY_MEDIA_TOP_MENU", | ^~~~~~~~~~~~~~~~~~ event-names.h:443:6: error: ‘KEY_FN_D’ undeclared here (not in a function) 443 | [KEY_FN_D] = "KEY_FN_D", | ^~~~~~~~ event-names.h:515:6: error: ‘KEY_NUMERIC_11’ undeclared here (not in a function) 515 | [KEY_NUMERIC_11] = "KEY_NUMERIC_11", | ^~~~~~~~~~~~~~ event-names.h:444:6: error: ‘KEY_FN_E’ undeclared here (not in a function) 444 | [KEY_FN_E] = "KEY_FN_E", | ^~~~~~~~ event-names.h:445:6: error: ‘KEY_FN_F’ undeclared here (not in a function) 445 | [KEY_FN_F] = "KEY_FN_F", | ^~~~~~~~ event-names.h:516:6: error: ‘KEY_NUMERIC_12’ undeclared here (not in a function) 516 | [KEY_NUMERIC_12] = "KEY_NUMERIC_12", | ^~~~~~~~~~~~~~ event-names.h:446:6: error: ‘KEY_FN_S’ undeclared here (not in a function) 446 | [KEY_FN_S] = "KEY_FN_S", | ^~~~~~~~ event-names.h:517:6: error: ‘KEY_AUDIO_DESC’ undeclared here (not in a function) 517 | [KEY_AUDIO_DESC] = "KEY_AUDIO_DESC", | ^~~~~~~~~~~~~~ event-names.h:447:6: error: ‘KEY_FN_B’ undeclared here (not in a function) 447 | [KEY_FN_B] = "KEY_FN_B", | ^~~~~~~~ event-names.h:518:6: error: ‘KEY_3D_MODE’ undeclared here (not in a function) 518 | [KEY_3D_MODE] = "KEY_3D_MODE", | ^~~~~~~~~~~ event-names.h:448:6: error: ‘KEY_FN_RIGHT_SHIFT’ undeclared here (not in a function) 448 | [KEY_FN_RIGHT_SHIFT] = "KEY_FN_RIGHT_SHIFT", | ^~~~~~~~~~~~~~~~~~ event-names.h:519:6: error: ‘KEY_NEXT_FAVORITE’ undeclared here (not in a function) 519 | [KEY_NEXT_FAVORITE] = "KEY_NEXT_FAVORITE", | ^~~~~~~~~~~~~~~~~ event-names.h:449:6: error: ‘KEY_BRL_DOT1’ undeclared here (not in a function) 449 | [KEY_BRL_DOT1] = "KEY_BRL_DOT1", | ^~~~~~~~~~~~ event-names.h:520:6: error: ‘KEY_STOP_RECORD’ undeclared here (not in a function) 520 | [KEY_STOP_RECORD] = "KEY_STOP_RECORD", | ^~~~~~~~~~~~~~~ event-names.h:450:6: error: ‘KEY_BRL_DOT2’ undeclared here (not in a function) 450 | [KEY_BRL_DOT2] = "KEY_BRL_DOT2", | ^~~~~~~~~~~~ event-names.h:521:6: error: ‘KEY_PAUSE_RECORD’ undeclared here (not in a function) 521 | [KEY_PAUSE_RECORD] = "KEY_PAUSE_RECORD", | ^~~~~~~~~~~~~~~~ event-names.h:522:6: error: ‘KEY_VOD’ undeclared here (not in a function) 522 | [KEY_VOD] = "KEY_VOD", | ^~~~~~~ event-names.h:451:6: error: ‘KEY_BRL_DOT3’ undeclared here (not in a function) 451 | [KEY_BRL_DOT3] = "KEY_BRL_DOT3", | ^~~~~~~~~~~~ event-names.h:523:6: error: ‘KEY_UNMUTE’ undeclared here (not in a function) 523 | [KEY_UNMUTE] = "KEY_UNMUTE", | ^~~~~~~~~~ event-names.h:452:6: error: ‘KEY_BRL_DOT4’ undeclared here (not in a function) 452 | [KEY_BRL_DOT4] = "KEY_BRL_DOT4", | ^~~~~~~~~~~~ event-names.h:524:6: error: ‘KEY_FASTREVERSE’ undeclared here (not in a function) 524 | [KEY_FASTREVERSE] = "KEY_FASTREVERSE", | ^~~~~~~~~~~~~~~ event-names.h:453:6: error: ‘KEY_BRL_DOT5’ undeclared here (not in a function) 453 | [KEY_BRL_DOT5] = "KEY_BRL_DOT5", | ^~~~~~~~~~~~ event-names.h:525:6: error: ‘KEY_SLOWREVERSE’ undeclared here (not in a function) 525 | [KEY_SLOWREVERSE] = "KEY_SLOWREVERSE", | ^~~~~~~~~~~~~~~ event-names.h:526:6: error: ‘KEY_DATA’ undeclared here (not in a function) 526 | [KEY_DATA] = "KEY_DATA", | ^~~~~~~~ event-names.h:454:6: error: ‘KEY_BRL_DOT6’ undeclared here (not in a function) 454 | [KEY_BRL_DOT6] = "KEY_BRL_DOT6", | ^~~~~~~~~~~~ event-names.h:527:6: error: ‘KEY_ONSCREEN_KEYBOARD’ undeclared here (not in a function) 527 | [KEY_ONSCREEN_KEYBOARD] = "KEY_ONSCREEN_KEYBOARD", | ^~~~~~~~~~~~~~~~~~~~~ event-names.h:455:6: error: ‘KEY_BRL_DOT7’ undeclared here (not in a function) 455 | [KEY_BRL_DOT7] = "KEY_BRL_DOT7", | ^~~~~~~~~~~~ event-names.h:528:6: error: ‘KEY_PRIVACY_SCREEN_TOGGLE’ undeclared here (not in a function) 528 | [KEY_PRIVACY_SCREEN_TOGGLE] = "KEY_PRIVACY_SCREEN_TOGGLE", | ^~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:456:6: error: ‘KEY_BRL_DOT8’ undeclared here (not in a function) 456 | [KEY_BRL_DOT8] = "KEY_BRL_DOT8", | ^~~~~~~~~~~~ event-names.h:529:6: error: ‘KEY_SELECTIVE_SCREENSHOT’ undeclared here (not in a function) 529 | [KEY_SELECTIVE_SCREENSHOT] = "KEY_SELECTIVE_SCREENSHOT", | ^~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:530:6: error: ‘KEY_MACRO1’ undeclared here (not in a function) 530 | [KEY_MACRO1] = "KEY_MACRO1", | ^~~~~~~~~~ event-names.h:457:6: error: ‘KEY_BRL_DOT9’ undeclared here (not in a function) 457 | [KEY_BRL_DOT9] = "KEY_BRL_DOT9", | ^~~~~~~~~~~~ event-names.h:531:6: error: ‘KEY_MACRO2’ undeclared here (not in a function) 531 | [KEY_MACRO2] = "KEY_MACRO2", | ^~~~~~~~~~ event-names.h:532:6: error: ‘KEY_MACRO3’ undeclared here (not in a function) 532 | [KEY_MACRO3] = "KEY_MACRO3", | ^~~~~~~~~~ event-names.h:533:6: error: ‘KEY_MACRO4’ undeclared here (not in a function) 533 | [KEY_MACRO4] = "KEY_MACRO4", | ^~~~~~~~~~ event-names.h:458:6: error: ‘KEY_BRL_DOT10’ undeclared here (not in a function) 458 | [KEY_BRL_DOT10] = "KEY_BRL_DOT10", | ^~~~~~~~~~~~~ event-names.h:534:6: error: ‘KEY_MACRO5’ undeclared here (not in a function) 534 | [KEY_MACRO5] = "KEY_MACRO5", | ^~~~~~~~~~ event-names.h:535:6: error: ‘KEY_MACRO6’ undeclared here (not in a function) 535 | [KEY_MACRO6] = "KEY_MACRO6", | ^~~~~~~~~~ event-names.h:459:6: error: ‘KEY_NUMERIC_0’ undeclared here (not in a function) 459 | [KEY_NUMERIC_0] = "KEY_NUMERIC_0", | ^~~~~~~~~~~~~ event-names.h:536:6: error: ‘KEY_MACRO7’ undeclared here (not in a function) 536 | [KEY_MACRO7] = "KEY_MACRO7", | ^~~~~~~~~~ event-names.h:537:6: error: ‘KEY_MACRO8’ undeclared here (not in a function) 537 | [KEY_MACRO8] = "KEY_MACRO8", | ^~~~~~~~~~ event-names.h:460:6: error: ‘KEY_NUMERIC_1’ undeclared here (not in a function) 460 | [KEY_NUMERIC_1] = "KEY_NUMERIC_1", | ^~~~~~~~~~~~~ event-names.h:538:6: error: ‘KEY_MACRO9’ undeclared here (not in a function) 538 | [KEY_MACRO9] = "KEY_MACRO9", | ^~~~~~~~~~ event-names.h:539:6: error: ‘KEY_MACRO10’ undeclared here (not in a function) 539 | [KEY_MACRO10] = "KEY_MACRO10", | ^~~~~~~~~~~ event-names.h:461:6: error: ‘KEY_NUMERIC_2’ undeclared here (not in a function) 461 | [KEY_NUMERIC_2] = "KEY_NUMERIC_2", | ^~~~~~~~~~~~~ event-names.h:540:6: error: ‘KEY_MACRO11’ undeclared here (not in a function) 540 | [KEY_MACRO11] = "KEY_MACRO11", | ^~~~~~~~~~~ event-names.h:541:6: error: ‘KEY_MACRO12’ undeclared here (not in a function) 541 | [KEY_MACRO12] = "KEY_MACRO12", | ^~~~~~~~~~~ event-names.h:462:6: error: ‘KEY_NUMERIC_3’ undeclared here (not in a function) 462 | [KEY_NUMERIC_3] = "KEY_NUMERIC_3", | ^~~~~~~~~~~~~ event-names.h:542:6: error: ‘KEY_MACRO13’ undeclared here (not in a function) 542 | [KEY_MACRO13] = "KEY_MACRO13", | ^~~~~~~~~~~ event-names.h:543:6: error: ‘KEY_MACRO14’ undeclared here (not in a function) 543 | [KEY_MACRO14] = "KEY_MACRO14", | ^~~~~~~~~~~ event-names.h:463:6: error: ‘KEY_NUMERIC_4’ undeclared here (not in a function) 463 | [KEY_NUMERIC_4] = "KEY_NUMERIC_4", | ^~~~~~~~~~~~~ event-names.h:544:6: error: ‘KEY_MACRO15’ undeclared here (not in a function) 544 | [KEY_MACRO15] = "KEY_MACRO15", | ^~~~~~~~~~~ event-names.h:464:6: error: ‘KEY_NUMERIC_5’ undeclared here (not in a function) 464 | [KEY_NUMERIC_5] = "KEY_NUMERIC_5", | ^~~~~~~~~~~~~ event-names.h:545:6: error: ‘KEY_MACRO16’ undeclared here (not in a function) 545 | [KEY_MACRO16] = "KEY_MACRO16", | ^~~~~~~~~~~ event-names.h:546:6: error: ‘KEY_MACRO17’ undeclared here (not in a function) 546 | [KEY_MACRO17] = "KEY_MACRO17", | ^~~~~~~~~~~ event-names.h:465:6: error: ‘KEY_NUMERIC_6’ undeclared here (not in a function) 465 | [KEY_NUMERIC_6] = "KEY_NUMERIC_6", | ^~~~~~~~~~~~~ event-names.h:547:6: error: ‘KEY_MACRO18’ undeclared here (not in a function) 547 | [KEY_MACRO18] = "KEY_MACRO18", | ^~~~~~~~~~~ event-names.h:466:6: error: ‘KEY_NUMERIC_7’ undeclared here (not in a function) 466 | [KEY_NUMERIC_7] = "KEY_NUMERIC_7", | ^~~~~~~~~~~~~ event-names.h:548:6: error: ‘KEY_MACRO19’ undeclared here (not in a function) 548 | [KEY_MACRO19] = "KEY_MACRO19", | ^~~~~~~~~~~ event-names.h:467:6: error: ‘KEY_NUMERIC_8’ undeclared here (not in a function) 467 | [KEY_NUMERIC_8] = "KEY_NUMERIC_8", | ^~~~~~~~~~~~~ event-names.h:549:6: error: ‘KEY_MACRO20’ undeclared here (not in a function) 549 | [KEY_MACRO20] = "KEY_MACRO20", | ^~~~~~~~~~~ event-names.h:550:6: error: ‘KEY_MACRO21’ undeclared here (not in a function) 550 | [KEY_MACRO21] = "KEY_MACRO21", | ^~~~~~~~~~~ event-names.h:468:6: error: ‘KEY_NUMERIC_9’ undeclared here (not in a function) 468 | [KEY_NUMERIC_9] = "KEY_NUMERIC_9", | ^~~~~~~~~~~~~ event-names.h:551:6: error: ‘KEY_MACRO22’ undeclared here (not in a function) 551 | [KEY_MACRO22] = "KEY_MACRO22", | ^~~~~~~~~~~ event-names.h:469:6: error: ‘KEY_NUMERIC_STAR’ undeclared here (not in a function) 469 | [KEY_NUMERIC_STAR] = "KEY_NUMERIC_STAR", | ^~~~~~~~~~~~~~~~ event-names.h:552:6: error: ‘KEY_MACRO23’ undeclared here (not in a function) 552 | [KEY_MACRO23] = "KEY_MACRO23", | ^~~~~~~~~~~ event-names.h:553:6: error: ‘KEY_MACRO24’ undeclared here (not in a function) 553 | [KEY_MACRO24] = "KEY_MACRO24", | ^~~~~~~~~~~ event-names.h:470:6: error: ‘KEY_NUMERIC_POUND’ undeclared here (not in a function) 470 | [KEY_NUMERIC_POUND] = "KEY_NUMERIC_POUND", | ^~~~~~~~~~~~~~~~~ event-names.h:554:6: error: ‘KEY_MACRO25’ undeclared here (not in a function) 554 | [KEY_MACRO25] = "KEY_MACRO25", | ^~~~~~~~~~~ event-names.h:471:6: error: ‘KEY_NUMERIC_A’ undeclared here (not in a function) 471 | [KEY_NUMERIC_A] = "KEY_NUMERIC_A", | ^~~~~~~~~~~~~ event-names.h:555:6: error: ‘KEY_MACRO26’ undeclared here (not in a function) 555 | [KEY_MACRO26] = "KEY_MACRO26", | ^~~~~~~~~~~ event-names.h:472:6: error: ‘KEY_NUMERIC_B’ undeclared here (not in a function) 472 | [KEY_NUMERIC_B] = "KEY_NUMERIC_B", | ^~~~~~~~~~~~~ event-names.h:556:6: error: ‘KEY_MACRO27’ undeclared here (not in a function) 556 | [KEY_MACRO27] = "KEY_MACRO27", | ^~~~~~~~~~~ event-names.h:557:6: error: ‘KEY_MACRO28’ undeclared here (not in a function) 557 | [KEY_MACRO28] = "KEY_MACRO28", | ^~~~~~~~~~~ event-names.h:473:6: error: ‘KEY_NUMERIC_C’ undeclared here (not in a function) 473 | [KEY_NUMERIC_C] = "KEY_NUMERIC_C", | ^~~~~~~~~~~~~ event-names.h:558:6: error: ‘KEY_MACRO29’ undeclared here (not in a function) 558 | [KEY_MACRO29] = "KEY_MACRO29", | ^~~~~~~~~~~ event-names.h:474:6: error: ‘KEY_NUMERIC_D’ undeclared here (not in a function) 474 | [KEY_NUMERIC_D] = "KEY_NUMERIC_D", | ^~~~~~~~~~~~~ event-names.h:559:6: error: ‘KEY_MACRO30’ undeclared here (not in a function) 559 | [KEY_MACRO30] = "KEY_MACRO30", | ^~~~~~~~~~~ event-names.h:475:6: error: ‘KEY_CAMERA_FOCUS’ undeclared here (not in a function) 475 | [KEY_CAMERA_FOCUS] = "KEY_CAMERA_FOCUS", | ^~~~~~~~~~~~~~~~ event-names.h:560:6: error: ‘KEY_MACRO_RECORD_START’ undeclared here (not in a function) 560 | [KEY_MACRO_RECORD_START] = "KEY_MACRO_RECORD_START", | ^~~~~~~~~~~~~~~~~~~~~~ event-names.h:476:6: error: ‘KEY_WPS_BUTTON’ undeclared here (not in a function) 476 | [KEY_WPS_BUTTON] = "KEY_WPS_BUTTON", | ^~~~~~~~~~~~~~ event-names.h:561:6: error: ‘KEY_MACRO_RECORD_STOP’ undeclared here (not in a function) 561 | [KEY_MACRO_RECORD_STOP] = "KEY_MACRO_RECORD_STOP", | ^~~~~~~~~~~~~~~~~~~~~ event-names.h:477:6: error: ‘KEY_TOUCHPAD_TOGGLE’ undeclared here (not in a function) 477 | [KEY_TOUCHPAD_TOGGLE] = "KEY_TOUCHPAD_TOGGLE", | ^~~~~~~~~~~~~~~~~~~ event-names.h:562:6: error: ‘KEY_MACRO_PRESET_CYCLE’ undeclared here (not in a function) 562 | [KEY_MACRO_PRESET_CYCLE] = "KEY_MACRO_PRESET_CYCLE", | ^~~~~~~~~~~~~~~~~~~~~~ event-names.h:478:6: error: ‘KEY_TOUCHPAD_ON’ undeclared here (not in a function) 478 | [KEY_TOUCHPAD_ON] = "KEY_TOUCHPAD_ON", | ^~~~~~~~~~~~~~~ event-names.h:563:6: error: ‘KEY_MACRO_PRESET1’ undeclared here (not in a function) 563 | [KEY_MACRO_PRESET1] = "KEY_MACRO_PRESET1", | ^~~~~~~~~~~~~~~~~ event-names.h:479:6: error: ‘KEY_TOUCHPAD_OFF’ undeclared here (not in a function) 479 | [KEY_TOUCHPAD_OFF] = "KEY_TOUCHPAD_OFF", | ^~~~~~~~~~~~~~~~ event-names.h:564:6: error: ‘KEY_MACRO_PRESET2’ undeclared here (not in a function) 564 | [KEY_MACRO_PRESET2] = "KEY_MACRO_PRESET2", | ^~~~~~~~~~~~~~~~~ event-names.h:480:6: error: ‘KEY_CAMERA_ZOOMIN’ undeclared here (not in a function) 480 | [KEY_CAMERA_ZOOMIN] = "KEY_CAMERA_ZOOMIN", | ^~~~~~~~~~~~~~~~~ event-names.h:565:6: error: ‘KEY_MACRO_PRESET3’ undeclared here (not in a function) 565 | [KEY_MACRO_PRESET3] = "KEY_MACRO_PRESET3", | ^~~~~~~~~~~~~~~~~ event-names.h:566:6: error: ‘KEY_KBD_LCD_MENU1’ undeclared here (not in a function) 566 | [KEY_KBD_LCD_MENU1] = "KEY_KBD_LCD_MENU1", | ^~~~~~~~~~~~~~~~~ event-names.h:481:6: error: ‘KEY_CAMERA_ZOOMOUT’ undeclared here (not in a function) 481 | [KEY_CAMERA_ZOOMOUT] = "KEY_CAMERA_ZOOMOUT", | ^~~~~~~~~~~~~~~~~~ event-names.h:567:6: error: ‘KEY_KBD_LCD_MENU2’ undeclared here (not in a function) 567 | [KEY_KBD_LCD_MENU2] = "KEY_KBD_LCD_MENU2", | ^~~~~~~~~~~~~~~~~ event-names.h:482:6: error: ‘KEY_CAMERA_UP’ undeclared here (not in a function) 482 | [KEY_CAMERA_UP] = "KEY_CAMERA_UP", | ^~~~~~~~~~~~~ event-names.h:568:6: error: ‘KEY_KBD_LCD_MENU3’ undeclared here (not in a function) 568 | [KEY_KBD_LCD_MENU3] = "KEY_KBD_LCD_MENU3", | ^~~~~~~~~~~~~~~~~ event-names.h:483:6: error: ‘KEY_CAMERA_DOWN’ undeclared here (not in a function) 483 | [KEY_CAMERA_DOWN] = "KEY_CAMERA_DOWN", | ^~~~~~~~~~~~~~~ event-names.h:569:6: error: ‘KEY_KBD_LCD_MENU4’ undeclared here (not in a function) 569 | [KEY_KBD_LCD_MENU4] = "KEY_KBD_LCD_MENU4", | ^~~~~~~~~~~~~~~~~ event-names.h:484:6: error: ‘KEY_CAMERA_LEFT’ undeclared here (not in a function) 484 | [KEY_CAMERA_LEFT] = "KEY_CAMERA_LEFT", | ^~~~~~~~~~~~~~~ event-names.h:570:6: error: ‘KEY_KBD_LCD_MENU5’ undeclared here (not in a function) 570 | [KEY_KBD_LCD_MENU5] = "KEY_KBD_LCD_MENU5", | ^~~~~~~~~~~~~~~~~ event-names.h:485:6: error: ‘KEY_CAMERA_RIGHT’ undeclared here (not in a function) 485 | [KEY_CAMERA_RIGHT] = "KEY_CAMERA_RIGHT", | ^~~~~~~~~~~~~~~~ event-names.h:572:6: error: ‘BTN_0’ undeclared here (not in a function) 572 | [BTN_0] = "BTN_0", | ^~~~~ event-names.h:573:6: error: ‘BTN_1’ undeclared here (not in a function) 573 | [BTN_1] = "BTN_1", | ^~~~~ event-names.h:574:6: error: ‘BTN_2’ undeclared here (not in a function) 574 | [BTN_2] = "BTN_2", | ^~~~~ event-names.h:486:6: error: ‘KEY_ATTENDANT_ON’ undeclared here (not in a function) 486 | [KEY_ATTENDANT_ON] = "KEY_ATTENDANT_ON", | ^~~~~~~~~~~~~~~~ event-names.h:575:6: error: ‘BTN_3’ undeclared here (not in a function) 575 | [BTN_3] = "BTN_3", | ^~~~~ event-names.h:576:6: error: ‘BTN_4’ undeclared here (not in a function) 576 | [BTN_4] = "BTN_4", | ^~~~~ event-names.h:487:6: error: ‘KEY_ATTENDANT_OFF’ undeclared here (not in a function) 487 | [KEY_ATTENDANT_OFF] = "KEY_ATTENDANT_OFF", | ^~~~~~~~~~~~~~~~~ event-names.h:577:6: error: ‘BTN_5’ undeclared here (not in a function) 577 | [BTN_5] = "BTN_5", | ^~~~~ event-names.h:578:6: error: ‘BTN_6’ undeclared here (not in a function) 578 | [BTN_6] = "BTN_6", | ^~~~~ event-names.h:579:6: error: ‘BTN_7’ undeclared here (not in a function) 579 | [BTN_7] = "BTN_7", | ^~~~~ event-names.h:488:6: error: ‘KEY_ATTENDANT_TOGGLE’ undeclared here (not in a function) 488 | [KEY_ATTENDANT_TOGGLE] = "KEY_ATTENDANT_TOGGLE", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:580:6: error: ‘BTN_8’ undeclared here (not in a function) 580 | [BTN_8] = "BTN_8", | ^~~~~ event-names.h:581:6: error: ‘BTN_9’ undeclared here (not in a function) 581 | [BTN_9] = "BTN_9", | ^~~~~ event-names.h:489:6: error: ‘KEY_LIGHTS_TOGGLE’ undeclared here (not in a function) 489 | [KEY_LIGHTS_TOGGLE] = "KEY_LIGHTS_TOGGLE", | ^~~~~~~~~~~~~~~~~ event-names.h:582:6: error: ‘BTN_LEFT’ undeclared here (not in a function) 582 | [BTN_LEFT] = "BTN_LEFT", | ^~~~~~~~ event-names.h:490:6: error: ‘KEY_ALS_TOGGLE’ undeclared here (not in a function) 490 | [KEY_ALS_TOGGLE] = "KEY_ALS_TOGGLE", | ^~~~~~~~~~~~~~ event-names.h:583:6: error: ‘BTN_RIGHT’ undeclared here (not in a function) 583 | [BTN_RIGHT] = "BTN_RIGHT", | ^~~~~~~~~ event-names.h:584:6: error: ‘BTN_MIDDLE’ undeclared here (not in a function) 584 | [BTN_MIDDLE] = "BTN_MIDDLE", | ^~~~~~~~~~ event-names.h:585:6: error: ‘BTN_SIDE’ undeclared here (not in a function) 585 | [BTN_SIDE] = "BTN_SIDE", | ^~~~~~~~ event-names.h:491:6: error: ‘KEY_ROTATE_LOCK_TOGGLE’ undeclared here (not in a function) 491 | [KEY_ROTATE_LOCK_TOGGLE] = "KEY_ROTATE_LOCK_TOGGLE", | ^~~~~~~~~~~~~~~~~~~~~~ event-names.h:586:6: error: ‘BTN_EXTRA’ undeclared here (not in a function) 586 | [BTN_EXTRA] = "BTN_EXTRA", | ^~~~~~~~~ event-names.h:492:6: error: ‘KEY_BUTTONCONFIG’ undeclared here (not in a function) 492 | [KEY_BUTTONCONFIG] = "KEY_BUTTONCONFIG", | ^~~~~~~~~~~~~~~~ event-names.h:587:6: error: ‘BTN_FORWARD’ undeclared here (not in a function) 587 | [BTN_FORWARD] = "BTN_FORWARD", | ^~~~~~~~~~~ event-names.h:493:6: error: ‘KEY_TASKMANAGER’ undeclared here (not in a function) 493 | [KEY_TASKMANAGER] = "KEY_TASKMANAGER", | ^~~~~~~~~~~~~~~ event-names.h:588:6: error: ‘BTN_BACK’ undeclared here (not in a function) 588 | [BTN_BACK] = "BTN_BACK", | ^~~~~~~~ event-names.h:494:6: error: ‘KEY_JOURNAL’ undeclared here (not in a function) 494 | [KEY_JOURNAL] = "KEY_JOURNAL", | ^~~~~~~~~~~ event-names.h:589:6: error: ‘BTN_TASK’ undeclared here (not in a function) 589 | [BTN_TASK] = "BTN_TASK", | ^~~~~~~~ event-names.h:495:6: error: ‘KEY_CONTROLPANEL’ undeclared here (not in a function) 495 | [KEY_CONTROLPANEL] = "KEY_CONTROLPANEL", | ^~~~~~~~~~~~~~~~ event-names.h:590:6: error: ‘BTN_TRIGGER’ undeclared here (not in a function) 590 | [BTN_TRIGGER] = "BTN_TRIGGER", | ^~~~~~~~~~~ event-names.h:496:6: error: ‘KEY_APPSELECT’ undeclared here (not in a function) 496 | [KEY_APPSELECT] = "KEY_APPSELECT", | ^~~~~~~~~~~~~ event-names.h:591:6: error: ‘BTN_THUMB’ undeclared here (not in a function) 591 | [BTN_THUMB] = "BTN_THUMB", | ^~~~~~~~~ event-names.h:592:6: error: ‘BTN_THUMB2’ undeclared here (not in a function) 592 | [BTN_THUMB2] = "BTN_THUMB2", | ^~~~~~~~~~ event-names.h:497:6: error: ‘KEY_SCREENSAVER’ undeclared here (not in a function) 497 | [KEY_SCREENSAVER] = "KEY_SCREENSAVER", | ^~~~~~~~~~~~~~~ event-names.h:593:6: error: ‘BTN_TOP’ undeclared here (not in a function) 593 | [BTN_TOP] = "BTN_TOP", | ^~~~~~~ event-names.h:498:6: error: ‘KEY_VOICECOMMAND’ undeclared here (not in a function) 498 | [KEY_VOICECOMMAND] = "KEY_VOICECOMMAND", | ^~~~~~~~~~~~~~~~ event-names.h:594:6: error: ‘BTN_TOP2’ undeclared here (not in a function) 594 | [BTN_TOP2] = "BTN_TOP2", | ^~~~~~~~ event-names.h:595:6: error: ‘BTN_PINKIE’ undeclared here (not in a function) 595 | [BTN_PINKIE] = "BTN_PINKIE", | ^~~~~~~~~~ event-names.h:499:6: error: ‘KEY_ASSISTANT’ undeclared here (not in a function) 499 | [KEY_ASSISTANT] = "KEY_ASSISTANT", | ^~~~~~~~~~~~~ event-names.h:596:6: error: ‘BTN_BASE’ undeclared here (not in a function) 596 | [BTN_BASE] = "BTN_BASE", | ^~~~~~~~ event-names.h:500:6: error: ‘KEY_KBD_LAYOUT_NEXT’ undeclared here (not in a function) 500 | [KEY_KBD_LAYOUT_NEXT] = "KEY_KBD_LAYOUT_NEXT", | ^~~~~~~~~~~~~~~~~~~ event-names.h:597:6: error: ‘BTN_BASE2’ undeclared here (not in a function) 597 | [BTN_BASE2] = "BTN_BASE2", | ^~~~~~~~~ event-names.h:501:6: error: ‘KEY_BRIGHTNESS_MIN’ undeclared here (not in a function) 501 | [KEY_BRIGHTNESS_MIN] = "KEY_BRIGHTNESS_MIN", | ^~~~~~~~~~~~~~~~~~ event-names.h:598:6: error: ‘BTN_BASE3’ undeclared here (not in a function) 598 | [BTN_BASE3] = "BTN_BASE3", | ^~~~~~~~~ event-names.h:599:6: error: ‘BTN_BASE4’ undeclared here (not in a function) 599 | [BTN_BASE4] = "BTN_BASE4", | ^~~~~~~~~ event-names.h:502:6: error: ‘KEY_BRIGHTNESS_MAX’ undeclared here (not in a function) 502 | [KEY_BRIGHTNESS_MAX] = "KEY_BRIGHTNESS_MAX", | ^~~~~~~~~~~~~~~~~~ event-names.h:600:6: error: ‘BTN_BASE5’ undeclared here (not in a function) 600 | [BTN_BASE5] = "BTN_BASE5", | ^~~~~~~~~ event-names.h:601:6: error: ‘BTN_BASE6’ undeclared here (not in a function) 601 | [BTN_BASE6] = "BTN_BASE6", | ^~~~~~~~~ event-names.h:602:6: error: ‘BTN_DEAD’ undeclared here (not in a function) 602 | [BTN_DEAD] = "BTN_DEAD", | ^~~~~~~~ event-names.h:503:6: error: ‘KEY_KBDINPUTASSIST_PREV’ undeclared here (not in a function) 503 | [KEY_KBDINPUTASSIST_PREV] = "KEY_KBDINPUTASSIST_PREV", | ^~~~~~~~~~~~~~~~~~~~~~~ event-names.h:603:6: error: ‘BTN_SOUTH’ undeclared here (not in a function) 603 | [BTN_SOUTH] = "BTN_SOUTH", | ^~~~~~~~~ event-names.h:504:6: error: ‘KEY_KBDINPUTASSIST_NEXT’ undeclared here (not in a function) 504 | [KEY_KBDINPUTASSIST_NEXT] = "KEY_KBDINPUTASSIST_NEXT", | ^~~~~~~~~~~~~~~~~~~~~~~ event-names.h:604:6: error: ‘BTN_EAST’ undeclared here (not in a function) 604 | [BTN_EAST] = "BTN_EAST", | ^~~~~~~~ event-names.h:605:6: error: ‘BTN_C’ undeclared here (not in a function) 605 | [BTN_C] = "BTN_C", | ^~~~~ event-names.h:505:6: error: ‘KEY_KBDINPUTASSIST_PREVGROUP’ undeclared here (not in a function) 505 | [KEY_KBDINPUTASSIST_PREVGROUP] = "KEY_KBDINPUTASSIST_PREVGROUP", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:606:6: error: ‘BTN_NORTH’ undeclared here (not in a function) 606 | [BTN_NORTH] = "BTN_NORTH", | ^~~~~~~~~ event-names.h:607:6: error: ‘BTN_WEST’ undeclared here (not in a function) 607 | [BTN_WEST] = "BTN_WEST", | ^~~~~~~~ event-names.h:506:6: error: ‘KEY_KBDINPUTASSIST_NEXTGROUP’ undeclared here (not in a function) 506 | [KEY_KBDINPUTASSIST_NEXTGROUP] = "KEY_KBDINPUTASSIST_NEXTGROUP", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:608:6: error: ‘BTN_Z’ undeclared here (not in a function) 608 | [BTN_Z] = "BTN_Z", | ^~~~~ event-names.h:609:6: error: ‘BTN_TL’ undeclared here (not in a function) 609 | [BTN_TL] = "BTN_TL", | ^~~~~~ event-names.h:610:6: error: ‘BTN_TR’ undeclared here (not in a function) 610 | [BTN_TR] = "BTN_TR", | ^~~~~~ event-names.h:507:6: error: ‘KEY_KBDINPUTASSIST_ACCEPT’ undeclared here (not in a function) 507 | [KEY_KBDINPUTASSIST_ACCEPT] = "KEY_KBDINPUTASSIST_ACCEPT", | ^~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:611:6: error: ‘BTN_TL2’ undeclared here (not in a function) 611 | [BTN_TL2] = "BTN_TL2", | ^~~~~~~ event-names.h:612:6: error: ‘BTN_TR2’ undeclared here (not in a function) 612 | [BTN_TR2] = "BTN_TR2", | ^~~~~~~ event-names.h:508:6: error: ‘KEY_KBDINPUTASSIST_CANCEL’ undeclared here (not in a function) 508 | [KEY_KBDINPUTASSIST_CANCEL] = "KEY_KBDINPUTASSIST_CANCEL", | ^~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:613:6: error: ‘BTN_SELECT’ undeclared here (not in a function) 613 | [BTN_SELECT] = "BTN_SELECT", | ^~~~~~~~~~ event-names.h:509:6: error: ‘KEY_RIGHT_UP’ undeclared here (not in a function) 509 | [KEY_RIGHT_UP] = "KEY_RIGHT_UP", | ^~~~~~~~~~~~ event-names.h:614:6: error: ‘BTN_START’ undeclared here (not in a function) 614 | [BTN_START] = "BTN_START", | ^~~~~~~~~ event-names.h:510:6: error: ‘KEY_RIGHT_DOWN’ undeclared here (not in a function) 510 | [KEY_RIGHT_DOWN] = "KEY_RIGHT_DOWN", | ^~~~~~~~~~~~~~ event-names.h:615:6: error: ‘BTN_MODE’ undeclared here (not in a function) 615 | [BTN_MODE] = "BTN_MODE", | ^~~~~~~~ event-names.h:511:6: error: ‘KEY_LEFT_UP’ undeclared here (not in a function) 511 | [KEY_LEFT_UP] = "KEY_LEFT_UP", | ^~~~~~~~~~~ event-names.h:616:6: error: ‘BTN_THUMBL’ undeclared here (not in a function) 616 | [BTN_THUMBL] = "BTN_THUMBL", | ^~~~~~~~~~ event-names.h:512:6: error: ‘KEY_LEFT_DOWN’ undeclared here (not in a function) 512 | [KEY_LEFT_DOWN] = "KEY_LEFT_DOWN", | ^~~~~~~~~~~~~ event-names.h:617:6: error: ‘BTN_THUMBR’ undeclared here (not in a function) 617 | [BTN_THUMBR] = "BTN_THUMBR", | ^~~~~~~~~~ event-names.h:513:6: error: ‘KEY_ROOT_MENU’ undeclared here (not in a function) 513 | [KEY_ROOT_MENU] = "KEY_ROOT_MENU", | ^~~~~~~~~~~~~ event-names.h:618:6: error: ‘BTN_TOOL_PEN’ undeclared here (not in a function) 618 | [BTN_TOOL_PEN] = "BTN_TOOL_PEN", | ^~~~~~~~~~~~ event-names.h:514:6: error: ‘KEY_MEDIA_TOP_MENU’ undeclared here (not in a function) 514 | [KEY_MEDIA_TOP_MENU] = "KEY_MEDIA_TOP_MENU", | ^~~~~~~~~~~~~~~~~~ event-names.h:619:6: error: ‘BTN_TOOL_RUBBER’ undeclared here (not in a function) 619 | [BTN_TOOL_RUBBER] = "BTN_TOOL_RUBBER", | ^~~~~~~~~~~~~~~ event-names.h:515:6: error: ‘KEY_NUMERIC_11’ undeclared here (not in a function) 515 | [KEY_NUMERIC_11] = "KEY_NUMERIC_11", | ^~~~~~~~~~~~~~ event-names.h:620:6: error: ‘BTN_TOOL_BRUSH’ undeclared here (not in a function) 620 | [BTN_TOOL_BRUSH] = "BTN_TOOL_BRUSH", | ^~~~~~~~~~~~~~ event-names.h:621:6: error: ‘BTN_TOOL_PENCIL’ undeclared here (not in a function) 621 | [BTN_TOOL_PENCIL] = "BTN_TOOL_PENCIL", | ^~~~~~~~~~~~~~~ event-names.h:516:6: error: ‘KEY_NUMERIC_12’ undeclared here (not in a function) 516 | [KEY_NUMERIC_12] = "KEY_NUMERIC_12", | ^~~~~~~~~~~~~~ event-names.h:622:6: error: ‘BTN_TOOL_AIRBRUSH’ undeclared here (not in a function) 622 | [BTN_TOOL_AIRBRUSH] = "BTN_TOOL_AIRBRUSH", | ^~~~~~~~~~~~~~~~~ event-names.h:517:6: error: ‘KEY_AUDIO_DESC’ undeclared here (not in a function) 517 | [KEY_AUDIO_DESC] = "KEY_AUDIO_DESC", | ^~~~~~~~~~~~~~ event-names.h:623:6: error: ‘BTN_TOOL_FINGER’ undeclared here (not in a function) 623 | [BTN_TOOL_FINGER] = "BTN_TOOL_FINGER", | ^~~~~~~~~~~~~~~ event-names.h:518:6: error: ‘KEY_3D_MODE’ undeclared here (not in a function) 518 | [KEY_3D_MODE] = "KEY_3D_MODE", | ^~~~~~~~~~~ event-names.h:624:6: error: ‘BTN_TOOL_MOUSE’ undeclared here (not in a function) 624 | [BTN_TOOL_MOUSE] = "BTN_TOOL_MOUSE", | ^~~~~~~~~~~~~~ event-names.h:519:6: error: ‘KEY_NEXT_FAVORITE’ undeclared here (not in a function) 519 | [KEY_NEXT_FAVORITE] = "KEY_NEXT_FAVORITE", | ^~~~~~~~~~~~~~~~~ event-names.h:625:6: error: ‘BTN_TOOL_LENS’ undeclared here (not in a function) 625 | [BTN_TOOL_LENS] = "BTN_TOOL_LENS", | ^~~~~~~~~~~~~ event-names.h:520:6: error: ‘KEY_STOP_RECORD’ undeclared here (not in a function) 520 | [KEY_STOP_RECORD] = "KEY_STOP_RECORD", | ^~~~~~~~~~~~~~~ event-names.h:626:6: error: ‘BTN_TOOL_QUINTTAP’ undeclared here (not in a function) 626 | [BTN_TOOL_QUINTTAP] = "BTN_TOOL_QUINTTAP", | ^~~~~~~~~~~~~~~~~ event-names.h:627:6: error: ‘BTN_STYLUS3’ undeclared here (not in a function) 627 | [BTN_STYLUS3] = "BTN_STYLUS3", | ^~~~~~~~~~~ event-names.h:521:6: error: ‘KEY_PAUSE_RECORD’ undeclared here (not in a function) 521 | [KEY_PAUSE_RECORD] = "KEY_PAUSE_RECORD", | ^~~~~~~~~~~~~~~~ event-names.h:522:6: error: ‘KEY_VOD’ undeclared here (not in a function) 522 | [KEY_VOD] = "KEY_VOD", | ^~~~~~~ event-names.h:628:6: error: ‘BTN_TOUCH’ undeclared here (not in a function) 628 | [BTN_TOUCH] = "BTN_TOUCH", | ^~~~~~~~~ event-names.h:629:6: error: ‘BTN_STYLUS’ undeclared here (not in a function) 629 | [BTN_STYLUS] = "BTN_STYLUS", | ^~~~~~~~~~ event-names.h:523:6: error: ‘KEY_UNMUTE’ undeclared here (not in a function) 523 | [KEY_UNMUTE] = "KEY_UNMUTE", | ^~~~~~~~~~ event-names.h:630:6: error: ‘BTN_STYLUS2’ undeclared here (not in a function) 630 | [BTN_STYLUS2] = "BTN_STYLUS2", | ^~~~~~~~~~~ event-names.h:524:6: error: ‘KEY_FASTREVERSE’ undeclared here (not in a function) 524 | [KEY_FASTREVERSE] = "KEY_FASTREVERSE", | ^~~~~~~~~~~~~~~ event-names.h:631:6: error: ‘BTN_TOOL_DOUBLETAP’ undeclared here (not in a function) 631 | [BTN_TOOL_DOUBLETAP] = "BTN_TOOL_DOUBLETAP", | ^~~~~~~~~~~~~~~~~~ event-names.h:525:6: error: ‘KEY_SLOWREVERSE’ undeclared here (not in a function) 525 | [KEY_SLOWREVERSE] = "KEY_SLOWREVERSE", | ^~~~~~~~~~~~~~~ event-names.h:526:6: error: ‘KEY_DATA’ undeclared here (not in a function) 526 | [KEY_DATA] = "KEY_DATA", | ^~~~~~~~ event-names.h:632:6: error: ‘BTN_TOOL_TRIPLETAP’ undeclared here (not in a function) 632 | [BTN_TOOL_TRIPLETAP] = "BTN_TOOL_TRIPLETAP", | ^~~~~~~~~~~~~~~~~~ event-names.h:633:6: error: ‘BTN_TOOL_QUADTAP’ undeclared here (not in a function) 633 | [BTN_TOOL_QUADTAP] = "BTN_TOOL_QUADTAP", | ^~~~~~~~~~~~~~~~ event-names.h:527:6: error: ‘KEY_ONSCREEN_KEYBOARD’ undeclared here (not in a function) 527 | [KEY_ONSCREEN_KEYBOARD] = "KEY_ONSCREEN_KEYBOARD", | ^~~~~~~~~~~~~~~~~~~~~ event-names.h:634:6: error: ‘BTN_GEAR_DOWN’ undeclared here (not in a function) 634 | [BTN_GEAR_DOWN] = "BTN_GEAR_DOWN", | ^~~~~~~~~~~~~ event-names.h:635:6: error: ‘BTN_GEAR_UP’ undeclared here (not in a function) 635 | [BTN_GEAR_UP] = "BTN_GEAR_UP", | ^~~~~~~~~~~ event-names.h:636:6: error: ‘BTN_DPAD_UP’ undeclared here (not in a function) 636 | [BTN_DPAD_UP] = "BTN_DPAD_UP", | ^~~~~~~~~~~ event-names.h:528:6: error: ‘KEY_PRIVACY_SCREEN_TOGGLE’ undeclared here (not in a function) 528 | [KEY_PRIVACY_SCREEN_TOGGLE] = "KEY_PRIVACY_SCREEN_TOGGLE", | ^~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:637:6: error: ‘BTN_DPAD_DOWN’ undeclared here (not in a function) 637 | [BTN_DPAD_DOWN] = "BTN_DPAD_DOWN", | ^~~~~~~~~~~~~ event-names.h:638:6: error: ‘BTN_DPAD_LEFT’ undeclared here (not in a function) 638 | [BTN_DPAD_LEFT] = "BTN_DPAD_LEFT", | ^~~~~~~~~~~~~ event-names.h:529:6: error: ‘KEY_SELECTIVE_SCREENSHOT’ undeclared here (not in a function) 529 | [KEY_SELECTIVE_SCREENSHOT] = "KEY_SELECTIVE_SCREENSHOT", | ^~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:639:6: error: ‘BTN_DPAD_RIGHT’ undeclared here (not in a function) 639 | [BTN_DPAD_RIGHT] = "BTN_DPAD_RIGHT", | ^~~~~~~~~~~~~~ event-names.h:530:6: error: ‘KEY_MACRO1’ undeclared here (not in a function) 530 | [KEY_MACRO1] = "KEY_MACRO1", | ^~~~~~~~~~ event-names.h:640:6: error: ‘BTN_TRIGGER_HAPPY1’ undeclared here (not in a function) 640 | [BTN_TRIGGER_HAPPY1] = "BTN_TRIGGER_HAPPY1", | ^~~~~~~~~~~~~~~~~~ event-names.h:531:6: error: ‘KEY_MACRO2’ undeclared here (not in a function) 531 | [KEY_MACRO2] = "KEY_MACRO2", | ^~~~~~~~~~ event-names.h:641:6: error: ‘BTN_TRIGGER_HAPPY2’ undeclared here (not in a function) 641 | [BTN_TRIGGER_HAPPY2] = "BTN_TRIGGER_HAPPY2", | ^~~~~~~~~~~~~~~~~~ event-names.h:532:6: error: ‘KEY_MACRO3’ undeclared here (not in a function) 532 | [KEY_MACRO3] = "KEY_MACRO3", | ^~~~~~~~~~ event-names.h:533:6: error: ‘KEY_MACRO4’ undeclared here (not in a function) 533 | [KEY_MACRO4] = "KEY_MACRO4", | ^~~~~~~~~~ event-names.h:642:6: error: ‘BTN_TRIGGER_HAPPY3’ undeclared here (not in a function) 642 | [BTN_TRIGGER_HAPPY3] = "BTN_TRIGGER_HAPPY3", | ^~~~~~~~~~~~~~~~~~ event-names.h:534:6: error: ‘KEY_MACRO5’ undeclared here (not in a function) 534 | [KEY_MACRO5] = "KEY_MACRO5", | ^~~~~~~~~~ event-names.h:535:6: error: ‘KEY_MACRO6’ undeclared here (not in a function) 535 | [KEY_MACRO6] = "KEY_MACRO6", | ^~~~~~~~~~ event-names.h:643:6: error: ‘BTN_TRIGGER_HAPPY4’ undeclared here (not in a function) 643 | [BTN_TRIGGER_HAPPY4] = "BTN_TRIGGER_HAPPY4", | ^~~~~~~~~~~~~~~~~~ event-names.h:536:6: error: ‘KEY_MACRO7’ undeclared here (not in a function) 536 | [KEY_MACRO7] = "KEY_MACRO7", | ^~~~~~~~~~ event-names.h:537:6: error: ‘KEY_MACRO8’ undeclared here (not in a function) 537 | [KEY_MACRO8] = "KEY_MACRO8", | ^~~~~~~~~~ event-names.h:644:6: error: ‘BTN_TRIGGER_HAPPY5’ undeclared here (not in a function) 644 | [BTN_TRIGGER_HAPPY5] = "BTN_TRIGGER_HAPPY5", | ^~~~~~~~~~~~~~~~~~ event-names.h:538:6: error: ‘KEY_MACRO9’ undeclared here (not in a function) 538 | [KEY_MACRO9] = "KEY_MACRO9", | ^~~~~~~~~~ event-names.h:645:6: error: ‘BTN_TRIGGER_HAPPY6’ undeclared here (not in a function) 645 | [BTN_TRIGGER_HAPPY6] = "BTN_TRIGGER_HAPPY6", | ^~~~~~~~~~~~~~~~~~ event-names.h:539:6: error: ‘KEY_MACRO10’ undeclared here (not in a function) 539 | [KEY_MACRO10] = "KEY_MACRO10", | ^~~~~~~~~~~ event-names.h:540:6: error: ‘KEY_MACRO11’ undeclared here (not in a function) 540 | [KEY_MACRO11] = "KEY_MACRO11", | ^~~~~~~~~~~ event-names.h:646:6: error: ‘BTN_TRIGGER_HAPPY7’ undeclared here (not in a function) 646 | [BTN_TRIGGER_HAPPY7] = "BTN_TRIGGER_HAPPY7", | ^~~~~~~~~~~~~~~~~~ event-names.h:541:6: error: ‘KEY_MACRO12’ undeclared here (not in a function) 541 | [KEY_MACRO12] = "KEY_MACRO12", | ^~~~~~~~~~~ event-names.h:542:6: error: ‘KEY_MACRO13’ undeclared here (not in a function) 542 | [KEY_MACRO13] = "KEY_MACRO13", | ^~~~~~~~~~~ event-names.h:647:6: error: ‘BTN_TRIGGER_HAPPY8’ undeclared here (not in a function) 647 | [BTN_TRIGGER_HAPPY8] = "BTN_TRIGGER_HAPPY8", | ^~~~~~~~~~~~~~~~~~ event-names.h:543:6: error: ‘KEY_MACRO14’ undeclared here (not in a function) 543 | [KEY_MACRO14] = "KEY_MACRO14", | ^~~~~~~~~~~ event-names.h:648:6: error: ‘BTN_TRIGGER_HAPPY9’ undeclared here (not in a function) 648 | [BTN_TRIGGER_HAPPY9] = "BTN_TRIGGER_HAPPY9", | ^~~~~~~~~~~~~~~~~~ event-names.h:544:6: error: ‘KEY_MACRO15’ undeclared here (not in a function) 544 | [KEY_MACRO15] = "KEY_MACRO15", | ^~~~~~~~~~~ event-names.h:649:6: error: ‘BTN_TRIGGER_HAPPY10’ undeclared here (not in a function) 649 | [BTN_TRIGGER_HAPPY10] = "BTN_TRIGGER_HAPPY10", | ^~~~~~~~~~~~~~~~~~~ event-names.h:545:6: error: ‘KEY_MACRO16’ undeclared here (not in a function) 545 | [KEY_MACRO16] = "KEY_MACRO16", | ^~~~~~~~~~~ event-names.h:546:6: error: ‘KEY_MACRO17’ undeclared here (not in a function) 546 | [KEY_MACRO17] = "KEY_MACRO17", | ^~~~~~~~~~~ event-names.h:650:6: error: ‘BTN_TRIGGER_HAPPY11’ undeclared here (not in a function) 650 | [BTN_TRIGGER_HAPPY11] = "BTN_TRIGGER_HAPPY11", | ^~~~~~~~~~~~~~~~~~~ event-names.h:547:6: error: ‘KEY_MACRO18’ undeclared here (not in a function) 547 | [KEY_MACRO18] = "KEY_MACRO18", | ^~~~~~~~~~~ event-names.h:651:6: error: ‘BTN_TRIGGER_HAPPY12’ undeclared here (not in a function) 651 | [BTN_TRIGGER_HAPPY12] = "BTN_TRIGGER_HAPPY12", | ^~~~~~~~~~~~~~~~~~~ event-names.h:548:6: error: ‘KEY_MACRO19’ undeclared here (not in a function) 548 | [KEY_MACRO19] = "KEY_MACRO19", | ^~~~~~~~~~~ event-names.h:652:6: error: ‘BTN_TRIGGER_HAPPY13’ undeclared here (not in a function) 652 | [BTN_TRIGGER_HAPPY13] = "BTN_TRIGGER_HAPPY13", | ^~~~~~~~~~~~~~~~~~~ event-names.h:549:6: error: ‘KEY_MACRO20’ undeclared here (not in a function) 549 | [KEY_MACRO20] = "KEY_MACRO20", | ^~~~~~~~~~~ event-names.h:653:6: error: ‘BTN_TRIGGER_HAPPY14’ undeclared here (not in a function) 653 | [BTN_TRIGGER_HAPPY14] = "BTN_TRIGGER_HAPPY14", | ^~~~~~~~~~~~~~~~~~~ event-names.h:550:6: error: ‘KEY_MACRO21’ undeclared here (not in a function) 550 | [KEY_MACRO21] = "KEY_MACRO21", | ^~~~~~~~~~~ event-names.h:551:6: error: ‘KEY_MACRO22’ undeclared here (not in a function) 551 | [KEY_MACRO22] = "KEY_MACRO22", | ^~~~~~~~~~~ event-names.h:654:6: error: ‘BTN_TRIGGER_HAPPY15’ undeclared here (not in a function) 654 | [BTN_TRIGGER_HAPPY15] = "BTN_TRIGGER_HAPPY15", | ^~~~~~~~~~~~~~~~~~~ event-names.h:552:6: error: ‘KEY_MACRO23’ undeclared here (not in a function) 552 | [KEY_MACRO23] = "KEY_MACRO23", | ^~~~~~~~~~~ event-names.h:655:6: error: ‘BTN_TRIGGER_HAPPY16’ undeclared here (not in a function) 655 | [BTN_TRIGGER_HAPPY16] = "BTN_TRIGGER_HAPPY16", | ^~~~~~~~~~~~~~~~~~~ event-names.h:553:6: error: ‘KEY_MACRO24’ undeclared here (not in a function) 553 | [KEY_MACRO24] = "KEY_MACRO24", | ^~~~~~~~~~~ event-names.h:656:6: error: ‘BTN_TRIGGER_HAPPY17’ undeclared here (not in a function) 656 | [BTN_TRIGGER_HAPPY17] = "BTN_TRIGGER_HAPPY17", | ^~~~~~~~~~~~~~~~~~~ event-names.h:554:6: error: ‘KEY_MACRO25’ undeclared here (not in a function) 554 | [KEY_MACRO25] = "KEY_MACRO25", | ^~~~~~~~~~~ event-names.h:555:6: error: ‘KEY_MACRO26’ undeclared here (not in a function) 555 | [KEY_MACRO26] = "KEY_MACRO26", | ^~~~~~~~~~~ event-names.h:657:6: error: ‘BTN_TRIGGER_HAPPY18’ undeclared here (not in a function) 657 | [BTN_TRIGGER_HAPPY18] = "BTN_TRIGGER_HAPPY18", | ^~~~~~~~~~~~~~~~~~~ event-names.h:556:6: error: ‘KEY_MACRO27’ undeclared here (not in a function) 556 | [KEY_MACRO27] = "KEY_MACRO27", | ^~~~~~~~~~~ event-names.h:658:6: error: ‘BTN_TRIGGER_HAPPY19’ undeclared here (not in a function) 658 | [BTN_TRIGGER_HAPPY19] = "BTN_TRIGGER_HAPPY19", | ^~~~~~~~~~~~~~~~~~~ event-names.h:557:6: error: ‘KEY_MACRO28’ undeclared here (not in a function) 557 | [KEY_MACRO28] = "KEY_MACRO28", | ^~~~~~~~~~~ event-names.h:659:6: error: ‘BTN_TRIGGER_HAPPY20’ undeclared here (not in a function) 659 | [BTN_TRIGGER_HAPPY20] = "BTN_TRIGGER_HAPPY20", | ^~~~~~~~~~~~~~~~~~~ event-names.h:558:6: error: ‘KEY_MACRO29’ undeclared here (not in a function) 558 | [KEY_MACRO29] = "KEY_MACRO29", | ^~~~~~~~~~~ event-names.h:660:6: error: ‘BTN_TRIGGER_HAPPY21’ undeclared here (not in a function) 660 | [BTN_TRIGGER_HAPPY21] = "BTN_TRIGGER_HAPPY21", | ^~~~~~~~~~~~~~~~~~~ event-names.h:559:6: error: ‘KEY_MACRO30’ undeclared here (not in a function) 559 | [KEY_MACRO30] = "KEY_MACRO30", | ^~~~~~~~~~~ event-names.h:661:6: error: ‘BTN_TRIGGER_HAPPY22’ undeclared here (not in a function) 661 | [BTN_TRIGGER_HAPPY22] = "BTN_TRIGGER_HAPPY22", | ^~~~~~~~~~~~~~~~~~~ event-names.h:560:6: error: ‘KEY_MACRO_RECORD_START’ undeclared here (not in a function) 560 | [KEY_MACRO_RECORD_START] = "KEY_MACRO_RECORD_START", | ^~~~~~~~~~~~~~~~~~~~~~ event-names.h:662:6: error: ‘BTN_TRIGGER_HAPPY23’ undeclared here (not in a function) 662 | [BTN_TRIGGER_HAPPY23] = "BTN_TRIGGER_HAPPY23", | ^~~~~~~~~~~~~~~~~~~ event-names.h:561:6: error: ‘KEY_MACRO_RECORD_STOP’ undeclared here (not in a function) 561 | [KEY_MACRO_RECORD_STOP] = "KEY_MACRO_RECORD_STOP", | ^~~~~~~~~~~~~~~~~~~~~ event-names.h:663:6: error: ‘BTN_TRIGGER_HAPPY24’ undeclared here (not in a function) 663 | [BTN_TRIGGER_HAPPY24] = "BTN_TRIGGER_HAPPY24", | ^~~~~~~~~~~~~~~~~~~ event-names.h:562:6: error: ‘KEY_MACRO_PRESET_CYCLE’ undeclared here (not in a function) 562 | [KEY_MACRO_PRESET_CYCLE] = "KEY_MACRO_PRESET_CYCLE", | ^~~~~~~~~~~~~~~~~~~~~~ event-names.h:664:6: error: ‘BTN_TRIGGER_HAPPY25’ undeclared here (not in a function) 664 | [BTN_TRIGGER_HAPPY25] = "BTN_TRIGGER_HAPPY25", | ^~~~~~~~~~~~~~~~~~~ event-names.h:563:6: error: ‘KEY_MACRO_PRESET1’ undeclared here (not in a function) 563 | [KEY_MACRO_PRESET1] = "KEY_MACRO_PRESET1", | ^~~~~~~~~~~~~~~~~ event-names.h:665:6: error: ‘BTN_TRIGGER_HAPPY26’ undeclared here (not in a function) 665 | [BTN_TRIGGER_HAPPY26] = "BTN_TRIGGER_HAPPY26", | ^~~~~~~~~~~~~~~~~~~ event-names.h:666:6: error: ‘BTN_TRIGGER_HAPPY27’ undeclared here (not in a function) 666 | [BTN_TRIGGER_HAPPY27] = "BTN_TRIGGER_HAPPY27", | ^~~~~~~~~~~~~~~~~~~ event-names.h:564:6: error: ‘KEY_MACRO_PRESET2’ undeclared here (not in a function) 564 | [KEY_MACRO_PRESET2] = "KEY_MACRO_PRESET2", | ^~~~~~~~~~~~~~~~~ event-names.h:667:6: error: ‘BTN_TRIGGER_HAPPY28’ undeclared here (not in a function) 667 | [BTN_TRIGGER_HAPPY28] = "BTN_TRIGGER_HAPPY28", | ^~~~~~~~~~~~~~~~~~~ event-names.h:565:6: error: ‘KEY_MACRO_PRESET3’ undeclared here (not in a function) 565 | [KEY_MACRO_PRESET3] = "KEY_MACRO_PRESET3", | ^~~~~~~~~~~~~~~~~ event-names.h:668:6: error: ‘BTN_TRIGGER_HAPPY29’ undeclared here (not in a function) 668 | [BTN_TRIGGER_HAPPY29] = "BTN_TRIGGER_HAPPY29", | ^~~~~~~~~~~~~~~~~~~ event-names.h:566:6: error: ‘KEY_KBD_LCD_MENU1’ undeclared here (not in a function) 566 | [KEY_KBD_LCD_MENU1] = "KEY_KBD_LCD_MENU1", | ^~~~~~~~~~~~~~~~~ event-names.h:669:6: error: ‘BTN_TRIGGER_HAPPY30’ undeclared here (not in a function) 669 | [BTN_TRIGGER_HAPPY30] = "BTN_TRIGGER_HAPPY30", | ^~~~~~~~~~~~~~~~~~~ event-names.h:567:6: error: ‘KEY_KBD_LCD_MENU2’ undeclared here (not in a function) 567 | [KEY_KBD_LCD_MENU2] = "KEY_KBD_LCD_MENU2", | ^~~~~~~~~~~~~~~~~ event-names.h:568:6: error: ‘KEY_KBD_LCD_MENU3’ undeclared here (not in a function) 568 | [KEY_KBD_LCD_MENU3] = "KEY_KBD_LCD_MENU3", | ^~~~~~~~~~~~~~~~~ event-names.h:670:6: error: ‘BTN_TRIGGER_HAPPY31’ undeclared here (not in a function) 670 | [BTN_TRIGGER_HAPPY31] = "BTN_TRIGGER_HAPPY31", | ^~~~~~~~~~~~~~~~~~~ event-names.h:671:6: error: ‘BTN_TRIGGER_HAPPY32’ undeclared here (not in a function) 671 | [BTN_TRIGGER_HAPPY32] = "BTN_TRIGGER_HAPPY32", | ^~~~~~~~~~~~~~~~~~~ event-names.h:569:6: error: ‘KEY_KBD_LCD_MENU4’ undeclared here (not in a function) 569 | [KEY_KBD_LCD_MENU4] = "KEY_KBD_LCD_MENU4", | ^~~~~~~~~~~~~~~~~ event-names.h:672:6: error: ‘BTN_TRIGGER_HAPPY33’ undeclared here (not in a function) 672 | [BTN_TRIGGER_HAPPY33] = "BTN_TRIGGER_HAPPY33", | ^~~~~~~~~~~~~~~~~~~ event-names.h:570:6: error: ‘KEY_KBD_LCD_MENU5’ undeclared here (not in a function) 570 | [KEY_KBD_LCD_MENU5] = "KEY_KBD_LCD_MENU5", | ^~~~~~~~~~~~~~~~~ event-names.h:572:6: error: ‘BTN_0’ undeclared here (not in a function) 572 | [BTN_0] = "BTN_0", | ^~~~~ event-names.h:573:6: error: ‘BTN_1’ undeclared here (not in a function) 573 | [BTN_1] = "BTN_1", | ^~~~~ event-names.h:673:6: error: ‘BTN_TRIGGER_HAPPY34’ undeclared here (not in a function) 673 | [BTN_TRIGGER_HAPPY34] = "BTN_TRIGGER_HAPPY34", | ^~~~~~~~~~~~~~~~~~~ event-names.h:574:6: error: ‘BTN_2’ undeclared here (not in a function) 574 | [BTN_2] = "BTN_2", | ^~~~~ event-names.h:575:6: error: ‘BTN_3’ undeclared here (not in a function) 575 | [BTN_3] = "BTN_3", | ^~~~~ event-names.h:674:6: error: ‘BTN_TRIGGER_HAPPY35’ undeclared here (not in a function) 674 | [BTN_TRIGGER_HAPPY35] = "BTN_TRIGGER_HAPPY35", | ^~~~~~~~~~~~~~~~~~~ event-names.h:576:6: error: ‘BTN_4’ undeclared here (not in a function) 576 | [BTN_4] = "BTN_4", | ^~~~~ event-names.h:577:6: error: ‘BTN_5’ undeclared here (not in a function) 577 | [BTN_5] = "BTN_5", | ^~~~~ event-names.h:675:6: error: ‘BTN_TRIGGER_HAPPY36’ undeclared here (not in a function) 675 | [BTN_TRIGGER_HAPPY36] = "BTN_TRIGGER_HAPPY36", | ^~~~~~~~~~~~~~~~~~~ event-names.h:578:6: error: ‘BTN_6’ undeclared here (not in a function) 578 | [BTN_6] = "BTN_6", | ^~~~~ event-names.h:579:6: error: ‘BTN_7’ undeclared here (not in a function) 579 | [BTN_7] = "BTN_7", | ^~~~~ event-names.h:676:6: error: ‘BTN_TRIGGER_HAPPY37’ undeclared here (not in a function) 676 | [BTN_TRIGGER_HAPPY37] = "BTN_TRIGGER_HAPPY37", | ^~~~~~~~~~~~~~~~~~~ event-names.h:580:6: error: ‘BTN_8’ undeclared here (not in a function) 580 | [BTN_8] = "BTN_8", | ^~~~~ event-names.h:581:6: error: ‘BTN_9’ undeclared here (not in a function) 581 | [BTN_9] = "BTN_9", | ^~~~~ event-names.h:677:6: error: ‘BTN_TRIGGER_HAPPY38’ undeclared here (not in a function) 677 | [BTN_TRIGGER_HAPPY38] = "BTN_TRIGGER_HAPPY38", | ^~~~~~~~~~~~~~~~~~~ event-names.h:582:6: error: ‘BTN_LEFT’ undeclared here (not in a function) 582 | [BTN_LEFT] = "BTN_LEFT", | ^~~~~~~~ event-names.h:583:6: error: ‘BTN_RIGHT’ undeclared here (not in a function) 583 | [BTN_RIGHT] = "BTN_RIGHT", | ^~~~~~~~~ event-names.h:678:6: error: ‘BTN_TRIGGER_HAPPY39’ undeclared here (not in a function) 678 | [BTN_TRIGGER_HAPPY39] = "BTN_TRIGGER_HAPPY39", | ^~~~~~~~~~~~~~~~~~~ event-names.h:584:6: error: ‘BTN_MIDDLE’ undeclared here (not in a function) 584 | [BTN_MIDDLE] = "BTN_MIDDLE", | ^~~~~~~~~~ event-names.h:679:6: error: ‘BTN_TRIGGER_HAPPY40’ undeclared here (not in a function) 679 | [BTN_TRIGGER_HAPPY40] = "BTN_TRIGGER_HAPPY40", | ^~~~~~~~~~~~~~~~~~~ event-names.h:585:6: error: ‘BTN_SIDE’ undeclared here (not in a function) 585 | [BTN_SIDE] = "BTN_SIDE", | ^~~~~~~~ event-names.h:682:35: error: ‘LED_MAX’ undeclared here (not in a function) 682 | static const char * const led_map[LED_MAX + 1] = { | ^~~~~~~ event-names.h:586:6: error: ‘BTN_EXTRA’ undeclared here (not in a function) 586 | [BTN_EXTRA] = "BTN_EXTRA", | ^~~~~~~~~ event-names.h:683:6: error: ‘LED_NUML’ undeclared here (not in a function) 683 | [LED_NUML] = "LED_NUML", | ^~~~~~~~ event-names.h:684:6: error: ‘LED_CAPSL’ undeclared here (not in a function) 684 | [LED_CAPSL] = "LED_CAPSL", | ^~~~~~~~~ event-names.h:587:6: error: ‘BTN_FORWARD’ undeclared here (not in a function) 587 | [BTN_FORWARD] = "BTN_FORWARD", | ^~~~~~~~~~~ event-names.h:685:6: error: ‘LED_SCROLLL’ undeclared here (not in a function) 685 | [LED_SCROLLL] = "LED_SCROLLL", | ^~~~~~~~~~~ event-names.h:588:6: error: ‘BTN_BACK’ undeclared here (not in a function) 588 | [BTN_BACK] = "BTN_BACK", | ^~~~~~~~ event-names.h:589:6: error: ‘BTN_TASK’ undeclared here (not in a function) 589 | [BTN_TASK] = "BTN_TASK", | ^~~~~~~~ event-names.h:686:6: error: ‘LED_COMPOSE’ undeclared here (not in a function) 686 | [LED_COMPOSE] = "LED_COMPOSE", | ^~~~~~~~~~~ event-names.h:687:6: error: ‘LED_KANA’ undeclared here (not in a function) 687 | [LED_KANA] = "LED_KANA", | ^~~~~~~~ event-names.h:590:6: error: ‘BTN_TRIGGER’ undeclared here (not in a function) 590 | [BTN_TRIGGER] = "BTN_TRIGGER", | ^~~~~~~~~~~ event-names.h:688:6: error: ‘LED_SLEEP’ undeclared here (not in a function) 688 | [LED_SLEEP] = "LED_SLEEP", | ^~~~~~~~~ event-names.h:591:6: error: ‘BTN_THUMB’ undeclared here (not in a function) 591 | [BTN_THUMB] = "BTN_THUMB", | ^~~~~~~~~ event-names.h:689:6: error: ‘LED_SUSPEND’ undeclared here (not in a function) 689 | [LED_SUSPEND] = "LED_SUSPEND", | ^~~~~~~~~~~ event-names.h:592:6: error: ‘BTN_THUMB2’ undeclared here (not in a function) 592 | [BTN_THUMB2] = "BTN_THUMB2", | ^~~~~~~~~~ event-names.h:690:6: error: ‘LED_MUTE’ undeclared here (not in a function) 690 | [LED_MUTE] = "LED_MUTE", | ^~~~~~~~ event-names.h:593:6: error: ‘BTN_TOP’ undeclared here (not in a function) 593 | [BTN_TOP] = "BTN_TOP", | ^~~~~~~ event-names.h:691:6: error: ‘LED_MISC’ undeclared here (not in a function) 691 | [LED_MISC] = "LED_MISC", | ^~~~~~~~ event-names.h:594:6: error: ‘BTN_TOP2’ undeclared here (not in a function) 594 | [BTN_TOP2] = "BTN_TOP2", | ^~~~~~~~ event-names.h:692:6: error: ‘LED_MAIL’ undeclared here (not in a function) 692 | [LED_MAIL] = "LED_MAIL", | ^~~~~~~~ event-names.h:595:6: error: ‘BTN_PINKIE’ undeclared here (not in a function) 595 | [BTN_PINKIE] = "BTN_PINKIE", | ^~~~~~~~~~ event-names.h:693:6: error: ‘LED_CHARGING’ undeclared here (not in a function) 693 | [LED_CHARGING] = "LED_CHARGING", | ^~~~~~~~~~~~ event-names.h:596:6: error: ‘BTN_BASE’ undeclared here (not in a function) 596 | [BTN_BASE] = "BTN_BASE", | ^~~~~~~~ event-names.h:697:35: error: ‘SND_MAX’ undeclared here (not in a function); did you mean ‘RAND_MAX’? 697 | static const char * const snd_map[SND_MAX + 1] = { | ^~~~~~~ | RAND_MAX event-names.h:698:6: error: ‘SND_CLICK’ undeclared here (not in a function) 698 | [SND_CLICK] = "SND_CLICK", | ^~~~~~~~~ event-names.h:597:6: error: ‘BTN_BASE2’ undeclared here (not in a function) 597 | [BTN_BASE2] = "BTN_BASE2", | ^~~~~~~~~ event-names.h:699:6: error: ‘SND_BELL’ undeclared here (not in a function) 699 | [SND_BELL] = "SND_BELL", | ^~~~~~~~ event-names.h:598:6: error: ‘BTN_BASE3’ undeclared here (not in a function) 598 | [BTN_BASE3] = "BTN_BASE3", | ^~~~~~~~~ event-names.h:700:6: error: ‘SND_TONE’ undeclared here (not in a function); did you mean ‘SYNC_NONE’? 700 | [SND_TONE] = "SND_TONE", | ^~~~~~~~ | SYNC_NONE event-names.h:599:6: error: ‘BTN_BASE4’ undeclared here (not in a function) 599 | [BTN_BASE4] = "BTN_BASE4", | ^~~~~~~~~ event-names.h:704:35: error: ‘MSC_MAX’ undeclared here (not in a function) 704 | static const char * const msc_map[MSC_MAX + 1] = { | ^~~~~~~ event-names.h:600:6: error: ‘BTN_BASE5’ undeclared here (not in a function) 600 | [BTN_BASE5] = "BTN_BASE5", | ^~~~~~~~~ event-names.h:705:6: error: ‘MSC_SERIAL’ undeclared here (not in a function) 705 | [MSC_SERIAL] = "MSC_SERIAL", | ^~~~~~~~~~ event-names.h:601:6: error: ‘BTN_BASE6’ undeclared here (not in a function) 601 | [BTN_BASE6] = "BTN_BASE6", | ^~~~~~~~~ event-names.h:706:6: error: ‘MSC_PULSELED’ undeclared here (not in a function) 706 | [MSC_PULSELED] = "MSC_PULSELED", | ^~~~~~~~~~~~ event-names.h:602:6: error: ‘BTN_DEAD’ undeclared here (not in a function) 602 | [BTN_DEAD] = "BTN_DEAD", | ^~~~~~~~ event-names.h:707:6: error: ‘MSC_GESTURE’ undeclared here (not in a function) 707 | [MSC_GESTURE] = "MSC_GESTURE", | ^~~~~~~~~~~ event-names.h:603:6: error: ‘BTN_SOUTH’ undeclared here (not in a function) 603 | [BTN_SOUTH] = "BTN_SOUTH", | ^~~~~~~~~ event-names.h:708:6: error: ‘MSC_RAW’ undeclared here (not in a function) 708 | [MSC_RAW] = "MSC_RAW", | ^~~~~~~ event-names.h:709:6: error: ‘MSC_SCAN’ undeclared here (not in a function) 709 | [MSC_SCAN] = "MSC_SCAN", | ^~~~~~~~ event-names.h:604:6: error: ‘BTN_EAST’ undeclared here (not in a function) 604 | [BTN_EAST] = "BTN_EAST", | ^~~~~~~~ event-names.h:605:6: error: ‘BTN_C’ undeclared here (not in a function) 605 | [BTN_C] = "BTN_C", | ^~~~~ event-names.h:710:6: error: ‘MSC_TIMESTAMP’ undeclared here (not in a function) 710 | [MSC_TIMESTAMP] = "MSC_TIMESTAMP", | ^~~~~~~~~~~~~ event-names.h:606:6: error: ‘BTN_NORTH’ undeclared here (not in a function) 606 | [BTN_NORTH] = "BTN_NORTH", | ^~~~~~~~~ event-names.h:714:34: error: ‘SW_MAX’ undeclared here (not in a function) 714 | static const char * const sw_map[SW_MAX + 1] = { | ^~~~~~ event-names.h:715:6: error: ‘SW_LID’ undeclared here (not in a function) 715 | [SW_LID] = "SW_LID", | ^~~~~~ event-names.h:607:6: error: ‘BTN_WEST’ undeclared here (not in a function) 607 | [BTN_WEST] = "BTN_WEST", | ^~~~~~~~ event-names.h:608:6: error: ‘BTN_Z’ undeclared here (not in a function) 608 | [BTN_Z] = "BTN_Z", | ^~~~~ event-names.h:716:6: error: ‘SW_TABLET_MODE’ undeclared here (not in a function) 716 | [SW_TABLET_MODE] = "SW_TABLET_MODE", | ^~~~~~~~~~~~~~ event-names.h:609:6: error: ‘BTN_TL’ undeclared here (not in a function) 609 | [BTN_TL] = "BTN_TL", | ^~~~~~ event-names.h:610:6: error: ‘BTN_TR’ undeclared here (not in a function) 610 | [BTN_TR] = "BTN_TR", | ^~~~~~ event-names.h:717:6: error: ‘SW_HEADPHONE_INSERT’ undeclared here (not in a function) 717 | [SW_HEADPHONE_INSERT] = "SW_HEADPHONE_INSERT", | ^~~~~~~~~~~~~~~~~~~ event-names.h:611:6: error: ‘BTN_TL2’ undeclared here (not in a function) 611 | [BTN_TL2] = "BTN_TL2", | ^~~~~~~ event-names.h:718:6: error: ‘SW_RFKILL_ALL’ undeclared here (not in a function) 718 | [SW_RFKILL_ALL] = "SW_RFKILL_ALL", | ^~~~~~~~~~~~~ event-names.h:612:6: error: ‘BTN_TR2’ undeclared here (not in a function) 612 | [BTN_TR2] = "BTN_TR2", | ^~~~~~~ event-names.h:719:6: error: ‘SW_MICROPHONE_INSERT’ undeclared here (not in a function) 719 | [SW_MICROPHONE_INSERT] = "SW_MICROPHONE_INSERT", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:613:6: error: ‘BTN_SELECT’ undeclared here (not in a function) 613 | [BTN_SELECT] = "BTN_SELECT", | ^~~~~~~~~~ event-names.h:720:6: error: ‘SW_DOCK’ undeclared here (not in a function) 720 | [SW_DOCK] = "SW_DOCK", | ^~~~~~~ event-names.h:614:6: error: ‘BTN_START’ undeclared here (not in a function) 614 | [BTN_START] = "BTN_START", | ^~~~~~~~~ event-names.h:721:6: error: ‘SW_LINEOUT_INSERT’ undeclared here (not in a function) 721 | [SW_LINEOUT_INSERT] = "SW_LINEOUT_INSERT", | ^~~~~~~~~~~~~~~~~ event-names.h:615:6: error: ‘BTN_MODE’ undeclared here (not in a function) 615 | [BTN_MODE] = "BTN_MODE", | ^~~~~~~~ event-names.h:616:6: error: ‘BTN_THUMBL’ undeclared here (not in a function) 616 | [BTN_THUMBL] = "BTN_THUMBL", | ^~~~~~~~~~ event-names.h:722:6: error: ‘SW_JACK_PHYSICAL_INSERT’ undeclared here (not in a function) 722 | [SW_JACK_PHYSICAL_INSERT] = "SW_JACK_PHYSICAL_INSERT", | ^~~~~~~~~~~~~~~~~~~~~~~ event-names.h:617:6: error: ‘BTN_THUMBR’ undeclared here (not in a function) 617 | [BTN_THUMBR] = "BTN_THUMBR", | ^~~~~~~~~~ event-names.h:723:6: error: ‘SW_VIDEOOUT_INSERT’ undeclared here (not in a function) 723 | [SW_VIDEOOUT_INSERT] = "SW_VIDEOOUT_INSERT", | ^~~~~~~~~~~~~~~~~~ event-names.h:618:6: error: ‘BTN_TOOL_PEN’ undeclared here (not in a function) 618 | [BTN_TOOL_PEN] = "BTN_TOOL_PEN", | ^~~~~~~~~~~~ event-names.h:724:6: error: ‘SW_CAMERA_LENS_COVER’ undeclared here (not in a function) 724 | [SW_CAMERA_LENS_COVER] = "SW_CAMERA_LENS_COVER", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:619:6: error: ‘BTN_TOOL_RUBBER’ undeclared here (not in a function) 619 | [BTN_TOOL_RUBBER] = "BTN_TOOL_RUBBER", | ^~~~~~~~~~~~~~~ event-names.h:725:6: error: ‘SW_KEYPAD_SLIDE’ undeclared here (not in a function) 725 | [SW_KEYPAD_SLIDE] = "SW_KEYPAD_SLIDE", | ^~~~~~~~~~~~~~~ event-names.h:620:6: error: ‘BTN_TOOL_BRUSH’ undeclared here (not in a function) 620 | [BTN_TOOL_BRUSH] = "BTN_TOOL_BRUSH", | ^~~~~~~~~~~~~~ event-names.h:726:6: error: ‘SW_FRONT_PROXIMITY’ undeclared here (not in a function) 726 | [SW_FRONT_PROXIMITY] = "SW_FRONT_PROXIMITY", | ^~~~~~~~~~~~~~~~~~ event-names.h:621:6: error: ‘BTN_TOOL_PENCIL’ undeclared here (not in a function) 621 | [BTN_TOOL_PENCIL] = "BTN_TOOL_PENCIL", | ^~~~~~~~~~~~~~~ event-names.h:727:6: error: ‘SW_ROTATE_LOCK’ undeclared here (not in a function) 727 | [SW_ROTATE_LOCK] = "SW_ROTATE_LOCK", | ^~~~~~~~~~~~~~ event-names.h:622:6: error: ‘BTN_TOOL_AIRBRUSH’ undeclared here (not in a function) 622 | [BTN_TOOL_AIRBRUSH] = "BTN_TOOL_AIRBRUSH", | ^~~~~~~~~~~~~~~~~ event-names.h:728:6: error: ‘SW_LINEIN_INSERT’ undeclared here (not in a function) 728 | [SW_LINEIN_INSERT] = "SW_LINEIN_INSERT", | ^~~~~~~~~~~~~~~~ event-names.h:729:6: error: ‘SW_MUTE_DEVICE’ undeclared here (not in a function) 729 | [SW_MUTE_DEVICE] = "SW_MUTE_DEVICE", | ^~~~~~~~~~~~~~ event-names.h:623:6: error: ‘BTN_TOOL_FINGER’ undeclared here (not in a function) 623 | [BTN_TOOL_FINGER] = "BTN_TOOL_FINGER", | ^~~~~~~~~~~~~~~ event-names.h:730:6: error: ‘SW_PEN_INSERTED’ undeclared here (not in a function) 730 | [SW_PEN_INSERTED] = "SW_PEN_INSERTED", | ^~~~~~~~~~~~~~~ event-names.h:624:6: error: ‘BTN_TOOL_MOUSE’ undeclared here (not in a function) 624 | [BTN_TOOL_MOUSE] = "BTN_TOOL_MOUSE", | ^~~~~~~~~~~~~~ event-names.h:731:6: error: ‘SW_MACHINE_COVER’ undeclared here (not in a function) 731 | [SW_MACHINE_COVER] = "SW_MACHINE_COVER", | ^~~~~~~~~~~~~~~~ event-names.h:625:6: error: ‘BTN_TOOL_LENS’ undeclared here (not in a function) 625 | [BTN_TOOL_LENS] = "BTN_TOOL_LENS", | ^~~~~~~~~~~~~ event-names.h:734:34: error: ‘FF_MAX’ undeclared here (not in a function) 734 | static const char * const ff_map[FF_MAX + 1] = { | ^~~~~~ event-names.h:626:6: error: ‘BTN_TOOL_QUINTTAP’ undeclared here (not in a function) 626 | [BTN_TOOL_QUINTTAP] = "BTN_TOOL_QUINTTAP", | ^~~~~~~~~~~~~~~~~ event-names.h:735:6: error: ‘FF_STATUS_STOPPED’ undeclared here (not in a function) 735 | [FF_STATUS_STOPPED] = "FF_STATUS_STOPPED", | ^~~~~~~~~~~~~~~~~ event-names.h:736:6: error: ‘FF_STATUS_MAX’ undeclared here (not in a function) 736 | [FF_STATUS_MAX] = "FF_STATUS_MAX", | ^~~~~~~~~~~~~ event-names.h:627:6: error: ‘BTN_STYLUS3’ undeclared here (not in a function) 627 | [BTN_STYLUS3] = "BTN_STYLUS3", | ^~~~~~~~~~~ event-names.h:737:6: error: ‘FF_RUMBLE’ undeclared here (not in a function) 737 | [FF_RUMBLE] = "FF_RUMBLE", | ^~~~~~~~~ event-names.h:628:6: error: ‘BTN_TOUCH’ undeclared here (not in a function) 628 | [BTN_TOUCH] = "BTN_TOUCH", | ^~~~~~~~~ event-names.h:738:6: error: ‘FF_PERIODIC’ undeclared here (not in a function) 738 | [FF_PERIODIC] = "FF_PERIODIC", | ^~~~~~~~~~~ event-names.h:629:6: error: ‘BTN_STYLUS’ undeclared here (not in a function) 629 | [BTN_STYLUS] = "BTN_STYLUS", | ^~~~~~~~~~ event-names.h:739:6: error: ‘FF_CONSTANT’ undeclared here (not in a function) 739 | [FF_CONSTANT] = "FF_CONSTANT", | ^~~~~~~~~~~ event-names.h:630:6: error: ‘BTN_STYLUS2’ undeclared here (not in a function) 630 | [BTN_STYLUS2] = "BTN_STYLUS2", | ^~~~~~~~~~~ event-names.h:740:6: error: ‘FF_SPRING’ undeclared here (not in a function) 740 | [FF_SPRING] = "FF_SPRING", | ^~~~~~~~~ event-names.h:741:6: error: ‘FF_FRICTION’ undeclared here (not in a function) 741 | [FF_FRICTION] = "FF_FRICTION", | ^~~~~~~~~~~ event-names.h:631:6: error: ‘BTN_TOOL_DOUBLETAP’ undeclared here (not in a function) 631 | [BTN_TOOL_DOUBLETAP] = "BTN_TOOL_DOUBLETAP", | ^~~~~~~~~~~~~~~~~~ event-names.h:742:6: error: ‘FF_DAMPER’ undeclared here (not in a function) 742 | [FF_DAMPER] = "FF_DAMPER", | ^~~~~~~~~ event-names.h:743:6: error: ‘FF_INERTIA’ undeclared here (not in a function) 743 | [FF_INERTIA] = "FF_INERTIA", | ^~~~~~~~~~ event-names.h:632:6: error: ‘BTN_TOOL_TRIPLETAP’ undeclared here (not in a function) 632 | [BTN_TOOL_TRIPLETAP] = "BTN_TOOL_TRIPLETAP", | ^~~~~~~~~~~~~~~~~~ event-names.h:744:6: error: ‘FF_RAMP’ undeclared here (not in a function) 744 | [FF_RAMP] = "FF_RAMP", | ^~~~~~~ event-names.h:745:6: error: ‘FF_SQUARE’ undeclared here (not in a function) 745 | [FF_SQUARE] = "FF_SQUARE", | ^~~~~~~~~ event-names.h:633:6: error: ‘BTN_TOOL_QUADTAP’ undeclared here (not in a function) 633 | [BTN_TOOL_QUADTAP] = "BTN_TOOL_QUADTAP", | ^~~~~~~~~~~~~~~~ event-names.h:746:6: error: ‘FF_TRIANGLE’ undeclared here (not in a function) 746 | [FF_TRIANGLE] = "FF_TRIANGLE", | ^~~~~~~~~~~ event-names.h:634:6: error: ‘BTN_GEAR_DOWN’ undeclared here (not in a function) 634 | [BTN_GEAR_DOWN] = "BTN_GEAR_DOWN", | ^~~~~~~~~~~~~ event-names.h:747:6: error: ‘FF_SINE’ undeclared here (not in a function) 747 | [FF_SINE] = "FF_SINE", | ^~~~~~~ event-names.h:748:6: error: ‘FF_SAW_UP’ undeclared here (not in a function) 748 | [FF_SAW_UP] = "FF_SAW_UP", | ^~~~~~~~~ event-names.h:635:6: error: ‘BTN_GEAR_UP’ undeclared here (not in a function) 635 | [BTN_GEAR_UP] = "BTN_GEAR_UP", | ^~~~~~~~~~~ event-names.h:749:6: error: ‘FF_SAW_DOWN’ undeclared here (not in a function) 749 | [FF_SAW_DOWN] = "FF_SAW_DOWN", | ^~~~~~~~~~~ event-names.h:636:6: error: ‘BTN_DPAD_UP’ undeclared here (not in a function) 636 | [BTN_DPAD_UP] = "BTN_DPAD_UP", | ^~~~~~~~~~~ event-names.h:750:6: error: ‘FF_CUSTOM’ undeclared here (not in a function) 750 | [FF_CUSTOM] = "FF_CUSTOM", | ^~~~~~~~~ event-names.h:751:6: error: ‘FF_GAIN’ undeclared here (not in a function) 751 | [FF_GAIN] = "FF_GAIN", | ^~~~~~~ event-names.h:637:6: error: ‘BTN_DPAD_DOWN’ undeclared here (not in a function) 637 | [BTN_DPAD_DOWN] = "BTN_DPAD_DOWN", | ^~~~~~~~~~~~~ event-names.h:752:6: error: ‘FF_AUTOCENTER’ undeclared here (not in a function) 752 | [FF_AUTOCENTER] = "FF_AUTOCENTER", | ^~~~~~~~~~~~~ event-names.h:756:35: error: ‘SYN_MAX’ undeclared here (not in a function) 756 | static const char * const syn_map[SYN_MAX + 1] = { | ^~~~~~~ event-names.h:638:6: error: ‘BTN_DPAD_LEFT’ undeclared here (not in a function) 638 | [BTN_DPAD_LEFT] = "BTN_DPAD_LEFT", | ^~~~~~~~~~~~~ event-names.h:757:6: error: ‘SYN_REPORT’ undeclared here (not in a function) 757 | [SYN_REPORT] = "SYN_REPORT", | ^~~~~~~~~~ event-names.h:639:6: error: ‘BTN_DPAD_RIGHT’ undeclared here (not in a function) 639 | [BTN_DPAD_RIGHT] = "BTN_DPAD_RIGHT", | ^~~~~~~~~~~~~~ event-names.h:758:6: error: ‘SYN_CONFIG’ undeclared here (not in a function) 758 | [SYN_CONFIG] = "SYN_CONFIG", | ^~~~~~~~~~ event-names.h:759:6: error: ‘SYN_MT_REPORT’ undeclared here (not in a function) 759 | [SYN_MT_REPORT] = "SYN_MT_REPORT", | ^~~~~~~~~~~~~ event-names.h:640:6: error: ‘BTN_TRIGGER_HAPPY1’ undeclared here (not in a function) 640 | [BTN_TRIGGER_HAPPY1] = "BTN_TRIGGER_HAPPY1", | ^~~~~~~~~~~~~~~~~~ event-names.h:760:6: error: ‘SYN_DROPPED’ undeclared here (not in a function) 760 | [SYN_DROPPED] = "SYN_DROPPED", | ^~~~~~~~~~~ event-names.h:641:6: error: ‘BTN_TRIGGER_HAPPY2’ undeclared here (not in a function) 641 | [BTN_TRIGGER_HAPPY2] = "BTN_TRIGGER_HAPPY2", | ^~~~~~~~~~~~~~~~~~ event-names.h:764:35: error: ‘REP_MAX’ undeclared here (not in a function); did you mean ‘TMP_MAX’? 764 | static const char * const rep_map[REP_MAX + 1] = { | ^~~~~~~ | TMP_MAX event-names.h:765:6: error: ‘REP_DELAY’ undeclared here (not in a function) 765 | [REP_DELAY] = "REP_DELAY", | ^~~~~~~~~ event-names.h:642:6: error: ‘BTN_TRIGGER_HAPPY3’ undeclared here (not in a function) 642 | [BTN_TRIGGER_HAPPY3] = "BTN_TRIGGER_HAPPY3", | ^~~~~~~~~~~~~~~~~~ event-names.h:766:6: error: ‘REP_PERIOD’ undeclared here (not in a function) 766 | [REP_PERIOD] = "REP_PERIOD", | ^~~~~~~~~~ event-names.h:769:42: error: ‘INPUT_PROP_MAX’ undeclared here (not in a function) 769 | static const char * const input_prop_map[INPUT_PROP_MAX + 1] = { | ^~~~~~~~~~~~~~ event-names.h:643:6: error: ‘BTN_TRIGGER_HAPPY4’ undeclared here (not in a function) 643 | [BTN_TRIGGER_HAPPY4] = "BTN_TRIGGER_HAPPY4", | ^~~~~~~~~~~~~~~~~~ event-names.h:770:6: error: ‘INPUT_PROP_POINTER’ undeclared here (not in a function) 770 | [INPUT_PROP_POINTER] = "INPUT_PROP_POINTER", | ^~~~~~~~~~~~~~~~~~ event-names.h:644:6: error: ‘BTN_TRIGGER_HAPPY5’ undeclared here (not in a function) 644 | [BTN_TRIGGER_HAPPY5] = "BTN_TRIGGER_HAPPY5", | ^~~~~~~~~~~~~~~~~~ event-names.h:771:6: error: ‘INPUT_PROP_DIRECT’ undeclared here (not in a function) 771 | [INPUT_PROP_DIRECT] = "INPUT_PROP_DIRECT", | ^~~~~~~~~~~~~~~~~ event-names.h:645:6: error: ‘BTN_TRIGGER_HAPPY6’ undeclared here (not in a function) 645 | [BTN_TRIGGER_HAPPY6] = "BTN_TRIGGER_HAPPY6", | ^~~~~~~~~~~~~~~~~~ event-names.h:772:6: error: ‘INPUT_PROP_BUTTONPAD’ undeclared here (not in a function) 772 | [INPUT_PROP_BUTTONPAD] = "INPUT_PROP_BUTTONPAD", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:646:6: error: ‘BTN_TRIGGER_HAPPY7’ undeclared here (not in a function) 646 | [BTN_TRIGGER_HAPPY7] = "BTN_TRIGGER_HAPPY7", | ^~~~~~~~~~~~~~~~~~ event-names.h:773:6: error: ‘INPUT_PROP_SEMI_MT’ undeclared here (not in a function) 773 | [INPUT_PROP_SEMI_MT] = "INPUT_PROP_SEMI_MT", | ^~~~~~~~~~~~~~~~~~ event-names.h:647:6: error: ‘BTN_TRIGGER_HAPPY8’ undeclared here (not in a function) 647 | [BTN_TRIGGER_HAPPY8] = "BTN_TRIGGER_HAPPY8", | ^~~~~~~~~~~~~~~~~~ event-names.h:774:6: error: ‘INPUT_PROP_TOPBUTTONPAD’ undeclared here (not in a function) 774 | [INPUT_PROP_TOPBUTTONPAD] = "INPUT_PROP_TOPBUTTONPAD", | ^~~~~~~~~~~~~~~~~~~~~~~ event-names.h:648:6: error: ‘BTN_TRIGGER_HAPPY9’ undeclared here (not in a function) 648 | [BTN_TRIGGER_HAPPY9] = "BTN_TRIGGER_HAPPY9", | ^~~~~~~~~~~~~~~~~~ event-names.h:775:6: error: ‘INPUT_PROP_POINTING_STICK’ undeclared here (not in a function) 775 | [INPUT_PROP_POINTING_STICK] = "INPUT_PROP_POINTING_STICK", | ^~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:649:6: error: ‘BTN_TRIGGER_HAPPY10’ undeclared here (not in a function) 649 | [BTN_TRIGGER_HAPPY10] = "BTN_TRIGGER_HAPPY10", | ^~~~~~~~~~~~~~~~~~~ event-names.h:776:6: error: ‘INPUT_PROP_ACCELEROMETER’ undeclared here (not in a function) 776 | [INPUT_PROP_ACCELEROMETER] = "INPUT_PROP_ACCELEROMETER", | ^~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:650:6: error: ‘BTN_TRIGGER_HAPPY11’ undeclared here (not in a function) 650 | [BTN_TRIGGER_HAPPY11] = "BTN_TRIGGER_HAPPY11", | ^~~~~~~~~~~~~~~~~~~ event-names.h:780:39: error: ‘MT_TOOL_MAX’ undeclared here (not in a function) 780 | static const char * const mt_tool_map[MT_TOOL_MAX + 1] = { | ^~~~~~~~~~~ event-names.h:781:6: error: ‘MT_TOOL_FINGER’ undeclared here (not in a function) 781 | [MT_TOOL_FINGER] = "MT_TOOL_FINGER", | ^~~~~~~~~~~~~~ event-names.h:651:6: error: ‘BTN_TRIGGER_HAPPY12’ undeclared here (not in a function) 651 | [BTN_TRIGGER_HAPPY12] = "BTN_TRIGGER_HAPPY12", | ^~~~~~~~~~~~~~~~~~~ event-names.h:782:6: error: ‘MT_TOOL_PEN’ undeclared here (not in a function) 782 | [MT_TOOL_PEN] = "MT_TOOL_PEN", | ^~~~~~~~~~~ event-names.h:652:6: error: ‘BTN_TRIGGER_HAPPY13’ undeclared here (not in a function) 652 | [BTN_TRIGGER_HAPPY13] = "BTN_TRIGGER_HAPPY13", | ^~~~~~~~~~~~~~~~~~~ event-names.h:783:6: error: ‘MT_TOOL_PALM’ undeclared here (not in a function) 783 | [MT_TOOL_PALM] = "MT_TOOL_PALM", | ^~~~~~~~~~~~ event-names.h:784:6: error: ‘MT_TOOL_DIAL’ undeclared here (not in a function) 784 | [MT_TOOL_DIAL] = "MT_TOOL_DIAL", | ^~~~~~~~~~~~ event-names.h:653:6: error: ‘BTN_TRIGGER_HAPPY14’ undeclared here (not in a function) 653 | [BTN_TRIGGER_HAPPY14] = "BTN_TRIGGER_HAPPY14", | ^~~~~~~~~~~~~~~~~~~ event-names.h:931:33: error: ‘BTN_A’ undeclared here (not in a function) 931 | { .name = "BTN_A", .value = BTN_A }, | ^~~~~ event-names.h:932:33: error: ‘BTN_B’ undeclared here (not in a function) 932 | { .name = "BTN_B", .value = BTN_B }, | ^~~~~ event-names.h:654:6: error: ‘BTN_TRIGGER_HAPPY15’ undeclared here (not in a function) 654 | [BTN_TRIGGER_HAPPY15] = "BTN_TRIGGER_HAPPY15", | ^~~~~~~~~~~~~~~~~~~ event-names.h:1030:33: error: ‘BTN_X’ undeclared here (not in a function) 1030 | { .name = "BTN_X", .value = BTN_X }, | ^~~~~ event-names.h:655:6: error: ‘BTN_TRIGGER_HAPPY16’ undeclared here (not in a function) 655 | [BTN_TRIGGER_HAPPY16] = "BTN_TRIGGER_HAPPY16", | ^~~~~~~~~~~~~~~~~~~ event-names.h:1031:33: error: ‘BTN_Y’ undeclared here (not in a function) 1031 | { .name = "BTN_Y", .value = BTN_Y }, | ^~~~~ event-names.h:656:6: error: ‘BTN_TRIGGER_HAPPY17’ undeclared here (not in a function) 656 | [BTN_TRIGGER_HAPPY17] = "BTN_TRIGGER_HAPPY17", | ^~~~~~~~~~~~~~~~~~~ event-names.h:657:6: error: ‘BTN_TRIGGER_HAPPY18’ undeclared here (not in a function) 657 | [BTN_TRIGGER_HAPPY18] = "BTN_TRIGGER_HAPPY18", | ^~~~~~~~~~~~~~~~~~~ event-names.h:658:6: error: ‘BTN_TRIGGER_HAPPY19’ undeclared here (not in a function) 658 | [BTN_TRIGGER_HAPPY19] = "BTN_TRIGGER_HAPPY19", | ^~~~~~~~~~~~~~~~~~~ event-names.h:659:6: error: ‘BTN_TRIGGER_HAPPY20’ undeclared here (not in a function) 659 | [BTN_TRIGGER_HAPPY20] = "BTN_TRIGGER_HAPPY20", | ^~~~~~~~~~~~~~~~~~~ event-names.h:808:18: warning: ‘ev_max’ defined but not used [-Wunused-variable] 808 | static const int ev_max[EV_MAX + 1] = { | ^~~~~~ event-names.h:660:6: error: ‘BTN_TRIGGER_HAPPY21’ undeclared here (not in a function) 660 | [BTN_TRIGGER_HAPPY21] = "BTN_TRIGGER_HAPPY21", | ^~~~~~~~~~~~~~~~~~~ event-names.h:788:35: warning: ‘event_type_map’ defined but not used [-Wunused-variable] 788 | static const char * const * const event_type_map[EV_MAX + 1] = { | ^~~~~~~~~~~~~~ event-names.h:780:27: warning: ‘mt_tool_map’ defined but not used [-Wunused-variable] 780 | static const char * const mt_tool_map[MT_TOOL_MAX + 1] = { | ^~~~~~~~~~~ event-names.h:769:27: warning: ‘input_prop_map’ defined but not used [-Wunused-variable] 769 | static const char * const input_prop_map[INPUT_PROP_MAX + 1] = { | ^~~~~~~~~~~~~~ event-names.h:764:27: warning: ‘rep_map’ defined but not used [-Wunused-variable] 764 | static const char * const rep_map[REP_MAX + 1] = { | ^~~~~~~ event-names.h:756:27: warning: ‘syn_map’ defined but not used [-Wunused-variable] 756 | static const char * const syn_map[SYN_MAX + 1] = { | ^~~~~~~ event-names.h:661:6: error: ‘BTN_TRIGGER_HAPPY22’ undeclared here (not in a function) 661 | [BTN_TRIGGER_HAPPY22] = "BTN_TRIGGER_HAPPY22", | ^~~~~~~~~~~~~~~~~~~ event-names.h:734:27: warning: ‘ff_map’ defined but not used [-Wunused-variable] 734 | static const char * const ff_map[FF_MAX + 1] = { | ^~~~~~ event-names.h:714:27: warning: ‘sw_map’ defined but not used [-Wunused-variable] 714 | static const char * const sw_map[SW_MAX + 1] = { | ^~~~~~ event-names.h:704:27: warning: ‘msc_map’ defined but not used [-Wunused-variable] 704 | static const char * const msc_map[MSC_MAX + 1] = { | ^~~~~~~ event-names.h:697:27: warning: ‘snd_map’ defined but not used [-Wunused-variable] 697 | static const char * const snd_map[SND_MAX + 1] = { | ^~~~~~~ event-names.h:682:27: warning: ‘led_map’ defined but not used [-Wunused-variable] 682 | static const char * const led_map[LED_MAX + 1] = { | ^~~~~~~ event-names.h:85:27: warning: ‘key_map’ defined but not used [-Wunused-variable] 85 | static const char * const key_map[KEY_MAX + 1] = { | ^~~~~~~ event-names.h:39:27: warning: ‘abs_map’ defined but not used [-Wunused-variable] 39 | static const char * const abs_map[ABS_MAX + 1] = { | ^~~~~~~ event-names.h:22:27: warning: ‘rel_map’ defined but not used [-Wunused-variable] 22 | static const char * const rel_map[REL_MAX + 1] = { | ^~~~~~~ event-names.h:6:27: warning: ‘ev_map’ defined but not used [-Wunused-variable] 6 | static const char * const ev_map[EV_MAX + 1] = { | ^~~~~~ event-names.h:662:6: error: ‘BTN_TRIGGER_HAPPY23’ undeclared here (not in a function) 662 | [BTN_TRIGGER_HAPPY23] = "BTN_TRIGGER_HAPPY23", | ^~~~~~~~~~~~~~~~~~~ event-names.h:663:6: error: ‘BTN_TRIGGER_HAPPY24’ undeclared here (not in a function) 663 | [BTN_TRIGGER_HAPPY24] = "BTN_TRIGGER_HAPPY24", | ^~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:487: libevdev-names.lo] Error 1 event-names.h:664:6: error: ‘BTN_TRIGGER_HAPPY25’ undeclared here (not in a function) 664 | [BTN_TRIGGER_HAPPY25] = "BTN_TRIGGER_HAPPY25", | ^~~~~~~~~~~~~~~~~~~ event-names.h:665:6: error: ‘BTN_TRIGGER_HAPPY26’ undeclared here (not in a function) 665 | [BTN_TRIGGER_HAPPY26] = "BTN_TRIGGER_HAPPY26", | ^~~~~~~~~~~~~~~~~~~ event-names.h:666:6: error: ‘BTN_TRIGGER_HAPPY27’ undeclared here (not in a function) 666 | [BTN_TRIGGER_HAPPY27] = "BTN_TRIGGER_HAPPY27", | ^~~~~~~~~~~~~~~~~~~ event-names.h:667:6: error: ‘BTN_TRIGGER_HAPPY28’ undeclared here (not in a function) 667 | [BTN_TRIGGER_HAPPY28] = "BTN_TRIGGER_HAPPY28", | ^~~~~~~~~~~~~~~~~~~ event-names.h:668:6: error: ‘BTN_TRIGGER_HAPPY29’ undeclared here (not in a function) 668 | [BTN_TRIGGER_HAPPY29] = "BTN_TRIGGER_HAPPY29", | ^~~~~~~~~~~~~~~~~~~ event-names.h:669:6: error: ‘BTN_TRIGGER_HAPPY30’ undeclared here (not in a function) 669 | [BTN_TRIGGER_HAPPY30] = "BTN_TRIGGER_HAPPY30", | ^~~~~~~~~~~~~~~~~~~ event-names.h:670:6: error: ‘BTN_TRIGGER_HAPPY31’ undeclared here (not in a function) 670 | [BTN_TRIGGER_HAPPY31] = "BTN_TRIGGER_HAPPY31", | ^~~~~~~~~~~~~~~~~~~ event-names.h:671:6: error: ‘BTN_TRIGGER_HAPPY32’ undeclared here (not in a function) 671 | [BTN_TRIGGER_HAPPY32] = "BTN_TRIGGER_HAPPY32", | ^~~~~~~~~~~~~~~~~~~ event-names.h:672:6: error: ‘BTN_TRIGGER_HAPPY33’ undeclared here (not in a function) 672 | [BTN_TRIGGER_HAPPY33] = "BTN_TRIGGER_HAPPY33", | ^~~~~~~~~~~~~~~~~~~ event-names.h:673:6: error: ‘BTN_TRIGGER_HAPPY34’ undeclared here (not in a function) 673 | [BTN_TRIGGER_HAPPY34] = "BTN_TRIGGER_HAPPY34", | ^~~~~~~~~~~~~~~~~~~ event-names.h:674:6: error: ‘BTN_TRIGGER_HAPPY35’ undeclared here (not in a function) 674 | [BTN_TRIGGER_HAPPY35] = "BTN_TRIGGER_HAPPY35", | ^~~~~~~~~~~~~~~~~~~ event-names.h:675:6: error: ‘BTN_TRIGGER_HAPPY36’ undeclared here (not in a function) 675 | [BTN_TRIGGER_HAPPY36] = "BTN_TRIGGER_HAPPY36", | ^~~~~~~~~~~~~~~~~~~ event-names.h:676:6: error: ‘BTN_TRIGGER_HAPPY37’ undeclared here (not in a function) 676 | [BTN_TRIGGER_HAPPY37] = "BTN_TRIGGER_HAPPY37", | ^~~~~~~~~~~~~~~~~~~ event-names.h:677:6: error: ‘BTN_TRIGGER_HAPPY38’ undeclared here (not in a function) 677 | [BTN_TRIGGER_HAPPY38] = "BTN_TRIGGER_HAPPY38", | ^~~~~~~~~~~~~~~~~~~ event-names.h:678:6: error: ‘BTN_TRIGGER_HAPPY39’ undeclared here (not in a function) 678 | [BTN_TRIGGER_HAPPY39] = "BTN_TRIGGER_HAPPY39", | ^~~~~~~~~~~~~~~~~~~ event-names.h:679:6: error: ‘BTN_TRIGGER_HAPPY40’ undeclared here (not in a function) 679 | [BTN_TRIGGER_HAPPY40] = "BTN_TRIGGER_HAPPY40", | ^~~~~~~~~~~~~~~~~~~ event-names.h:682:35: error: ‘LED_MAX’ undeclared here (not in a function) 682 | static const char * const led_map[LED_MAX + 1] = { | ^~~~~~~ event-names.h:683:6: error: ‘LED_NUML’ undeclared here (not in a function) 683 | [LED_NUML] = "LED_NUML", | ^~~~~~~~ event-names.h:684:6: error: ‘LED_CAPSL’ undeclared here (not in a function) 684 | [LED_CAPSL] = "LED_CAPSL", | ^~~~~~~~~ event-names.h:685:6: error: ‘LED_SCROLLL’ undeclared here (not in a function) 685 | [LED_SCROLLL] = "LED_SCROLLL", | ^~~~~~~~~~~ event-names.h:686:6: error: ‘LED_COMPOSE’ undeclared here (not in a function) 686 | [LED_COMPOSE] = "LED_COMPOSE", | ^~~~~~~~~~~ event-names.h:687:6: error: ‘LED_KANA’ undeclared here (not in a function) 687 | [LED_KANA] = "LED_KANA", | ^~~~~~~~ event-names.h:688:6: error: ‘LED_SLEEP’ undeclared here (not in a function) 688 | [LED_SLEEP] = "LED_SLEEP", | ^~~~~~~~~ event-names.h:689:6: error: ‘LED_SUSPEND’ undeclared here (not in a function) 689 | [LED_SUSPEND] = "LED_SUSPEND", | ^~~~~~~~~~~ event-names.h:690:6: error: ‘LED_MUTE’ undeclared here (not in a function) 690 | [LED_MUTE] = "LED_MUTE", | ^~~~~~~~ event-names.h:691:6: error: ‘LED_MISC’ undeclared here (not in a function) 691 | [LED_MISC] = "LED_MISC", | ^~~~~~~~ event-names.h:692:6: error: ‘LED_MAIL’ undeclared here (not in a function) 692 | [LED_MAIL] = "LED_MAIL", | ^~~~~~~~ event-names.h:693:6: error: ‘LED_CHARGING’ undeclared here (not in a function) 693 | [LED_CHARGING] = "LED_CHARGING", | ^~~~~~~~~~~~ event-names.h:697:35: error: ‘SND_MAX’ undeclared here (not in a function); did you mean ‘RAND_MAX’? 697 | static const char * const snd_map[SND_MAX + 1] = { | ^~~~~~~ | RAND_MAX event-names.h:698:6: error: ‘SND_CLICK’ undeclared here (not in a function) 698 | [SND_CLICK] = "SND_CLICK", | ^~~~~~~~~ event-names.h:699:6: error: ‘SND_BELL’ undeclared here (not in a function) 699 | [SND_BELL] = "SND_BELL", | ^~~~~~~~ event-names.h:700:6: error: ‘SND_TONE’ undeclared here (not in a function); did you mean ‘SYNC_NONE’? 700 | [SND_TONE] = "SND_TONE", | ^~~~~~~~ | SYNC_NONE event-names.h:704:35: error: ‘MSC_MAX’ undeclared here (not in a function) 704 | static const char * const msc_map[MSC_MAX + 1] = { | ^~~~~~~ event-names.h:705:6: error: ‘MSC_SERIAL’ undeclared here (not in a function) 705 | [MSC_SERIAL] = "MSC_SERIAL", | ^~~~~~~~~~ event-names.h:706:6: error: ‘MSC_PULSELED’ undeclared here (not in a function) 706 | [MSC_PULSELED] = "MSC_PULSELED", | ^~~~~~~~~~~~ event-names.h:707:6: error: ‘MSC_GESTURE’ undeclared here (not in a function) 707 | [MSC_GESTURE] = "MSC_GESTURE", | ^~~~~~~~~~~ event-names.h:708:6: error: ‘MSC_RAW’ undeclared here (not in a function) 708 | [MSC_RAW] = "MSC_RAW", | ^~~~~~~ event-names.h:709:6: error: ‘MSC_SCAN’ undeclared here (not in a function) 709 | [MSC_SCAN] = "MSC_SCAN", | ^~~~~~~~ event-names.h:710:6: error: ‘MSC_TIMESTAMP’ undeclared here (not in a function) 710 | [MSC_TIMESTAMP] = "MSC_TIMESTAMP", | ^~~~~~~~~~~~~ event-names.h:714:34: error: ‘SW_MAX’ undeclared here (not in a function) 714 | static const char * const sw_map[SW_MAX + 1] = { | ^~~~~~ event-names.h:715:6: error: ‘SW_LID’ undeclared here (not in a function) 715 | [SW_LID] = "SW_LID", | ^~~~~~ event-names.h:716:6: error: ‘SW_TABLET_MODE’ undeclared here (not in a function) 716 | [SW_TABLET_MODE] = "SW_TABLET_MODE", | ^~~~~~~~~~~~~~ event-names.h:717:6: error: ‘SW_HEADPHONE_INSERT’ undeclared here (not in a function) 717 | [SW_HEADPHONE_INSERT] = "SW_HEADPHONE_INSERT", | ^~~~~~~~~~~~~~~~~~~ event-names.h:718:6: error: ‘SW_RFKILL_ALL’ undeclared here (not in a function) 718 | [SW_RFKILL_ALL] = "SW_RFKILL_ALL", | ^~~~~~~~~~~~~ event-names.h:719:6: error: ‘SW_MICROPHONE_INSERT’ undeclared here (not in a function) 719 | [SW_MICROPHONE_INSERT] = "SW_MICROPHONE_INSERT", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:720:6: error: ‘SW_DOCK’ undeclared here (not in a function) 720 | [SW_DOCK] = "SW_DOCK", | ^~~~~~~ event-names.h:721:6: error: ‘SW_LINEOUT_INSERT’ undeclared here (not in a function) 721 | [SW_LINEOUT_INSERT] = "SW_LINEOUT_INSERT", | ^~~~~~~~~~~~~~~~~ event-names.h:722:6: error: ‘SW_JACK_PHYSICAL_INSERT’ undeclared here (not in a function) 722 | [SW_JACK_PHYSICAL_INSERT] = "SW_JACK_PHYSICAL_INSERT", | ^~~~~~~~~~~~~~~~~~~~~~~ event-names.h:723:6: error: ‘SW_VIDEOOUT_INSERT’ undeclared here (not in a function) 723 | [SW_VIDEOOUT_INSERT] = "SW_VIDEOOUT_INSERT", | ^~~~~~~~~~~~~~~~~~ event-names.h:724:6: error: ‘SW_CAMERA_LENS_COVER’ undeclared here (not in a function) 724 | [SW_CAMERA_LENS_COVER] = "SW_CAMERA_LENS_COVER", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:725:6: error: ‘SW_KEYPAD_SLIDE’ undeclared here (not in a function) 725 | [SW_KEYPAD_SLIDE] = "SW_KEYPAD_SLIDE", | ^~~~~~~~~~~~~~~ event-names.h:726:6: error: ‘SW_FRONT_PROXIMITY’ undeclared here (not in a function) 726 | [SW_FRONT_PROXIMITY] = "SW_FRONT_PROXIMITY", | ^~~~~~~~~~~~~~~~~~ event-names.h:727:6: error: ‘SW_ROTATE_LOCK’ undeclared here (not in a function) 727 | [SW_ROTATE_LOCK] = "SW_ROTATE_LOCK", | ^~~~~~~~~~~~~~ event-names.h:728:6: error: ‘SW_LINEIN_INSERT’ undeclared here (not in a function) 728 | [SW_LINEIN_INSERT] = "SW_LINEIN_INSERT", | ^~~~~~~~~~~~~~~~ event-names.h:729:6: error: ‘SW_MUTE_DEVICE’ undeclared here (not in a function) 729 | [SW_MUTE_DEVICE] = "SW_MUTE_DEVICE", | ^~~~~~~~~~~~~~ event-names.h:730:6: error: ‘SW_PEN_INSERTED’ undeclared here (not in a function) 730 | [SW_PEN_INSERTED] = "SW_PEN_INSERTED", | ^~~~~~~~~~~~~~~ event-names.h:731:6: error: ‘SW_MACHINE_COVER’ undeclared here (not in a function) 731 | [SW_MACHINE_COVER] = "SW_MACHINE_COVER", | ^~~~~~~~~~~~~~~~ event-names.h:734:34: error: ‘FF_MAX’ undeclared here (not in a function) 734 | static const char * const ff_map[FF_MAX + 1] = { | ^~~~~~ event-names.h:735:6: error: ‘FF_STATUS_STOPPED’ undeclared here (not in a function) 735 | [FF_STATUS_STOPPED] = "FF_STATUS_STOPPED", | ^~~~~~~~~~~~~~~~~ event-names.h:736:6: error: ‘FF_STATUS_MAX’ undeclared here (not in a function) 736 | [FF_STATUS_MAX] = "FF_STATUS_MAX", | ^~~~~~~~~~~~~ event-names.h:737:6: error: ‘FF_RUMBLE’ undeclared here (not in a function) 737 | [FF_RUMBLE] = "FF_RUMBLE", | ^~~~~~~~~ event-names.h:738:6: error: ‘FF_PERIODIC’ undeclared here (not in a function) 738 | [FF_PERIODIC] = "FF_PERIODIC", | ^~~~~~~~~~~ event-names.h:739:6: error: ‘FF_CONSTANT’ undeclared here (not in a function) 739 | [FF_CONSTANT] = "FF_CONSTANT", | ^~~~~~~~~~~ event-names.h:740:6: error: ‘FF_SPRING’ undeclared here (not in a function) 740 | [FF_SPRING] = "FF_SPRING", | ^~~~~~~~~ event-names.h:741:6: error: ‘FF_FRICTION’ undeclared here (not in a function) 741 | [FF_FRICTION] = "FF_FRICTION", | ^~~~~~~~~~~ event-names.h:742:6: error: ‘FF_DAMPER’ undeclared here (not in a function) 742 | [FF_DAMPER] = "FF_DAMPER", | ^~~~~~~~~ event-names.h:743:6: error: ‘FF_INERTIA’ undeclared here (not in a function) 743 | [FF_INERTIA] = "FF_INERTIA", | ^~~~~~~~~~ event-names.h:744:6: error: ‘FF_RAMP’ undeclared here (not in a function) 744 | [FF_RAMP] = "FF_RAMP", | ^~~~~~~ event-names.h:745:6: error: ‘FF_SQUARE’ undeclared here (not in a function) 745 | [FF_SQUARE] = "FF_SQUARE", | ^~~~~~~~~ event-names.h:746:6: error: ‘FF_TRIANGLE’ undeclared here (not in a function) 746 | [FF_TRIANGLE] = "FF_TRIANGLE", | ^~~~~~~~~~~ event-names.h:747:6: error: ‘FF_SINE’ undeclared here (not in a function) 747 | [FF_SINE] = "FF_SINE", | ^~~~~~~ event-names.h:748:6: error: ‘FF_SAW_UP’ undeclared here (not in a function) 748 | [FF_SAW_UP] = "FF_SAW_UP", | ^~~~~~~~~ event-names.h:749:6: error: ‘FF_SAW_DOWN’ undeclared here (not in a function) 749 | [FF_SAW_DOWN] = "FF_SAW_DOWN", | ^~~~~~~~~~~ event-names.h:750:6: error: ‘FF_CUSTOM’ undeclared here (not in a function) 750 | [FF_CUSTOM] = "FF_CUSTOM", | ^~~~~~~~~ event-names.h:751:6: error: ‘FF_GAIN’ undeclared here (not in a function) 751 | [FF_GAIN] = "FF_GAIN", | ^~~~~~~ event-names.h:752:6: error: ‘FF_AUTOCENTER’ undeclared here (not in a function) 752 | [FF_AUTOCENTER] = "FF_AUTOCENTER", | ^~~~~~~~~~~~~ event-names.h:756:35: error: ‘SYN_MAX’ undeclared here (not in a function) 756 | static const char * const syn_map[SYN_MAX + 1] = { | ^~~~~~~ event-names.h:757:6: error: ‘SYN_REPORT’ undeclared here (not in a function) 757 | [SYN_REPORT] = "SYN_REPORT", | ^~~~~~~~~~ event-names.h:758:6: error: ‘SYN_CONFIG’ undeclared here (not in a function) 758 | [SYN_CONFIG] = "SYN_CONFIG", | ^~~~~~~~~~ event-names.h:759:6: error: ‘SYN_MT_REPORT’ undeclared here (not in a function) 759 | [SYN_MT_REPORT] = "SYN_MT_REPORT", | ^~~~~~~~~~~~~ event-names.h:760:6: error: ‘SYN_DROPPED’ undeclared here (not in a function) 760 | [SYN_DROPPED] = "SYN_DROPPED", | ^~~~~~~~~~~ event-names.h:764:35: error: ‘REP_MAX’ undeclared here (not in a function); did you mean ‘TMP_MAX’? 764 | static const char * const rep_map[REP_MAX + 1] = { | ^~~~~~~ | TMP_MAX event-names.h:765:6: error: ‘REP_DELAY’ undeclared here (not in a function) 765 | [REP_DELAY] = "REP_DELAY", | ^~~~~~~~~ event-names.h:766:6: error: ‘REP_PERIOD’ undeclared here (not in a function) 766 | [REP_PERIOD] = "REP_PERIOD", | ^~~~~~~~~~ event-names.h:769:42: error: ‘INPUT_PROP_MAX’ undeclared here (not in a function) 769 | static const char * const input_prop_map[INPUT_PROP_MAX + 1] = { | ^~~~~~~~~~~~~~ event-names.h:770:6: error: ‘INPUT_PROP_POINTER’ undeclared here (not in a function) 770 | [INPUT_PROP_POINTER] = "INPUT_PROP_POINTER", | ^~~~~~~~~~~~~~~~~~ event-names.h:771:6: error: ‘INPUT_PROP_DIRECT’ undeclared here (not in a function) 771 | [INPUT_PROP_DIRECT] = "INPUT_PROP_DIRECT", | ^~~~~~~~~~~~~~~~~ event-names.h:772:6: error: ‘INPUT_PROP_BUTTONPAD’ undeclared here (not in a function) 772 | [INPUT_PROP_BUTTONPAD] = "INPUT_PROP_BUTTONPAD", | ^~~~~~~~~~~~~~~~~~~~ event-names.h:773:6: error: ‘INPUT_PROP_SEMI_MT’ undeclared here (not in a function) 773 | [INPUT_PROP_SEMI_MT] = "INPUT_PROP_SEMI_MT", | ^~~~~~~~~~~~~~~~~~ event-names.h:774:6: error: ‘INPUT_PROP_TOPBUTTONPAD’ undeclared here (not in a function) 774 | [INPUT_PROP_TOPBUTTONPAD] = "INPUT_PROP_TOPBUTTONPAD", | ^~~~~~~~~~~~~~~~~~~~~~~ event-names.h:775:6: error: ‘INPUT_PROP_POINTING_STICK’ undeclared here (not in a function) 775 | [INPUT_PROP_POINTING_STICK] = "INPUT_PROP_POINTING_STICK", | ^~~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:776:6: error: ‘INPUT_PROP_ACCELEROMETER’ undeclared here (not in a function) 776 | [INPUT_PROP_ACCELEROMETER] = "INPUT_PROP_ACCELEROMETER", | ^~~~~~~~~~~~~~~~~~~~~~~~ event-names.h:780:39: error: ‘MT_TOOL_MAX’ undeclared here (not in a function); did you mean ‘BOOL_MAX’? 780 | static const char * const mt_tool_map[MT_TOOL_MAX + 1] = { | ^~~~~~~~~~~ | BOOL_MAX event-names.h:781:6: error: ‘MT_TOOL_FINGER’ undeclared here (not in a function) 781 | [MT_TOOL_FINGER] = "MT_TOOL_FINGER", | ^~~~~~~~~~~~~~ event-names.h:782:6: error: ‘MT_TOOL_PEN’ undeclared here (not in a function) 782 | [MT_TOOL_PEN] = "MT_TOOL_PEN", | ^~~~~~~~~~~ event-names.h:783:6: error: ‘MT_TOOL_PALM’ undeclared here (not in a function) 783 | [MT_TOOL_PALM] = "MT_TOOL_PALM", | ^~~~~~~~~~~~ event-names.h:784:6: error: ‘MT_TOOL_DIAL’ undeclared here (not in a function) 784 | [MT_TOOL_DIAL] = "MT_TOOL_DIAL", | ^~~~~~~~~~~~ event-names.h:931:33: error: ‘BTN_A’ undeclared here (not in a function) 931 | { .name = "BTN_A", .value = BTN_A }, | ^~~~~ event-names.h:932:33: error: ‘BTN_B’ undeclared here (not in a function) 932 | { .name = "BTN_B", .value = BTN_B }, | ^~~~~ event-names.h:1030:33: error: ‘BTN_X’ undeclared here (not in a function) 1030 | { .name = "BTN_X", .value = BTN_X }, | ^~~~~ event-names.h:1031:33: error: ‘BTN_Y’ undeclared here (not in a function) 1031 | { .name = "BTN_Y", .value = BTN_Y }, | ^~~~~ libevdev.c: In function ‘fix_invalid_absinfo’: libevdev.c:144:21: error: invalid use of undefined type ‘struct input_absinfo’ 144 | abs_info->maximum == abs_info->minimum) { | ^~ libevdev.c:144:42: error: invalid use of undefined type ‘struct input_absinfo’ 144 | abs_info->maximum == abs_info->minimum) { | ^~ libevdev.c:145:25: error: invalid use of undefined type ‘struct input_absinfo’ 145 | abs_info->minimum = -1; | ^~ libevdev.c:146:25: error: invalid use of undefined type ‘struct input_absinfo’ 146 | abs_info->maximum = 0xFFFF; | ^~ libevdev.c: In function ‘init_slots’: libevdev.c:360:34: error: invalid use of undefined type ‘const struct input_absinfo’ 360 | dev->num_slots = abs_info->maximum + 1; | ^~ libevdev.c:366:37: error: invalid use of undefined type ‘const struct input_absinfo’ 366 | dev->current_slot = abs_info->value; | ^~ libevdev.c: In function ‘libevdev_set_fd’: libevdev.c:391:14: error: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration] 391 | rc = ioctl(fd, EVIOCGBIT(0, sizeof(dev->bits)), dev->bits); | ^~~~~ libevdev.c:391:24: error: implicit declaration of function ‘EVIOCGBIT’ [-Wimplicit-function-declaration] 391 | rc = ioctl(fd, EVIOCGBIT(0, sizeof(dev->bits)), dev->bits); | ^~~~~~~~~ libevdev.c:396:24: error: implicit declaration of function ‘EVIOCGNAME’ [-Wimplicit-function-declaration] 396 | rc = ioctl(fd, EVIOCGNAME(sizeof(buf) - 1), buf); | ^~~~~~~~~~ libevdev.c:410:24: error: implicit declaration of function ‘EVIOCGPHYS’ [-Wimplicit-function-declaration] 410 | rc = ioctl(fd, EVIOCGPHYS(sizeof(buf) - 1), buf); | ^~~~~~~~~~ libevdev.c:426:24: error: implicit declaration of function ‘EVIOCGUNIQ’ [-Wimplicit-function-declaration] 426 | rc = ioctl(fd, EVIOCGUNIQ(sizeof(buf) - 1), buf); | ^~~~~~~~~~ libevdev.c:438:24: error: ‘EVIOCGID’ undeclared (first use in this function) 438 | rc = ioctl(fd, EVIOCGID, &dev->ids); | ^~~~~~~~ libevdev.c:442:24: error: ‘EVIOCGVERSION’ undeclared (first use in this function) 442 | rc = ioctl(fd, EVIOCGVERSION, &dev->driver_version); | ^~~~~~~~~~~~~ libevdev.c:450:24: error: implicit declaration of function ‘EVIOCGPROP’ [-Wimplicit-function-declaration] 450 | rc = ioctl(fd, EVIOCGPROP(sizeof(dev->props)), dev->props); | ^~~~~~~~~~ libevdev.c:486:24: error: implicit declaration of function ‘EVIOCGKEY’ [-Wimplicit-function-declaration] 486 | rc = ioctl(fd, EVIOCGKEY(sizeof(dev->key_values)), dev->key_values); | ^~~~~~~~~ libevdev.c:490:24: error: implicit declaration of function ‘EVIOCGLED’ [-Wimplicit-function-declaration] 490 | rc = ioctl(fd, EVIOCGLED(sizeof(dev->led_values)), dev->led_values); | ^~~~~~~~~ libevdev.c:494:24: error: implicit declaration of function ‘EVIOCGSW’ [-Wimplicit-function-declaration] 494 | rc = ioctl(fd, EVIOCGSW(sizeof(dev->sw_values)), dev->sw_values); | ^~~~~~~~ libevdev.c:502:32: error: ‘EVIOCGREP’ undeclared (first use in this function) 502 | rc = ioctl(fd, EVIOCGREP, dev->rep_values); | ^~~~~~~~~ libevdev.c:509:46: error: storage size of ‘abs_info’ isn’t known 509 | struct input_absinfo abs_info; | ^~~~~~~~ libevdev.c:510:40: error: implicit declaration of function ‘EVIOCGABS’ [-Wimplicit-function-declaration] 510 | rc = ioctl(fd, EVIOCGABS(i), &abs_info); | ^~~~~~~~~ libevdev.c:509:46: warning: unused variable ‘abs_info’ [-Wunused-variable] 509 | struct input_absinfo abs_info; | ^~~~~~~~ libevdev.c: In function ‘sync_key_state’: libevdev.c:560:23: warning: unused variable ‘keystate’ [-Wunused-variable] 560 | unsigned long keystate[NLONGS(KEY_CNT)] = {0}; | ^~~~~~~~ libevdev.c: In function ‘sync_sw_state’: libevdev.c:586:23: warning: unused variable ‘swstate’ [-Wunused-variable] 586 | unsigned long swstate[NLONGS(SW_CNT)] = {0}; | ^~~~~~~ libevdev.c: In function ‘sync_led_state’: libevdev.c:612:23: warning: unused variable ‘ledstate’ [-Wunused-variable] 612 | unsigned long ledstate[NLONGS(LED_CNT)] = {0}; | ^~~~~~~~ libevdev.c: In function ‘sync_abs_state’: libevdev.c:640:38: error: storage size of ‘abs_info’ isn’t known 640 | struct input_absinfo abs_info; | ^~~~~~~~ libevdev.c:640:38: warning: unused variable ‘abs_info’ [-Wunused-variable] libevdev.c: At top level: 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.c:47:52: note: previously declared as a pointer ‘struct slot_change_state *’ 47 | struct slot_change_state *changes_out); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ libevdev.c: In function ‘sync_mt_state’: libevdev.c:684:37: error: implicit declaration of function ‘EVIOCGMTSLOTS’ [-Wimplicit-function-declaration] 684 | rc = ioctl(dev->fd, EVIOCGMTSLOTS(sizeof(mt_state)), &mt_state); | ^~~~~~~~~~~~~ libevdev.c: In function ‘terminate_slots’: libevdev.c:775:32: error: variable ‘ev’ has initializer but incomplete type 775 | struct input_event ev = { | ^~~~~~~~~~~ libevdev.c:776:34: error: ‘struct input_event’ has no member named ‘type’ 776 | .type = EV_KEY, | ^~~~ libevdev.c:776:41: warning: excess elements in struct initializer 776 | .type = EV_KEY, | ^~~~~~ libevdev.c:776:41: note: (near initialization for ‘ev’) libevdev.c:777:34: error: ‘struct input_event’ has no member named ‘code’ 777 | .code = map[ntouches_before - 1], | ^~~~ libevdev.c:777:41: warning: excess elements in struct initializer 777 | .code = map[ntouches_before - 1], | ^~~ libevdev.c:777:41: note: (near initialization for ‘ev’) libevdev.c:778:34: error: ‘struct input_event’ has no member named ‘value’ 778 | .value = 0, | ^~~~~ libevdev.c:778:42: warning: excess elements in struct initializer 778 | .value = 0, | ^ libevdev.c:778:42: note: (near initialization for ‘ev’) libevdev.c:775:44: error: storage size of ‘ev’ isn’t known 775 | struct input_event ev = { | ^~ libevdev.c:775:44: warning: unused variable ‘ev’ [-Wunused-variable] libevdev.c:785:32: error: variable ‘ev’ has initializer but incomplete type 785 | struct input_event ev = { | ^~~~~~~~~~~ libevdev.c:786:34: error: ‘struct input_event’ has no member named ‘type’ 786 | .type = EV_KEY, | ^~~~ libevdev.c:786:41: warning: excess elements in struct initializer 786 | .type = EV_KEY, | ^~~~~~ libevdev.c:786:41: note: (near initialization for ‘ev’) libevdev.c:787:34: error: ‘struct input_event’ has no member named ‘code’ 787 | .code = map[ntouches_after - 1], | ^~~~ libevdev.c:787:41: warning: excess elements in struct initializer 787 | .code = map[ntouches_after - 1], | ^~~ libevdev.c:787:41: note: (near initialization for ‘ev’) libevdev.c:788:34: error: ‘struct input_event’ has no member named ‘value’ 788 | .value = 1, | ^~~~~ libevdev.c:788:42: warning: excess elements in struct initializer 788 | .value = 1, | ^ libevdev.c:788:42: note: (near initialization for ‘ev’) libevdev.c:785:44: error: storage size of ‘ev’ isn’t known 785 | struct input_event ev = { | ^~ libevdev.c:785:44: warning: unused variable ‘ev’ [-Wunused-variable] libevdev.c: In function ‘push_mt_sync_events’: libevdev.c:803:30: error: storage size of ‘abs_info’ isn’t known 803 | struct input_absinfo abs_info; | ^~~~~~~~ libevdev.c:803:30: warning: unused variable ‘abs_info’ [-Wunused-variable] libevdev.c: In function ‘read_more_events’: libevdev.c:856:54: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 856 | len = read(dev->fd, next, free_elem * sizeof(struct input_event)); | ^~~~~~ libevdev.c:860:37: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 860 | if (len > 0 && len % sizeof(struct input_event) != 0) | ^~~~~~ libevdev.c:864:38: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’ 864 | int nev = len/sizeof(struct input_event); | ^~~~~~ libevdev.c: In function ‘update_key_state’: libevdev.c:965:14: error: invalid use of undefined type ‘const struct input_event’ 965 | if (e->code > KEY_MAX) | ^~ libevdev.c:968:41: error: invalid use of undefined type ‘const struct input_event’ 968 | set_bit_state(dev->key_values, e->code, e->value != 0); | ^~ libevdev.c:968:50: error: invalid use of undefined type ‘const struct input_event’ 968 | set_bit_state(dev->key_values, e->code, e->value != 0); | ^~ libevdev.c: In function ‘update_mt_state’: libevdev.c:976:14: error: invalid use of undefined type ‘const struct input_event’ 976 | if (e->code == ABS_MT_SLOT && dev->num_slots > -1) { | ^~ libevdev.c:978:38: error: invalid use of undefined type ‘const struct input_event’ 978 | dev->current_slot = e->value; | ^~ libevdev.c:991:46: error: invalid use of undefined type ‘const struct input_event’ 991 | *slot_value(dev, dev->current_slot, e->code) = e->value; | ^~ libevdev.c:991:57: error: invalid use of undefined type ‘const struct input_event’ 991 | *slot_value(dev, dev->current_slot, e->code) = e->value; | ^~ libevdev.c: In function ‘update_abs_state’: libevdev.c:1002:14: error: invalid use of undefined type ‘const struct input_event’ 1002 | if (e->code > ABS_MAX) | ^~ libevdev.c:1005:14: error: invalid use of undefined type ‘const struct input_event’ 1005 | if (e->code >= ABS_MT_MIN && e->code <= ABS_MT_MAX) | ^~ libevdev.c:1005:39: error: invalid use of undefined type ‘const struct input_event’ 1005 | if (e->code >= ABS_MT_MIN && e->code <= ABS_MT_MAX) | ^~ libevdev.c:1008:24: error: invalid use of undefined type ‘const struct input_event’ 1008 | dev->abs_info[e->code].value = e->value; | ^~ libevdev.c:1008:41: error: invalid use of undefined type ‘const struct input_event’ 1008 | dev->abs_info[e->code].value = e->value; | ^~ libevdev.c: In function ‘update_led_state’: libevdev.c:1019:14: error: invalid use of undefined type ‘const struct input_event’ 1019 | if (e->code > LED_MAX) | ^~ libevdev.c:1022:41: error: invalid use of undefined type ‘const struct input_event’ 1022 | set_bit_state(dev->led_values, e->code, e->value != 0); | ^~ libevdev.c:1022:50: error: invalid use of undefined type ‘const struct input_event’ 1022 | set_bit_state(dev->led_values, e->code, e->value != 0); | ^~ libevdev.c: In function ‘update_sw_state’: libevdev.c:1033:14: error: invalid use of undefined type ‘const struct input_event’ 1033 | if (e->code > SW_MAX) | ^~ libevdev.c:1036:40: error: invalid use of undefined type ‘const struct input_event’ 1036 | set_bit_state(dev->sw_values, e->code, e->value != 0); | ^~ libevdev.c:1036:49: error: invalid use of undefined type ‘const struct input_event’ 1036 | set_bit_state(dev->sw_values, e->code, e->value != 0); | ^~ libevdev.c: In function ‘update_state’: libevdev.c:1046:17: error: invalid use of undefined type ‘const struct input_event’ 1046 | switch(e->type) { | ^~ libevdev.c:1064:40: error: invalid use of undefined type ‘const struct input_event’ 1064 | dev->last_event_time.tv_sec = e->input_event_sec; | ^~ libevdev.c:1065:41: error: invalid use of undefined type ‘const struct input_event’ 1065 | dev->last_event_time.tv_usec = e->input_event_usec; | ^~ libevdev.c: In function ‘sanitize_event’: libevdev.c:1078:45: error: invalid use of undefined type ‘struct input_event’ 1078 | if (!libevdev_has_event_code(dev, ev->type, ev->code)) | ^~ libevdev.c:1078:55: error: invalid use of undefined type ‘struct input_event’ 1078 | if (!libevdev_has_event_code(dev, ev->type, ev->code)) | ^~ libevdev.c:1082:45: error: passing argument 1 of ‘libevdev_event_is_code’ from incompatible pointer type [-Wincompatible-pointer-types] 1082 | libevdev_event_is_code(ev, EV_ABS, ABS_MT_SLOT) && | ^~ | | | struct input_event * libevdev-util.h:16:42: note: in definition of macro ‘unlikely’ 16 | #define unlikely(x) (__builtin_expect(!!(x),0)) | ^ libevdev.h:2026:54: note: expected ‘const struct input_event *’ but argument is of type ‘struct input_event *’ 2026 | int libevdev_event_is_code(const struct input_event *ev, unsigned int type, unsigned int code); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ libevdev.c:1083:25: error: invalid use of undefined type ‘struct input_event’ 1083 | (ev->value < 0 || ev->value >= dev->num_slots))) { | ^~ libevdev-util.h:16:42: note: in definition of macro ‘unlikely’ 16 | #define unlikely(x) (__builtin_expect(!!(x),0)) | ^ libevdev.c:1083:42: error: invalid use of undefined type ‘struct input_event’ 1083 | (ev->value < 0 || ev->value >= dev->num_slots))) { | ^~ libevdev-util.h:16:42: note: in definition of macro ‘unlikely’ 16 | #define unlikely(x) (__builtin_expect(!!(x),0)) | ^ libevdev.c:1086:46: error: invalid use of undefined type ‘struct input_event’ 1086 | dev->name, ev->value, dev->num_slots - 1); | ^~ libevdev-int.h:99:88: note: in definition of macro ‘log_msg_cond’ 99 | _libevdev_log_msg(dev, priority, __FILE__, __LINE__, __func__, __VA_ARGS__); \ | ^~~~~~~~~~~ libevdev.c:1084:17: note: in expansion of macro ‘log_bug’ 1084 | log_bug(dev, "Device \"%s\" received an invalid slot index %d." | ^~~~~~~ libevdev.c:1087:19: error: invalid use of undefined type ‘struct input_event’ 1087 | ev->value = dev->num_slots - 1; | ^~ libevdev.c:1098:52: error: passing argument 1 of ‘libevdev_event_is_code’ from incompatible pointer type [-Wincompatible-pointer-types] 1098 | libevdev_event_is_code(ev, EV_ABS, ABS_MT_TRACKING_ID) && | ^~ | | | struct input_event * libevdev-util.h:16:42: note: in definition of macro ‘unlikely’ 16 | #define unlikely(x) (__builtin_expect(!!(x),0)) | ^ libevdev.h:2026:54: note: expected ‘const struct input_event *’ but argument is of type ‘struct input_event *’ 2026 | int libevdev_event_is_code(const struct input_event *ev, unsigned int type, unsigned int code); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ libevdev.c:1099:33: error: invalid use of undefined type ‘struct input_event’ 1099 | ((ev->value == -1 && | ^~ libevdev-util.h:16:42: note: in definition of macro ‘unlikely’ 16 | #define unlikely(x) (__builtin_expect(!!(x),0)) | ^ libevdev.c:1101:33: error: invalid use of undefined type ‘struct input_event’ 1101 | (ev->value != -1 && | ^~ libevdev-util.h:16:42: note: in definition of macro ‘unlikely’ 16 | #define unlikely(x) (__builtin_expect(!!(x),0)) | ^ libevdev.c:1104:38: error: invalid use of undefined type ‘struct input_event’ 1104 | dev->name, ev->value, dev->current_slot); | ^~ libevdev-int.h:99:88: note: in definition of macro ‘log_msg_cond’ 99 | _libevdev_log_msg(dev, priority, __FILE__, __LINE__, __func__, __VA_ARGS__); \ | ^~~~~~~~~~~ libevdev.c:1103:17: note: in expansion of macro ‘log_bug’ 1103 | log_bug(dev, "Device \"%s\" received a double tracking ID %d in slot %d.\n", | ^~~~~~~ libevdev.c: At top level: libevdev.c:1112:1: error: conflicting types for ‘libevdev_next_event’; have ‘int(struct libevdev *, unsigned int, struct input_event *)’ 1112 | libevdev_next_event(struct libevdev *dev, unsigned int flags, struct input_event *ev) | ^~~~~~~~~~~~~~~~~~~ libevdev.h:1143:5: note: previous declaration of ‘libevdev_next_event’ with type ‘int(struct libevdev *, unsigned int, struct input_event *)’ 1143 | int libevdev_next_event(struct libevdev *dev, unsigned int flags, struct input_event *ev); | ^~~~~~~~~~~~~~~~~~~ libevdev.c: In function ‘libevdev_next_event’: libevdev.c:1148:36: error: storage size of ‘e’ isn’t known 1148 | struct input_event e; | ^ libevdev.c:1148:36: warning: unused variable ‘e’ [-Wunused-variable] libevdev.c:1189:49: error: invalid use of undefined type ‘struct input_event’ 1189 | !libevdev_has_event_code(dev, ev->type, ev->code)); | ^~ libevdev.c:1189:59: error: invalid use of undefined type ‘struct input_event’ 1189 | !libevdev_has_event_code(dev, ev->type, ev->code)); | ^~ libevdev.c:1192:15: error: invalid use of undefined type ‘struct input_event’ 1192 | if (ev->type == EV_SYN && ev->code == SYN_DROPPED) { | ^~ libevdev.c:1192:37: error: invalid use of undefined type ‘struct input_event’ 1192 | if (ev->type == EV_SYN && ev->code == SYN_DROPPED) { | ^~ libevdev.c: In function ‘libevdev_set_event_value’: libevdev.c:1378:28: error: storage size of ‘e’ isn’t known 1378 | struct input_event e; | ^ libevdev.c:1378:28: warning: unused variable ‘e’ [-Wunused-variable] libevdev.c: In function ‘libevdev_get_abs_maximum’: libevdev.c:1493:33: error: invalid use of undefined type ‘const struct input_absinfo’ 1493 | return absinfo ? absinfo->name : 0; \ | ^~ libevdev.c:1496:1: note: in expansion of macro ‘ABS_GETTER’ 1496 | ABS_GETTER(maximum) | ^~~~~~~~~~ libevdev.c: In function ‘libevdev_get_abs_minimum’: libevdev.c:1493:33: error: invalid use of undefined type ‘const struct input_absinfo’ 1493 | return absinfo ? absinfo->name : 0; \ | ^~ libevdev.c:1497:1: note: in expansion of macro ‘ABS_GETTER’ 1497 | ABS_GETTER(minimum) | ^~~~~~~~~~ libevdev.c: In function ‘libevdev_get_abs_fuzz’: libevdev.c:1493:33: error: invalid use of undefined type ‘const struct input_absinfo’ 1493 | return absinfo ? absinfo->name : 0; \ | ^~ libevdev.c:1498:1: note: in expansion of macro ‘ABS_GETTER’ 1498 | ABS_GETTER(fuzz) | ^~~~~~~~~~ libevdev.c: In function ‘libevdev_get_abs_flat’: libevdev.c:1493:33: error: invalid use of undefined type ‘const struct input_absinfo’ 1493 | return absinfo ? absinfo->name : 0; \ | ^~ libevdev.c:1499:1: note: in expansion of macro ‘ABS_GETTER’ 1499 | ABS_GETTER(flat) | ^~~~~~~~~~ libevdev.c: In function ‘libevdev_get_abs_resolution’: libevdev.c:1493:33: error: invalid use of undefined type ‘const struct input_absinfo’ 1493 | return absinfo ? absinfo->name : 0; \ | ^~ libevdev.c:1500:1: note: in expansion of macro ‘ABS_GETTER’ 1500 | ABS_GETTER(resolution) | ^~~~~~~~~~ libevdev.c: In function ‘libevdev_set_abs_info’: libevdev.c:1522:31: error: invalid use of undefined type ‘const struct input_absinfo’ 1522 | dev->abs_info[code] = *abs; | ^ libevdev.c: In function ‘libevdev_enable_event_code’: libevdev.c:1600:39: error: invalid use of undefined type ‘const struct input_absinfo’ 1600 | dev->abs_info[code] = *abs; | ^ libevdev.c: In function ‘libevdev_kernel_set_abs_info’: libevdev.c:1659:29: error: implicit declaration of function ‘EVIOCSABS’ [-Wimplicit-function-declaration] 1659 | rc = ioctl(dev->fd, EVIOCSABS(code), abs); | ^~~~~~~~~ libevdev.c: In function ‘libevdev_grab’: libevdev.c:1690:37: error: ‘EVIOCGRAB’ undeclared (first use in this function) 1690 | rc = ioctl(dev->fd, EVIOCGRAB, (void *)1); | ^~~~~~~~~ libevdev.c: At top level: libevdev.c:1701:1: error: conflicting types for ‘libevdev_event_is_type’; have ‘int(const struct input_event *, unsigned int)’ 1701 | libevdev_event_is_type(const struct input_event *ev, unsigned int type) | ^~~~~~~~~~~~~~~~~~~~~~ libevdev.h:2001:5: note: previous declaration of ‘libevdev_event_is_type’ with type ‘int(const struct input_event *, unsigned int)’ 2001 | int libevdev_event_is_type(const struct input_event *ev, unsigned int type); | ^~~~~~~~~~~~~~~~~~~~~~ libevdev.c: In function ‘libevdev_event_is_type’: libevdev.c:1703:35: error: invalid use of undefined type ‘const struct input_event’ 1703 | return type < EV_CNT && ev->type == type; | ^~ libevdev.c: At top level: libevdev.c:1707:1: error: conflicting types for ‘libevdev_event_is_code’; have ‘int(const struct input_event *, unsigned int, unsigned int)’ 1707 | libevdev_event_is_code(const struct input_event *ev, unsigned int type, unsigned int code) | ^~~~~~~~~~~~~~~~~~~~~~ libevdev.h:2026:5: note: previous declaration of ‘libevdev_event_is_code’ with type ‘int(const struct input_event *, unsigned int, unsigned int)’ 2026 | int libevdev_event_is_code(const struct input_event *ev, unsigned int type, unsigned int code); | ^~~~~~~~~~~~~~~~~~~~~~ libevdev.c: In function ‘libevdev_event_is_code’: libevdev.c:1715:60: error: invalid use of undefined type ‘const struct input_event’ 1715 | return (max > -1 && code <= (unsigned int)max && ev->code == code); | ^~ libevdev.c: In function ‘libevdev_kernel_set_led_values’: libevdev.c:1829:33: error: invalid use of undefined type ‘struct input_event’ 1829 | while (e->type > 0 && e->code != code) | ^~ libevdev.c:1829:48: error: invalid use of undefined type ‘struct input_event’ 1829 | while (e->type > 0 && e->code != code) | ^~ libevdev.c:1830:34: error: increment of pointer to an incomplete type ‘struct input_event’ 1830 | e++; | ^~ libevdev.c:1832:30: error: invalid use of undefined type ‘struct input_event’ 1832 | if (e->type == 0) | ^~ libevdev.c:1834:26: error: invalid use of undefined type ‘struct input_event’ 1834 | e->type = EV_LED; | ^~ libevdev.c:1835:26: error: invalid use of undefined type ‘struct input_event’ 1835 | e->code = code; | ^~ libevdev.c:1836:26: error: invalid use of undefined type ‘struct input_event’ 1836 | e->value = (val == LIBEVDEV_LED_ON); | ^~ libevdev.c:1796:28: warning: unused variable ‘ev’ [-Wunused-variable] 1796 | struct input_event ev[LED_MAX + 1]; | ^~ libevdev.c: In function ‘libevdev_set_clock_id’: libevdev.c:1869:31: error: ‘EVIOCSCLOCKID’ undeclared (first use in this function) 1869 | return ioctl(dev->fd, EVIOCSCLOCKID, &clockid) ? -errno : 0; | ^~~~~~~~~~~~~ libevdev.c: In function ‘libevdev_get_id_product’: libevdev.c:1264:1: warning: control reaches end of non-void function [-Wreturn-type] 1264 | } | ^ libevdev.c:1266:1: note: in expansion of macro ‘PRODUCT_GETTER’ 1266 | PRODUCT_GETTER(product) | ^~~~~~~~~~~~~~ libevdev.c: In function ‘libevdev_get_id_vendor’: libevdev.c:1264:1: warning: control reaches end of non-void function [-Wreturn-type] 1264 | } | ^ libevdev.c:1267:1: note: in expansion of macro ‘PRODUCT_GETTER’ 1267 | PRODUCT_GETTER(vendor) | ^~~~~~~~~~~~~~ libevdev.c: In function ‘libevdev_get_id_bustype’: libevdev.c:1264:1: warning: control reaches end of non-void function [-Wreturn-type] 1264 | } | ^ libevdev.c:1268:1: note: in expansion of macro ‘PRODUCT_GETTER’ 1268 | PRODUCT_GETTER(bustype) | ^~~~~~~~~~~~~~ libevdev.c: In function ‘libevdev_get_id_version’: libevdev.c:1264:1: warning: control reaches end of non-void function [-Wreturn-type] 1264 | } | ^ libevdev.c:1269:1: note: in expansion of macro ‘PRODUCT_GETTER’ 1269 | PRODUCT_GETTER(version) | ^~~~~~~~~~~~~~ libevdev.c: In function ‘libevdev_has_property’: libevdev.c:1292:1: warning: control reaches end of non-void function [-Wreturn-type] 1292 | } | ^ libevdev.c: In function ‘libevdev_has_event_type’: libevdev.c:1318:1: warning: control reaches end of non-void function [-Wreturn-type] 1318 | } | ^ libevdev.c: In function ‘slot_value’: libevdev.c:64:1: warning: control reaches end of non-void function [-Wreturn-type] 64 | } | ^ libevdev.c: In function ‘libevdev_get_abs_info’: libevdev.c:1487:1: warning: control reaches end of non-void function [-Wreturn-type] 1487 | } | ^ libevdev.c: In function ‘libevdev_get_abs_maximum’: libevdev.c:1494:1: warning: control reaches end of non-void function [-Wreturn-type] 1494 | } | ^ libevdev.c:1496:1: note: in expansion of macro ‘ABS_GETTER’ 1496 | ABS_GETTER(maximum) | ^~~~~~~~~~ libevdev.c: In function ‘libevdev_get_abs_minimum’: libevdev.c:1494:1: warning: control reaches end of non-void function [-Wreturn-type] 1494 | } | ^ libevdev.c:1497:1: note: in expansion of macro ‘ABS_GETTER’ 1497 | ABS_GETTER(minimum) | ^~~~~~~~~~ libevdev.c: In function ‘libevdev_get_abs_fuzz’: libevdev.c:1494:1: warning: control reaches end of non-void function [-Wreturn-type] 1494 | } | ^ libevdev.c:1498:1: note: in expansion of macro ‘ABS_GETTER’ 1498 | ABS_GETTER(fuzz) | ^~~~~~~~~~ libevdev.c: In function ‘libevdev_get_abs_flat’: libevdev.c:1494:1: warning: control reaches end of non-void function [-Wreturn-type] 1494 | } | ^ libevdev.c:1499:1: note: in expansion of macro ‘ABS_GETTER’ 1499 | ABS_GETTER(flat) | ^~~~~~~~~~ libevdev.c: In function ‘libevdev_get_abs_resolution’: libevdev.c:1494:1: warning: control reaches end of non-void function [-Wreturn-type] 1494 | } | ^ libevdev.c:1500:1: note: in expansion of macro ‘ABS_GETTER’ 1500 | ABS_GETTER(resolution) | ^~~~~~~~~~ libevdev.c: In function ‘libevdev_event_is_type’: libevdev.c:1704:1: warning: control reaches end of non-void function [-Wreturn-type] 1704 | } | ^ libevdev.c: In function ‘libevdev_event_is_code’: libevdev.c:1716:1: warning: control reaches end of non-void function [-Wreturn-type] 1716 | } | ^ libevdev.c: In function ‘libevdev_event_type_get_name’: libevdev.c:1725:1: warning: control reaches end of non-void function [-Wreturn-type] 1725 | } | ^ libevdev.c: In function ‘libevdev_event_code_get_name’: libevdev.c:1736:1: warning: control reaches end of non-void function [-Wreturn-type] 1736 | } | ^ libevdev.c: In function ‘libevdev_event_value_get_name’: libevdev.c:1753:1: warning: control reaches end of non-void function [-Wreturn-type] 1753 | } | ^ libevdev.c: In function ‘libevdev_property_get_name’: libevdev.c:1762:1: warning: control reaches end of non-void function [-Wreturn-type] 1762 | } | ^ libevdev.c: In function ‘libevdev_event_type_get_max’: libevdev.c:1771:1: warning: control reaches end of non-void function [-Wreturn-type] 1771 | } | ^ libevdev.c: In function ‘libevdev_set_clock_id’: libevdev.c:1870:1: warning: control reaches end of non-void function [-Wreturn-type] 1870 | } | ^ event-names.h: At top level: event-names.h:808:18: warning: ‘ev_max’ defined but not used [-Wunused-variable] 808 | static const int ev_max[EV_MAX + 1] = { | ^~~~~~ event-names.h:788:35: warning: ‘event_type_map’ defined but not used [-Wunused-variable] 788 | static const char * const * const event_type_map[EV_MAX + 1] = { | ^~~~~~~~~~~~~~ event-names.h:780:27: warning: ‘mt_tool_map’ defined but not used [-Wunused-variable] 780 | static const char * const mt_tool_map[MT_TOOL_MAX + 1] = { | ^~~~~~~~~~~ event-names.h:769:27: warning: ‘input_prop_map’ defined but not used [-Wunused-variable] 769 | static const char * const input_prop_map[INPUT_PROP_MAX + 1] = { | ^~~~~~~~~~~~~~ event-names.h:764:27: warning: ‘rep_map’ defined but not used [-Wunused-variable] 764 | static const char * const rep_map[REP_MAX + 1] = { | ^~~~~~~ event-names.h:756:27: warning: ‘syn_map’ defined but not used [-Wunused-variable] 756 | static const char * const syn_map[SYN_MAX + 1] = { | ^~~~~~~ event-names.h:734:27: warning: ‘ff_map’ defined but not used [-Wunused-variable] 734 | static const char * const ff_map[FF_MAX + 1] = { | ^~~~~~ event-names.h:714:27: warning: ‘sw_map’ defined but not used [-Wunused-variable] 714 | static const char * const sw_map[SW_MAX + 1] = { | ^~~~~~ event-names.h:704:27: warning: ‘msc_map’ defined but not used [-Wunused-variable] 704 | static const char * const msc_map[MSC_MAX + 1] = { | ^~~~~~~ event-names.h:697:27: warning: ‘snd_map’ defined but not used [-Wunused-variable] 697 | static const char * const snd_map[SND_MAX + 1] = { | ^~~~~~~ event-names.h:682:27: warning: ‘led_map’ defined but not used [-Wunused-variable] 682 | static const char * const led_map[LED_MAX + 1] = { | ^~~~~~~ event-names.h:85:27: warning: ‘key_map’ defined but not used [-Wunused-variable] 85 | static const char * const key_map[KEY_MAX + 1] = { | ^~~~~~~ event-names.h:39:27: warning: ‘abs_map’ defined but not used [-Wunused-variable] 39 | static const char * const abs_map[ABS_MAX + 1] = { | ^~~~~~~ event-names.h:22:27: warning: ‘rel_map’ defined but not used [-Wunused-variable] 22 | static const char * const rel_map[REL_MAX + 1] = { | ^~~~~~~ event-names.h:6:27: warning: ‘ev_map’ defined but not used [-Wunused-variable] 6 | static const char * const ev_map[EV_MAX + 1] = { | ^~~~~~ make[3]: *** [Makefile:487: libevdev.lo] Error 1 make[2]: *** [Makefile:382: all] Error 2 make[1]: *** [Makefile:482: all-recursive] Error 1 make: *** [Makefile:391: all] Error 2 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "16") exit-status: 2 term-signal: #f stop-signal: #f> phase `build' failed after 1.6 seconds command "make" "-j" "16" failed with status 2 build process 18 exited with status 256