Difference between revisions of "PinePhone (Pro) Keyboard"

Jump to navigation Jump to search
(Added aliases I use to turn squeekboard off and on)
Line 29: Line 29:


=== Kernel-space driver ===
=== Kernel-space driver ===
Kernel driver implementation from Samuel Holland https://github.com/smaeul/linux/commits/wip/pp-keyboard
=== User-space driver ===
=== User-space driver ===
The user-space driver is available [https://xff.cz/git/pinephone-keyboard/ here]. Use git to clone the repository. You're going to need sdcc 4.1+ installed to build it, so use your package manager to install that first. Next you'll cd into the directory you cloned pinephone-keyboard and use the command "make" to build. After the build is completed, cd into the build directory and you'll notice several new files starting with ppkb-. To use your keyboard case, you'll want to run the following command: <code>sudo ./ppkb-i2c-inputd</code> <!-- this isn't running as a daemon, if anyone knows how to make it do so please edit that info in! --> Open something you can type into like a new terminal window or text editor and you should now be able to use the keyboard case! One thing you may notice is that squeekboard is still opening whenever a text field is selected. This can quickly become annoying, so I made myself the following aliases to prevent this:
The user-space driver is available [https://xff.cz/git/pinephone-keyboard/ here]. Use git to clone the repository. You're going to need sdcc 4.1+ installed to build it, so use your package manager to install that first. Next you'll cd into the directory you cloned pinephone-keyboard and use the command "make" to build. After the build is completed, cd into the build directory and you'll notice several new files starting with ppkb-. To use your keyboard case, you'll want to run the following command: <code>sudo ./ppkb-i2c-inputd</code> <!-- this isn't running as a daemon, if anyone knows how to make it do so please edit that info in! --> Open something you can type into like a new terminal window or text editor and you should now be able to use the keyboard case! One thing you may notice is that squeekboard is still opening whenever a text field is selected. This can quickly become annoying, so I made myself the following aliases to prevent this: