21.3 KB
/srv/reproducible-results/archlinuxrb-build-SpIDIFJD/b1/python-libevdev/python-libevdev-0.11-2-any.pkg.tar.zst vs.
/srv/reproducible-results/archlinuxrb-build-SpIDIFJD/b2/python-libevdev/python-libevdev-0.11-2-any.pkg.tar.zst
21.1 KB
python-libevdev-0.11-2-any.pkg.tar
3.24 KB
file list
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
1 -rw-r--r--···0·root·········(0)·root·········(0)·····9153·2023-07-28·07:20:54.000000·.BUILDINFO1 -rw-r--r--···0·root·········(0)·root·········(0)·····9153·2023-07-28·07:20:54.000000·.BUILDINFO
2 -rw-r--r--···0·root·········(0)·root·········(0)·····5700·2023-07-28·07:20:54.000000·.MTREE2 -rw-r--r--···0·root·········(0)·root·········(0)·····5696·2023-07-28·07:20:54.000000·.MTREE
3 -rw-r--r--···0·root·········(0)·root·········(0)······571·2023-07-28·07:20:54.000000·.PKGINFO3 -rw-r--r--···0·root·········(0)·root·········(0)······571·2023-07-28·07:20:54.000000·.PKGINFO
4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/lib/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/lib/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/lib/python3.11/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/lib/python3.11/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/lib/python3.11/site-packages/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/lib/python3.11/site-packages/
8 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/lib/python3.11/site-packages/libevdev/8 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/lib/python3.11/site-packages/libevdev/
9 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/lib/python3.11/site-packages/libevdev-0.11-py3.11.egg-info/9 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-07-28·07:20:54.000000·usr/lib/python3.11/site-packages/libevdev-0.11-py3.11.egg-info/
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 -rw-r--r--···0·root·········(0)·root·········(0)·······90·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/_static/plus.png77 -rw-r--r--···0·root·········(0)·root·········(0)·······90·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/_static/plus.png
78 -rw-r--r--···0·root·········(0)·root·········(0)·····4846·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/_static/pygments.css78 -rw-r--r--···0·root·········(0)·root·········(0)·····4846·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/_static/pygments.css
79 -rw-r--r--···0·root·········(0)·root·········(0)····18215·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/_static/searchtools.js79 -rw-r--r--···0·root·········(0)·root·········(0)····18215·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/_static/searchtools.js
80 -rw-r--r--···0·root·········(0)·root·········(0)·····4712·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/_static/sphinx_highlight.js80 -rw-r--r--···0·root·········(0)·root·········(0)·····4712·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/_static/sphinx_highlight.js
81 -rw-r--r--···0·root·········(0)·root·········(0)····43364·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/examples.html81 -rw-r--r--···0·root·········(0)·root·········(0)····43364·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/examples.html
82 -rw-r--r--···0·root·········(0)·root·········(0)····14782·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/genindex.html82 -rw-r--r--···0·root·········(0)·root·········(0)····14782·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/genindex.html
83 -rw-r--r--···0·root·········(0)·root·········(0)····22328·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/index.html83 -rw-r--r--···0·root·········(0)·root·········(0)····22328·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/index.html
84 -rw-r--r--···0·root·········(0)·root·········(0)···103140·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/libevdev.html84 -rw-r--r--···0·root·········(0)·root·········(0)···104140·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/libevdev.html
85 -rw-r--r--···0·root·········(0)·root·········(0)····17807·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/modules.html85 -rw-r--r--···0·root·········(0)·root·········(0)····17807·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/modules.html
86 -rw-r--r--···0·root·········(0)·root·········(0)······830·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/objects.inv86 -rw-r--r--···0·root·········(0)·root·········(0)······830·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/objects.inv
87 -rw-r--r--···0·root·········(0)·root·········(0)·····5035·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/py-modindex.html87 -rw-r--r--···0·root·········(0)·root·········(0)·····5035·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/py-modindex.html
88 -rw-r--r--···0·root·········(0)·root·········(0)·····6563·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/python-evdev.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····6563·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/python-evdev.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····4249·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/search.html89 -rw-r--r--···0·root·········(0)·root·········(0)·····4249·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/search.html
90 -rw-r--r--···0·root·········(0)·root·········(0)····22671·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/searchindex.js90 -rw-r--r--···0·root·········(0)·root·········(0)····22671·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/searchindex.js
91 -rw-r--r--···0·root·········(0)·root·········(0)····37789·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/tutorial.html91 -rw-r--r--···0·root·········(0)·root·········(0)····37789·2023-07-28·07:20:54.000000·usr/share/doc/python-libevdev/html/tutorial.html
3.58 KB
.MTREE
3.57 KB
.MTREE-content
    
Offset 1, 11 lines modifiedOffset 1, 11 lines modified
1 #mtree1 #mtree
2 /set·type=file·uid=0·gid=0·mode=6442 /set·type=file·uid=0·gid=0·mode=644
3 ./.BUILDINFO·time=1690528854.0·size=9153·md5digest=3664adcf1e051edd2d14e1b9b62c33a5·sha256digest=28718055f39a3864c158b29de1d7d4a4523c59f21da06f00560e34cde5fbb6373 ./.BUILDINFO·time=1690528854.0·size=9153·md5digest=3664adcf1e051edd2d14e1b9b62c33a5·sha256digest=28718055f39a3864c158b29de1d7d4a4523c59f21da06f00560e34cde5fbb637
4 ./.PKGINFO·time=1690528854.0·size=571·md5digest=e6a04201296aa4148f600a0cec7ec813·sha256digest=159015a2f239fc2416e0f4fbbb293341be37faf3fe3f9cfbab8547857a5e04ae4 ./.PKGINFO·time=1690528854.0·size=571·md5digest=d1775a1aa98ea3b6d03a0fcd1a0e1d8d·sha256digest=6885746d1bfb2b59554672fac498d1b9a6b5fe4576aab02286dc1f72bab91c67
5 /set·mode=7555 /set·mode=755
6 ./usr·time=1690528854.0·type=dir6 ./usr·time=1690528854.0·type=dir
7 ./usr/lib·time=1690528854.0·type=dir7 ./usr/lib·time=1690528854.0·type=dir
8 ./usr/lib/python3.11·time=1690528854.0·type=dir8 ./usr/lib/python3.11·time=1690528854.0·type=dir
9 ./usr/lib/python3.11/site-packages·time=1690528854.0·type=dir9 ./usr/lib/python3.11/site-packages·time=1690528854.0·type=dir
10 /set·mode=64410 /set·mode=644
11 ./usr/lib/python3.11/site-packages/libevdev·time=1690528854.0·mode=755·type=dir11 ./usr/lib/python3.11/site-packages/libevdev·time=1690528854.0·mode=755·type=dir
Offset 36, 15 lines modifiedOffset 36, 15 lines modified
36 ./usr/share/doc/python-libevdev·time=1690528854.0·type=dir36 ./usr/share/doc/python-libevdev·time=1690528854.0·type=dir
37 /set·mode=64437 /set·mode=644
38 ./usr/share/doc/python-libevdev/html·time=1690528854.0·mode=755·type=dir38 ./usr/share/doc/python-libevdev/html·time=1690528854.0·mode=755·type=dir
39 ./usr/share/doc/python-libevdev/html/.buildinfo·time=1690528854.0·size=230·md5digest=aa2d9f1c0f1d231e190e787a2136f4ef·sha256digest=ee656ccf9517798e72c18b26ec7df4834ccb71e6f6ee47e9b5952032766428e039 ./usr/share/doc/python-libevdev/html/.buildinfo·time=1690528854.0·size=230·md5digest=aa2d9f1c0f1d231e190e787a2136f4ef·sha256digest=ee656ccf9517798e72c18b26ec7df4834ccb71e6f6ee47e9b5952032766428e0
40 ./usr/share/doc/python-libevdev/html/examples.html·time=1690528854.0·size=43364·md5digest=132c85beda52b026d4f7a85c48ddbd61·sha256digest=985cb41d701170524cea9b08409881a364daa0048420080a63c5ee0f522836e040 ./usr/share/doc/python-libevdev/html/examples.html·time=1690528854.0·size=43364·md5digest=132c85beda52b026d4f7a85c48ddbd61·sha256digest=985cb41d701170524cea9b08409881a364daa0048420080a63c5ee0f522836e0
41 ./usr/share/doc/python-libevdev/html/genindex.html·time=1690528854.0·size=14782·md5digest=e5978d165d31b9b52f104a2caea86b27·sha256digest=67bb6f0a40a493d47d8faa721d776f0d4ce1545da591ffbb6c83b7795d1b9a9741 ./usr/share/doc/python-libevdev/html/genindex.html·time=1690528854.0·size=14782·md5digest=e5978d165d31b9b52f104a2caea86b27·sha256digest=67bb6f0a40a493d47d8faa721d776f0d4ce1545da591ffbb6c83b7795d1b9a97
42 ./usr/share/doc/python-libevdev/html/index.html·time=1690528854.0·size=22328·md5digest=893c439647406d32dda038dda780d5d7·sha256digest=0b3fa322dc294924870b6519d1501665555f16fd140e32fbafdf85ccb524adcc42 ./usr/share/doc/python-libevdev/html/index.html·time=1690528854.0·size=22328·md5digest=893c439647406d32dda038dda780d5d7·sha256digest=0b3fa322dc294924870b6519d1501665555f16fd140e32fbafdf85ccb524adcc
43 ./usr/share/doc/python-libevdev/html/libevdev.html·time=1690528854.0·size=103140·md5digest=c360f9c005568a34d7dd28a4cee94a31·sha256digest=29026982e80b26117fd5196e64b3673fc9247dcd2c7d63cbe12282fcd855b42843 ./usr/share/doc/python-libevdev/html/libevdev.html·time=1690528854.0·size=104140·md5digest=b58a7152b25cacb935c18f3188609945·sha256digest=bed662f6eb0fcc5a666b2380ccfa38f4b9bcafffa9c37e5d96a8fbe0fd3014ab
44 ./usr/share/doc/python-libevdev/html/modules.html·time=1690528854.0·size=17807·md5digest=e278030860f0cdbe55a6a9651719a35f·sha256digest=2f680b9fc3bd00e6a53f3ee8a40d2ce04b9d7205a4d1fecd61bb2280f9e8f31d44 ./usr/share/doc/python-libevdev/html/modules.html·time=1690528854.0·size=17807·md5digest=e278030860f0cdbe55a6a9651719a35f·sha256digest=2f680b9fc3bd00e6a53f3ee8a40d2ce04b9d7205a4d1fecd61bb2280f9e8f31d
45 ./usr/share/doc/python-libevdev/html/objects.inv·time=1690528854.0·size=830·md5digest=717a115cf51fb85e21cfe52b6c4e2fff·sha256digest=dff8aa6301fbc82c849bc24553f8ef986e4b4ded4010ce147fe48671bd9ba46145 ./usr/share/doc/python-libevdev/html/objects.inv·time=1690528854.0·size=830·md5digest=717a115cf51fb85e21cfe52b6c4e2fff·sha256digest=dff8aa6301fbc82c849bc24553f8ef986e4b4ded4010ce147fe48671bd9ba461
46 ./usr/share/doc/python-libevdev/html/py-modindex.html·time=1690528854.0·size=5035·md5digest=93a8efb678a972d4c4a8f05db2ef7cea·sha256digest=ac3d003087af0878f31f4680d68590251cb6fc213e2151f7f2c899857127e98146 ./usr/share/doc/python-libevdev/html/py-modindex.html·time=1690528854.0·size=5035·md5digest=93a8efb678a972d4c4a8f05db2ef7cea·sha256digest=ac3d003087af0878f31f4680d68590251cb6fc213e2151f7f2c899857127e981
47 ./usr/share/doc/python-libevdev/html/python-evdev.html·time=1690528854.0·size=6563·md5digest=5edaa9747d681859a5a1c6d9523f97f4·sha256digest=af61a011cc42b41aa76ac7b92f3a5061478b14a7ab48d2759f87e00ef5a8a0fc47 ./usr/share/doc/python-libevdev/html/python-evdev.html·time=1690528854.0·size=6563·md5digest=5edaa9747d681859a5a1c6d9523f97f4·sha256digest=af61a011cc42b41aa76ac7b92f3a5061478b14a7ab48d2759f87e00ef5a8a0fc
48 ./usr/share/doc/python-libevdev/html/search.html·time=1690528854.0·size=4249·md5digest=8fcae6a95cc046b34443f6e9b24f90ab·sha256digest=a43fdb5fe9efc11e8d25f0447bed0382e8bd752d95fcfdf43a7262f4e77b55d848 ./usr/share/doc/python-libevdev/html/search.html·time=1690528854.0·size=4249·md5digest=8fcae6a95cc046b34443f6e9b24f90ab·sha256digest=a43fdb5fe9efc11e8d25f0447bed0382e8bd752d95fcfdf43a7262f4e77b55d8
49 ./usr/share/doc/python-libevdev/html/searchindex.js·time=1690528854.0·size=22671·md5digest=18573d7be4901bba5ffcfdd08e8a0cb0·sha256digest=2de2cabc932d78bd1b654c9ad69045a3782fbfc2eadbd246116789b3437d3d7749 ./usr/share/doc/python-libevdev/html/searchindex.js·time=1690528854.0·size=22671·md5digest=18573d7be4901bba5ffcfdd08e8a0cb0·sha256digest=2de2cabc932d78bd1b654c9ad69045a3782fbfc2eadbd246116789b3437d3d77
50 ./usr/share/doc/python-libevdev/html/tutorial.html·time=1690528854.0·size=37789·md5digest=1716928f191c0dc5cf7dae37c9590310·sha256digest=f407636fba15a913b7bfd91abf1e5421567956b99cdf3248e7d1abc4a3d6095950 ./usr/share/doc/python-libevdev/html/tutorial.html·time=1690528854.0·size=37789·md5digest=1716928f191c0dc5cf7dae37c9590310·sha256digest=f407636fba15a913b7bfd91abf1e5421567956b99cdf3248e7d1abc4a3d60959
495 B
.PKGINFO
    
Offset 3, 15 lines modifiedOffset 3, 15 lines modified
3 pkgname·=·python-libevdev3 pkgname·=·python-libevdev
4 pkgbase·=·python-libevdev4 pkgbase·=·python-libevdev
5 pkgver·=·0.11-25 pkgver·=·0.11-2
6 pkgdesc·=·Python·wrapper·for·libevdev6 pkgdesc·=·Python·wrapper·for·libevdev
7 url·=·https://gitlab.freedesktop.org/libevdev/python-libevdev7 url·=·https://gitlab.freedesktop.org/libevdev/python-libevdev
8 builddate·=·16905288548 builddate·=·1690528854
9 packager·=·Reproducible·Arch·Linux·tests·<reproducible@archlinux.org>9 packager·=·Reproducible·Arch·Linux·tests·<reproducible@archlinux.org>
10 size·=·415686710 size·=·4157867
11 arch·=·any11 arch·=·any
12 license·=·MIT12 license·=·MIT
13 depend·=·python13 depend·=·python
14 depend·=·libevdev14 depend·=·libevdev
15 makedepend·=·python-setuptools15 makedepend·=·python-setuptools
16 makedepend·=·python-sphinx16 makedepend·=·python-sphinx
17 makedepend·=·python-sphinx_rtd_theme17 makedepend·=·python-sphinx_rtd_theme
13.7 KB
usr/share/doc/python-libevdev/html/libevdev.html
    
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 <h2>Submodules<a·class="headerlink"·href="#submodules"·title="Permalink·to·this·heading"></a></h2>113 <h2>Submodules<a·class="headerlink"·href="#submodules"·title="Permalink·to·this·heading"></a></h2>
114 </section>114 </section>
115 <section·id="module-libevdev.const">115 <section·id="module-libevdev.const">
116 <span·id="libevdev-const-module"></span><h2>libevdev.const·module<a·class="headerlink"·href="#module-libevdev.const"·title="Permalink·to·this·heading"></a></h2>116 <span·id="libevdev-const-module"></span><h2>libevdev.const·module<a·class="headerlink"·href="#module-libevdev.const"·title="Permalink·to·this·heading"></a></h2>
117 <dl·class="py·class">117 <dl·class="py·class">
118 <dt·class="sig·sig-object·py"·id="libevdev.const.EvdevBit">118 <dt·class="sig·sig-object·py"·id="libevdev.const.EvdevBit">
119 <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">EvdevBit</span></span><a·class="headerlink"·href="#libevdev.const.EvdevBit"·title="Permalink·to·this·definition"></a></dt>119 <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">EvdevBit</span></span><a·class="headerlink"·href="#libevdev.const.EvdevBit"·title="Permalink·to·this·definition"></a></dt>
120 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">object</span></code></p>120 <dd><p>Bases:·<a·class="reference·external"·href="https://docs.python.org/3/library/functions.html#object"·title="(in·Python·v3.11)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">object</span></code></a></p>
121 <p>Base·class·representing·an·evdev·bit,·comprised·of·a·name·and·a·value.121 <p>Base·class·representing·an·evdev·bit,·comprised·of·a·name·and·a·value.
122 These·two·properties·are·guaranteed·to·exist·on·anything·describing·an122 These·two·properties·are·guaranteed·to·exist·on·anything·describing·an
123 event·code,·event·type·or·input·property·that·comes·out·of·libevdev:</p>123 event·code,·event·type·or·input·property·that·comes·out·of·libevdev:</p>
124 <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">&gt;&gt;&gt;·</span><span·class="nb">print</span><span·class="p">(</span><span·class="n">libevdev</span><span·class="o">.</span><span·class="n">EV_ABS</span><span·class="o">.</span><span·class="n">name</span><span·class="p">)</span>124 <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">&gt;&gt;&gt;·</span><span·class="nb">print</span><span·class="p">(</span><span·class="n">libevdev</span><span·class="o">.</span><span·class="n">EV_ABS</span><span·class="o">.</span><span·class="n">name</span><span·class="p">)</span>
125 <span·class="go">EV_ABS</span>125 <span·class="go">EV_ABS</span>
126 <span·class="gp">&gt;&gt;&gt;·</span><span·class="nb">print</span><span·class="p">(</span><span·class="n">libevdev</span><span·class="o">.</span><span·class="n">EV_ABS</span><span·class="o">.</span><span·class="n">value</span><span·class="p">)</span>126 <span·class="gp">&gt;&gt;&gt;·</span><span·class="nb">print</span><span·class="p">(</span><span·class="n">libevdev</span><span·class="o">.</span><span·class="n">EV_ABS</span><span·class="o">.</span><span·class="n">value</span><span·class="p">)</span>
127 <span·class="go">3</span>127 <span·class="go">3</span>
Offset 404, 15 lines modifiedOffset 404, 15 lines modified
  
404 </section>404 </section>
405 <section·id="module-libevdev.device">405 <section·id="module-libevdev.device">
406 <span·id="libevdev-device-module"></span><h2>libevdev.device·module<a·class="headerlink"·href="#module-libevdev.device"·title="Permalink·to·this·heading"></a></h2>406 <span·id="libevdev-device-module"></span><h2>libevdev.device·module<a·class="headerlink"·href="#module-libevdev.device"·title="Permalink·to·this·heading"></a></h2>
407 <dl·class="py·class">407 <dl·class="py·class">
408 <dt·class="sig·sig-object·py"·id="libevdev.device.Device">408 <dt·class="sig·sig-object·py"·id="libevdev.device.Device">
409 <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">Device</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">fd</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span><a·class="headerlink"·href="#libevdev.device.Device"·title="Permalink·to·this·definition"></a></dt>409 <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">Device</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">fd</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span><a·class="headerlink"·href="#libevdev.device.Device"·title="Permalink·to·this·definition"></a></dt>
410 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">object</span></code></p>410 <dd><p>Bases:·<a·class="reference·external"·href="https://docs.python.org/3/library/functions.html#object"·title="(in·Python·v3.11)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">object</span></code></a></p>
411 <p>This·class·represents·an·evdev·device·backed·by·libevdev.·The·device·may411 <p>This·class·represents·an·evdev·device·backed·by·libevdev.·The·device·may
412 represent·a·real·device·in·the·system·or·a·constructed·device·where·the412 represent·a·real·device·in·the·system·or·a·constructed·device·where·the
413 caller·supplies·all·properties·of·the·device.</p>413 caller·supplies·all·properties·of·the·device.</p>
414 <p>If·a·file·is·given,·the·device·initializes·from·that·file,·otherwise·the414 <p>If·a·file·is·given,·the·device·initializes·from·that·file,·otherwise·the
415 device·is·uninitialized·and·needs·to·be·set·up·by·the·caller:</p>415 device·is·uninitialized·and·needs·to·be·set·up·by·the·caller:</p>
416 <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">fd</span>·<span·class="o">=</span>·<span·class="nb">open</span><span·class="p">(</span><span·class="s2">&quot;/dev/input/event0&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;rb&quot;</span><span·class="p">)</span>416 <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">fd</span>·<span·class="o">=</span>·<span·class="nb">open</span><span·class="p">(</span><span·class="s2">&quot;/dev/input/event0&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;rb&quot;</span><span·class="p">)</span>
417 <span·class="n">l</span>·<span·class="o">=</span>·<span·class="n">libevdev</span><span·class="o">.</span><span·class="n">Device</span><span·class="p">(</span><span·class="n">fd</span><span·class="p">)</span>417 <span·class="n">l</span>·<span·class="o">=</span>·<span·class="n">libevdev</span><span·class="o">.</span><span·class="n">Device</span><span·class="p">(</span><span·class="n">fd</span><span·class="p">)</span>
Offset 943, 23 lines modifiedOffset 943, 23 lines modified
943 </dd></dl>943 </dd></dl>
  
944 </dd></dl>944 </dd></dl>
  
945 <dl·class="py·exception">945 <dl·class="py·exception">
946 <dt·class="sig·sig-object·py"·id="libevdev.device.DeviceGrabError">946 <dt·class="sig·sig-object·py"·id="libevdev.device.DeviceGrabError">
947 <em·class="property"><span·class="pre">exception</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">DeviceGrabError</span></span><a·class="headerlink"·href="#libevdev.device.DeviceGrabError"·title="Permalink·to·this·definition"></a></dt>947 <em·class="property"><span·class="pre">exception</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">DeviceGrabError</span></span><a·class="headerlink"·href="#libevdev.device.DeviceGrabError"·title="Permalink·to·this·definition"></a></dt>
948 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Exception</span></code></p>948 <dd><p>Bases:·<a·class="reference·external"·href="https://docs.python.org/3/library/exceptions.html#Exception"·title="(in·Python·v3.11)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Exception</span></code></a></p>
949 <p>A·device·grab·failed·to·be·issued.·A·caller·must·not·assume·that·it·has949 <p>A·device·grab·failed·to·be·issued.·A·caller·must·not·assume·that·it·has
950 exclusive·access·to·the·events·on·the·device.</p>950 exclusive·access·to·the·events·on·the·device.</p>
951 </dd></dl>951 </dd></dl>
  
952 <dl·class="py·exception">952 <dl·class="py·exception">
953 <dt·class="sig·sig-object·py"·id="libevdev.device.EventsDroppedException">953 <dt·class="sig·sig-object·py"·id="libevdev.device.EventsDroppedException">
954 <em·class="property"><span·class="pre">exception</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">EventsDroppedException</span></span><a·class="headerlink"·href="#libevdev.device.EventsDroppedException"·title="Permalink·to·this·definition"></a></dt>954 <em·class="property"><span·class="pre">exception</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">EventsDroppedException</span></span><a·class="headerlink"·href="#libevdev.device.EventsDroppedException"·title="Permalink·to·this·definition"></a></dt>
955 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Exception</span></code></p>955 <dd><p>Bases:·<a·class="reference·external"·href="https://docs.python.org/3/library/exceptions.html#Exception"·title="(in·Python·v3.11)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Exception</span></code></a></p>
956 <p>Notification·that·the·device·has·dropped·events,·raised·in·response·to·a956 <p>Notification·that·the·device·has·dropped·events,·raised·in·response·to·a
957 EV_SYN·SYN_DROPPED·event.</p>957 EV_SYN·SYN_DROPPED·event.</p>
958 <p>This·exception·is·raised·AFTER·the·EV_SYN,·SYN_DROPPED·event·has·been958 <p>This·exception·is·raised·AFTER·the·EV_SYN,·SYN_DROPPED·event·has·been
959 passed·on.·If·SYN_DROPPED·events·are·processed·manually,·then·this959 passed·on.·If·SYN_DROPPED·events·are·processed·manually,·then·this
960 exception·can·be·ignored.</p>960 exception·can·be·ignored.</p>
961 <p>Once·received·(or·in·response·to·a·SYN_DROPPED·event)·a·caller·should961 <p>Once·received·(or·in·response·to·a·SYN_DROPPED·event)·a·caller·should
962 call·device.sync()·and·process·the·events·accordingly·(if·any).</p>962 call·device.sync()·and·process·the·events·accordingly·(if·any).</p>
Offset 978, 15 lines modifiedOffset 978, 15 lines modified
978 </pre></div>978 </pre></div>
979 </div>979 </div>
980 </dd></dl>980 </dd></dl>
  
981 <dl·class="py·class">981 <dl·class="py·class">
982 <dt·class="sig·sig-object·py"·id="libevdev.device.InputAbsInfo">982 <dt·class="sig·sig-object·py"·id="libevdev.device.InputAbsInfo">
983 <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">InputAbsInfo</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">minimum</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">fuzz</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">flat</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">resolution</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">value</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span><a·class="headerlink"·href="#libevdev.device.InputAbsInfo"·title="Permalink·to·this·definition"></a></dt>983 <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">InputAbsInfo</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">minimum</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">maximum</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">fuzz</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">flat</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">resolution</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">value</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span><a·class="headerlink"·href="#libevdev.device.InputAbsInfo"·title="Permalink·to·this·definition"></a></dt>
984 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">object</span></code></p>984 <dd><p>Bases:·<a·class="reference·external"·href="https://docs.python.org/3/library/functions.html#object"·title="(in·Python·v3.11)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">object</span></code></a></p>
985 <p>A·class·representing·the·struct·input_absinfo·for·a·given·EV_ABS·code.</p>985 <p>A·class·representing·the·struct·input_absinfo·for·a·given·EV_ABS·code.</p>
986 <p>Any·of·the·attributes·may·be·set·to·None,·those·that·are·None·are·simply986 <p>Any·of·the·attributes·may·be·set·to·None,·those·that·are·None·are·simply
987 ignored·by·libevdev.</p>987 ignored·by·libevdev.</p>
988 <dl·class="field-list·simple">988 <dl·class="field-list·simple">
989 <dt·class="field-odd">Property·minimum<span·class="colon">:</span></dt>989 <dt·class="field-odd">Property·minimum<span·class="colon">:</span></dt>
990 <dd·class="field-odd"><p>the·minimum·value·for·this·axis</p>990 <dd·class="field-odd"><p>the·minimum·value·for·this·axis</p>
991 </dd>991 </dd>
Offset 1007, 40 lines modifiedOffset 1007, 40 lines modified
1007 </dd>1007 </dd>
1008 </dl>1008 </dl>
1009 </dd></dl>1009 </dd></dl>
  
1010 <dl·class="py·exception">1010 <dl·class="py·exception">
1011 <dt·class="sig·sig-object·py"·id="libevdev.device.InvalidArgumentException">1011 <dt·class="sig·sig-object·py"·id="libevdev.device.InvalidArgumentException">
1012 <em·class="property"><span·class="pre">exception</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">InvalidArgumentException</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">msg</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span><a·class="headerlink"·href="#libevdev.device.InvalidArgumentException"·title="Permalink·to·this·definition"></a></dt>1012 <em·class="property"><span·class="pre">exception</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">InvalidArgumentException</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">msg</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span><a·class="headerlink"·href="#libevdev.device.InvalidArgumentException"·title="Permalink·to·this·definition"></a></dt>
1013 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Exception</span></code></p>1013 <dd><p>Bases:·<a·class="reference·external"·href="https://docs.python.org/3/library/exceptions.html#Exception"·title="(in·Python·v3.11)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Exception</span></code></a></p>
1014 <p>A·function·was·called·with·an·invalid·argument.·This·indicates·a·bug·in1014 <p>A·function·was·called·with·an·invalid·argument.·This·indicates·a·bug·in
1015 the·calling·program.</p>1015 the·calling·program.</p>
1016 <dl·class="py·attribute">1016 <dl·class="py·attribute">
1017 <dt·class="sig·sig-object·py"·id="libevdev.device.InvalidArgumentException.message">1017 <dt·class="sig·sig-object·py"·id="libevdev.device.InvalidArgumentException.message">
1018 <span·class="sig-name·descname"><span·class="pre">message</span></span><a·class="headerlink"·href="#libevdev.device.InvalidArgumentException.message"·title="Permalink·to·this·definition"></a></dt>1018 <span·class="sig-name·descname"><span·class="pre">message</span></span><a·class="headerlink"·href="#libevdev.device.InvalidArgumentException.message"·title="Permalink·to·this·definition"></a></dt>
1019 <dd><p>A·human-readable·error·message</p>1019 <dd><p>A·human-readable·error·message</p>
1020 </dd></dl>1020 </dd></dl>
  
1021 </dd></dl>1021 </dd></dl>
  
1022 <dl·class="py·exception">1022 <dl·class="py·exception">
1023 <dt·class="sig·sig-object·py"·id="libevdev.device.InvalidFileError">1023 <dt·class="sig·sig-object·py"·id="libevdev.device.InvalidFileError">
1024 <em·class="property"><span·class="pre">exception</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">InvalidFileError</span></span><a·class="headerlink"·href="#libevdev.device.InvalidFileError"·title="Permalink·to·this·definition"></a></dt>1024 <em·class="property"><span·class="pre">exception</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">InvalidFileError</span></span><a·class="headerlink"·href="#libevdev.device.InvalidFileError"·title="Permalink·to·this·definition"></a></dt>
1025 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Exception</span></code></p>1025 <dd><p>Bases:·<a·class="reference·external"·href="https://docs.python.org/3/library/exceptions.html#Exception"·title="(in·Python·v3.11)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Exception</span></code></a></p>
1026 <p>A·file·provided·is·not·a·valid·file·descriptor·for·libevdev·or·this1026 <p>A·file·provided·is·not·a·valid·file·descriptor·for·libevdev·or·this
1027 device·must·not·have·a·file·descriptor</p>1027 device·must·not·have·a·file·descriptor</p>
1028 </dd></dl>1028 </dd></dl>
  
1029 </section>1029 </section>
1030 <section·id="module-libevdev.event">1030 <section·id="module-libevdev.event">
1031 <span·id="libevdev-event-module"></span><h2>libevdev.event·module<a·class="headerlink"·href="#module-libevdev.event"·title="Permalink·to·this·heading"></a></h2>1031 <span·id="libevdev-event-module"></span><h2>libevdev.event·module<a·class="headerlink"·href="#module-libevdev.event"·title="Permalink·to·this·heading"></a></h2>
1032 <dl·class="py·class">1032 <dl·class="py·class">
1033 <dt·class="sig·sig-object·py"·id="libevdev.event.InputEvent">1033 <dt·class="sig·sig-object·py"·id="libevdev.event.InputEvent">
1034 <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">InputEvent</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">code</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">value</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">sec</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">usec</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">0</span></span></em><span·class="sig-paren">)</span><a·class="headerlink"·href="#libevdev.event.InputEvent"·title="Permalink·to·this·definition"></a></dt>1034 <em·class="property"><span·class="pre">class</span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">InputEvent</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">code</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">value</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">sec</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">0</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">usec</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">0</span></span></em><span·class="sig-paren">)</span><a·class="headerlink"·href="#libevdev.event.InputEvent"·title="Permalink·to·this·definition"></a></dt>
1035 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">object</span></code></p>1035 <dd><p>Bases:·<a·class="reference·external"·href="https://docs.python.org/3/library/functions.html#object"·title="(in·Python·v3.11)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">object</span></code></a></p>
1036 <p>Represents·one·input·event·of·type·struct·input_event·as·defined·in1036 <p>Represents·one·input·event·of·type·struct·input_event·as·defined·in
1037 <code·class="docutils·literal·notranslate"><span·class="pre">linux/input.h</span></code>·and·returned·by·<code·class="docutils·literal·notranslate"><span·class="pre">libevdev_next_event()</span></code>.</p>1037 <code·class="docutils·literal·notranslate"><span·class="pre">linux/input.h</span></code>·and·returned·by·<code·class="docutils·literal·notranslate"><span·class="pre">libevdev_next_event()</span></code>.</p>
1038 <p>Comparison·between·events·can·be·done·via·the·<a·class="reference·internal"·href="#libevdev.event.InputEvent.matches"·title="libevdev.event.InputEvent.matches"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">matches()</span></code></a>·function1038 <p>Comparison·between·events·can·be·done·via·the·<a·class="reference·internal"·href="#libevdev.event.InputEvent.matches"·title="libevdev.event.InputEvent.matches"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">matches()</span></code></a>·function
1039 or·by·comparing·two·input·events.·Two·events·match·when·their·most1039 or·by·comparing·two·input·events.·Two·events·match·when·their·most
1040 precise·attribute·match·and·all·other·attributes·are·None:</p>1040 precise·attribute·match·and·all·other·attributes·are·None:</p>
1041 <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">&gt;&gt;&gt;·</span><span·class="n">e</span>·<span·class="o">=</span>·<span·class="n">InputEvent</span><span·class="p">(</span><span·class="n">libevdev</span><span·class="o">.</span><span·class="n">EV_REL</span><span·class="o">.</span><span·class="n">REL_X</span><span·class="p">,</span>·<span·class="n">value</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span>1041 <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">&gt;&gt;&gt;·</span><span·class="n">e</span>·<span·class="o">=</span>·<span·class="n">InputEvent</span><span·class="p">(</span><span·class="n">libevdev</span><span·class="o">.</span><span·class="n">EV_REL</span><span·class="o">.</span><span·class="n">REL_X</span><span·class="p">,</span>·<span·class="n">value</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span>
1042 <span·class="gp">&gt;&gt;&gt;·</span><span·class="n">e</span>·<span·class="o">==</span>·<span·class="n">InputEvent</span><span·class="p">(</span><span·class="n">libevdev</span><span·class="o">.</span><span·class="n">EV_REL</span><span·class="p">)</span>1042 <span·class="gp">&gt;&gt;&gt;·</span><span·class="n">e</span>·<span·class="o">==</span>·<span·class="n">InputEvent</span><span·class="p">(</span><span·class="n">libevdev</span><span·class="o">.</span><span·class="n">EV_REL</span><span·class="p">)</span>