Skip to content

Commit

Permalink
Add support for Onyx Boox Livingstone3
Browse files Browse the repository at this point in the history
Device info:
Manufacturer: onyx
Brand: onyx
Model: livingstone3
Device: livingstone3
Product: livingstone3
Hardware: qcom
Platform: bengal

Onyx ADB (lights)
Onyx SDK (lights)
Onyx/Qualcomm (E-ink)
  • Loading branch information
hugleo authored Feb 3, 2025
1 parent f0985a3 commit 061d789
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/src/main/java/org/koreader/launcher/device/DeviceInfo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ object DeviceInfo {
ONYX_KON_TIKI2,
ONYX_LEAF,
ONYX_LEAF2,
ONYX_LIVINGSTONE3,
ONYX_LOMONOSOV,
ONYX_MAGICBOOK,
ONYX_MAX,
Expand Down Expand Up @@ -382,6 +383,10 @@ object DeviceInfo {
&& (DEVICE == "leaf2" || DEVICE == "leaf2_p")
-> Id.ONYX_LEAF2

// Onyx Boox Livingstone3
MANUFACTURER == "onyx" && DEVICE == "livingstone3"
-> Id.ONYX_LIVINGSTONE3

// Onyx Lomonosov
MANUFACTURER == "onyx" && DEVICE == "lomonosov"
-> Id.ONYX_LOMONOSOV
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/java/org/koreader/launcher/device/EPDFactory.kt
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,14 @@ object EPDFactory {
TolinoEPDController()
}

DeviceInfo.Id.ONYX_DARWIN9,
DeviceInfo.Id.ONYX_EDISON,
DeviceInfo.Id.ONYX_GO_103,
DeviceInfo.Id.ONYX_GO_COLOR7,
DeviceInfo.Id.ONYX_KON_TIKI2,
DeviceInfo.Id.ONYX_LEAF,
DeviceInfo.Id.ONYX_LEAF2,
DeviceInfo.Id.ONYX_DARWIN9,
DeviceInfo.Id.ONYX_LIVINGSTONE3,
DeviceInfo.Id.ONYX_LOMONOSOV,
DeviceInfo.Id.ONYX_MAX,
DeviceInfo.Id.ONYX_NOTE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ object LightsFactory {
}
DeviceInfo.Id.ONYX_DARWIN9,
DeviceInfo.Id.ONYX_LEAF2,
DeviceInfo.Id.ONYX_LIVINGSTONE3,
DeviceInfo.Id.ONYX_NOTE4,
DeviceInfo.Id.ONYX_NOTE_AIR2,
DeviceInfo.Id.ONYX_NOTE_X2,
Expand Down

0 comments on commit 061d789

Please sign in to comment.