From 2ac9c98bc0c8882d6dbd9a119c6c261102f1cb36 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 23 May 2023 05:22:17 +0000 Subject: [PATCH] moby: get lisgd gestures working for sxmo --- hosts/by-name/moby/default.nix | 1 + hosts/by-name/moby/polyfill.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 hosts/by-name/moby/polyfill.nix diff --git a/hosts/by-name/moby/default.nix b/hosts/by-name/moby/default.nix index 8b7cf11e..ff92c53e 100644 --- a/hosts/by-name/moby/default.nix +++ b/hosts/by-name/moby/default.nix @@ -4,6 +4,7 @@ ./firmware.nix ./fs.nix ./kernel.nix + ./polyfill.nix ]; sane.roles.client = true; diff --git a/hosts/by-name/moby/polyfill.nix b/hosts/by-name/moby/polyfill.nix new file mode 100644 index 00000000..512223ac --- /dev/null +++ b/hosts/by-name/moby/polyfill.nix @@ -0,0 +1,10 @@ +{ ... }: +{ + sane.gui.sxmo = { + settings = { + # touch screen + SXMO_LISGD_INPUT_DEVICE = "/dev/input/by-path/platform-1c2ac00.i2c-event"; + # vol and power are detected correctly by upstream + }; + }; +}