{ "info": { "author": "Benjamin Tissoires", "author_email": "benjamin.tissoires@redhat.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "hid-tools is a set of tools to interact with the kernel's HID subsystem.\n\nIt can be run directly from the git repository or installed via `pip3\ninstall hid-tools`.\n\n# Installation\n\nThe `hid-tools` repository does not need to be installed, all tools and\nkernel tests can be run straight from the git repository. Where the tools\nneed to be installed, it is recommended to use `pip`:\n\n```\n$ pip3 install --user .\n```\n\nThis installs all tools into the user-specifc Python paths. Skip the\n`--user` flag where it needs to be installed system-wide. Removal of the\ntools works with `pip` as well:\n\n```\n$ pip3 uninstall hid-tools\n```\n\n# Debugging tools for users\n\n## hid-recorder\n\n`hid-recorder` prints the HID Report Descriptor from a `/dev/hidraw` device\nnode and any HID reports coming from that device. The output format can be\nused with `hid-replay` for debugging. When run without any arguments, the\ntool prints a list of available devices.\n\n```\n$ sudo hid-recorder\n```\n\n## hid-replay\n\n`hid-replay` takes the output from `hid-recorder` and replays it through a\nvirtual HID device that looks exactly like the one recorded.\n\n```\n$ sudo hid-replay recording-file.hid\n```\n\n## hid-decode\n\n`hid-decode` takes a HID Report Descriptor and prints a human-readable\nversion of it. `hid-decode` takes binary report descriptors, strings of\nbytes, and other formats.\n\n```\n$ hid-decode /sys/class/input/event5/device/device/report_descriptor\n```\n\n# kernel tests\n\nThe `hid-tools` repository contains a number of tests exercising the kernel\nHID subsystem. The tests are not part of the `pip3` module and must be run\nfrom the git repository. The most convenient invocation of the tests is by\nsimply calling `pytest`.\n\n```\n$ sudo pytest-3\n```\n\nSee the `pytest` documentation for information on how to run a subset of\ntests.\n\n# hidtools python module\n\nTechnical limitations require that `hid-tools` ships with a Python module\ncalled `hidtools`. This module is **not** to be used by external\napplications.\n\n**The hidtools python module does not provide any API stability guarantee.\nIt may change at any time**\n\n# License\n\n`hid-tools` is licensed under the GPLv2+.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://gitlab.freedesktop.org/libevdev/hid-tools", "keywords": "", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "hid-tools", "package_url": "https://pypi.org/project/hid-tools/", "platform": "", "project_url": "https://pypi.org/project/hid-tools/", "project_urls": { "Homepage": "http://gitlab.freedesktop.org/libevdev/hid-tools" }, "release_url": "https://pypi.org/project/hid-tools/0.2/", "requires_dist": null, "requires_python": ">=3.6", "summary": "HID tools", "version": "0.2" }, "last_serial": 5001323, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "79a1bbcc8ba01b25d7de6246af1d628d", "sha256": "80f2745b55242510aa8e3ac2642efa3c55f15064a9443381762fcdd5d682919f" }, "downloads": -1, "filename": "hid-tools-0.2.tar.gz", "has_sig": false, "md5_digest": "79a1bbcc8ba01b25d7de6246af1d628d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 51037, "upload_time": "2019-03-29T02:16:46", "url": "https://files.pythonhosted.org/packages/5f/94/e6965c2f93d266aa63a431c38511c2b163fbddebf26197879683c79072b0/hid-tools-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "79a1bbcc8ba01b25d7de6246af1d628d", "sha256": "80f2745b55242510aa8e3ac2642efa3c55f15064a9443381762fcdd5d682919f" }, "downloads": -1, "filename": "hid-tools-0.2.tar.gz", "has_sig": false, "md5_digest": "79a1bbcc8ba01b25d7de6246af1d628d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 51037, "upload_time": "2019-03-29T02:16:46", "url": "https://files.pythonhosted.org/packages/5f/94/e6965c2f93d266aa63a431c38511c2b163fbddebf26197879683c79072b0/hid-tools-0.2.tar.gz" } ] }