Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion system_files/usr/lib/armada/devices/ayaneo-pocket-ds.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
ARMADA_DEVICE_ID=ayaneo-pocket-ds
ARMADA_DEVICE_NAME='AYANEO Pocket DS'
ARMADA_SOC_CLASS=SM8550

# Plasma's virtual keyboard belongs on the lower Pocket DS display. Consumed
# by the optional patched-KWin path proposed in armada-os/armada#194.
ARMADA_VIRTUAL_KEYBOARD_CONNECTOR=DSI-2

ARMADA_SOC_CLASS=SM8550
ARMADA_PRIMARY_CONNECTOR=DSI-1
ARMADA_PANEL_ORIENTATION=left
ARMADA_PANEL_NATIVE_WIDTH=1080
Expand Down
8 changes: 8 additions & 0 deletions tests/pocket-ds-virtual-keyboard-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail

ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"
config="$ROOT/system_files/usr/lib/armada/devices/ayaneo-pocket-ds.conf"

grep -q '^ARMADA_VIRTUAL_KEYBOARD_CONNECTOR=DSI-2$' "$config"
printf 'Pocket DS virtual-keyboard connector check passed\n'