From 582b51ccca0d37c191f2abaa21d71a10cce03030 Mon Sep 17 00:00:00 2001 From: Willow Barraco Date: Wed, 18 Oct 2023 10:37:31 +0200 Subject: [PATCH] Support for Nokia N900 --- .../sxmo_deviceprofile_nokia,omap3-n900.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh diff --git a/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh b/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh new file mode 100644 index 0000000..3259e9e --- /dev/null +++ b/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# SPDX-License-Identifier: AGPL-3.0-only +# Copyright 2022 Sxmo Contributors + +export WLR_RENDERER=pixman +export SXMO_DISABLE_LEDS=1 #disable for now although N900 has leds, but paths are different +export SXMO_POWER_BUTTON="0:0:twl_pwrbutton" +export SXMO_SWAY_SCALE="1.5" +#on N900 these two are swaped +export SXMO_BEMENU_LANDSCAPE_LINES="10" +export SXMO_BEMENU_PORTRAIT_LINES="8" +export SXMO_ROTATE_DIRECTION="left" +export SXMO_KEYBOARD_SLIDER_EVENT_DEVICE="/dev/input/by-path/platform-gpio_keys-event" +export SXMO_KEYBOARD_SLIDER_CLOSE_EVENT="*code 10 (SW_KEYPAD_SLIDE), value 0*" +export SXMO_KEYBOARD_SLIDER_OPEN_EVENT="*code 10 (SW_KEYPAD_SLIDE), value 1*"