Skip to content

Commit

Permalink
Onyx Boox Go 10.3 support (koreader#509)
Browse files Browse the repository at this point in the history
Onyx Boox Go 10.3
Android: 12
no lights
E-INK: Onyx/Qualcomm (works, screen refreshes)

Device info:
Manufacturer: qualcomm
Brand: onyx
Model: go103
Device: go103
Product: go103
Hardware: qcom
Platform: bengal
  • Loading branch information
hugleo authored Sep 19, 2024
1 parent a3836f0 commit e8229d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 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 @@ -72,6 +72,7 @@ object DeviceInfo {
ONYX_DARWIN9,
ONYX_EDISON,
ONYX_FAUST3,
ONYX_GO_103,
ONYX_GO_COLOR7,
ONYX_JDREAD,
ONYX_KON_TIKI2,
Expand Down Expand Up @@ -230,6 +231,7 @@ object DeviceInfo {
private val ONYX_DARWIN9: Boolean
private val ONYX_EDISON: Boolean
private val ONYX_FAUST3: Boolean
private val ONYX_GO_103: Boolean
private val ONYX_GO_COLOR7: Boolean
private val ONYX_JDREAD: Boolean
private val ONYX_KON_TIKI2: Boolean
Expand Down Expand Up @@ -451,6 +453,10 @@ object DeviceInfo {
&& PRODUCT.contentEquals("mc_faust3")
&& DEVICE.contentEquals("mc_faust3")

// Onyx Boox Go 10.3
ONYX_GO_103 = BRAND.contentEquals("onyx")
&& MODEL.contentEquals("go103")

// Onyx Boox Go Color 7
ONYX_GO_COLOR7 = BRAND.contentEquals("onyx")
&& MODEL.contentEquals("gocolor7")
Expand Down Expand Up @@ -738,6 +744,7 @@ object DeviceInfo {
deviceMap[EinkDevice.ONYX_DARWIN9] = ONYX_DARWIN9
deviceMap[EinkDevice.ONYX_EDISON] = ONYX_EDISON
deviceMap[EinkDevice.ONYX_FAUST3] = ONYX_FAUST3
deviceMap[EinkDevice.ONYX_GO_103] = ONYX_GO_103
deviceMap[EinkDevice.ONYX_GO_COLOR7] = ONYX_GO_COLOR7
deviceMap[EinkDevice.ONYX_JDREAD] = ONYX_JDREAD
deviceMap[EinkDevice.ONYX_KON_TIKI2] = ONYX_KON_TIKI2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ object EPDFactory {
}

DeviceInfo.EinkDevice.ONYX_EDISON,
DeviceInfo.EinkDevice.ONYX_GO_103,
DeviceInfo.EinkDevice.ONYX_GO_COLOR7,
DeviceInfo.EinkDevice.ONYX_KON_TIKI2,
DeviceInfo.EinkDevice.ONYX_LEAF,
Expand Down

0 comments on commit e8229d5

Please sign in to comment.