Skip to content

Commit

Permalink
Add support for Storytel Reader 2
Browse files Browse the repository at this point in the history
  • Loading branch information
hugleo authored Jan 12, 2025
1 parent 339896f commit 60052fd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
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 @@ -119,6 +119,7 @@ object DeviceInfo {
RIDI_PAPER_3,
SONY_CP1,
SONY_RP1,
STORYTEL_READER2,
TAGUS_GEA,
TOLINO,
TOLINO_EPOS1,
Expand Down Expand Up @@ -515,6 +516,10 @@ object DeviceInfo {
MANUFACTURER == "sony" && MODEL == "dpt-rp1"
-> Id.SONY_RP1

// Storytel Reader 2
MANUFACTURER == "storytel" && MODEL == "reader 2"
-> Id.STORYTEL_READER2

// Tagus Gea
MANUFACTURER == "onyx" && MODEL == "tagus_pokep"
-> Id.TAGUS_GEA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ object EPDFactory {
DeviceInfo.Id.ONYX_TAB_ULTRA,
DeviceInfo.Id.ONYX_TAB_ULTRA_C,
DeviceInfo.Id.ONYX_TAB_ULTRA_C_PRO,
DeviceInfo.Id.STORYTEL_READER2,
-> {
logController("Onyx/Qualcomm")
OnyxEPDController()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ object LightsFactory {
DeviceInfo.Id.ONYX_POKE4,
DeviceInfo.Id.ONYX_POKE4LITE,
DeviceInfo.Id.ONYX_TAB_ULTRA,
DeviceInfo.Id.STORYTEL_READER2,
-> {
logController("Onyx/Sdk")
OnyxSdkLightsController()
Expand Down

0 comments on commit 60052fd

Please sign in to comment.