From 1b6e5b491ae717eb096a7d4a68df9f772de577ae Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 13 Sep 2020 12:47:51 +0200 Subject: winkbd: Make Windows driver compileable with MingGW Automate the process via GitHub Actions as well. kbd.h can be simplified. Fixes #11. --- README.rst | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 6ed53eb..7234524 100644 --- a/README.rst +++ b/README.rst @@ -51,9 +51,10 @@ issues. Also the following software is required: - Python/`PyPy 3`_ - Ninja_ (for the build process) -- GNU autotools and a C compiler (for ``3rdparty/osmctools``) +- GNU autotools and a host C compiler (for ``3rdparty/osmctools``) - GNU bash and zip (for ``makezip.sh``) - librsvg (``rsvg-convert`` is used to create PDF’s from SVG images) +- MinGW (to compile the Windows keyboard driver) .. _Ninja: https://ninja-build.org/ @@ -68,28 +69,6 @@ to run the analysis and create pretty pictures as well as statistics in .. _me: lars+lulua@6xq.net -Building Windows drivers ------------------------- - -There is no easy way to build Windows keyboard drivers, but the following -instructions have worked in the past: - -.. code:: bash - - ninja _build/_temp/winkbd/customization.h - -Share the folder `doc/_temp/winkbd` with a Windows system, install `Microsoft -Keyboard Layout Creator 1.4`_ (MSKLC; the Windows Driver Kit (WDK) would work -too, but is much larger), adjust ``make.bat`` pointing to your MSKLC -installation and run it. This should generate two directories, ``System32`` and -``SysWOW64``, which must be copied back to `_build/_temp/winkbd`. Then run: - -.. code:: bash - - ninja _build/report/ar-lulua-w64.zip - -.. _Microsoft Keyboard Layout Creator 1.4: https://www.microsoft.com/en-us/download/details.aspx?id=22339 - Acknowledgements ---------------- -- cgit v1.2.3