Skip to content

A few Kobo input tweaks#4450

Merged
NiLuJe merged 33 commits intokoreader:masterfrom
NiLuJe:master
Jan 8, 2019
Merged

A few Kobo input tweaks#4450
NiLuJe merged 33 commits intokoreader:masterfrom
NiLuJe:master

Conversation

@NiLuJe
Copy link
Copy Markdown
Member

@NiLuJe NiLuJe commented Jan 6, 2019

NiLuJe added 24 commits January 6, 2019 01:32
This is a complete inversion (i.e., it affects Landscape in a
potentially highly stupid manner), unlike in Nickel.
Which also allows us to make it take effect right away when toggled from
the menu
(init'ing a "trilogy" should set it to true, then nil right before the
touch probe, because it's manually applying it).
And honor the setting at startup.

Fix koreader#4451
And watch the swap_xy test being the failing one, now, right?
Copy link
Copy Markdown
Member

@Frenzie Frenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basically lgtm, a couple of minor comments

hasClipboard = no,
hasColorScreen = no,
hasBGRFrameBuffer = no,
canToggleGSensor = no,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not hasGSensor?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Oasis has one, but it's trickier to toggle, so I went with something different/more accurate ;)

end,
},
require("ui/elements/flash_ui"),
require("ui/elements/flash_keyboard"),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these are not that eInk specific. But OK if you need to make room, as it's most probably only on eInk that one will want to disable them (even if I disabled them on my Android phone).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I mainly wanted it to be near the "avoid mandatory black flashes" one, even if they're not technically eInk-specific ;).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact that the eInk submenu is never hidden anywhere cinched the deal ;).

NiLuJe added 4 commits January 6, 2019 18:13
User-facing: hide instead of grey-out unsupported menu entries ;).
Move it to a per-platform overload.
concerned.

The Forma has software auto-repeat enabled, and that applies to the
SleepCover "key", too.

Should help re koreader#4457
We've got something better than luacheck: @pazos :D
NiLuJe added 3 commits January 8, 2019 01:21
Because for some reason, I've seomtimes seen sdio_wifi_pwr being loaded,
but not the actual WiFi driver...
@NiLuJe
Copy link
Copy Markdown
Member Author

NiLuJe commented Jan 8, 2019

I have no idea why Travis gets triggered all of a sudden?

@NiLuJe NiLuJe merged commit d113cb9 into koreader:master Jan 8, 2019
mwoz123 pushed a commit to mwoz123/koreader that referenced this pull request Mar 29, 2020
* Fix the Touch input probe on Trilogy devices that depend on the touch_probe_ev_epoch_time quirk (fix koreader#630)
* Expose a "Pageturn button inversion" feature in the Navigation menu (for all devices with keys) (fix koreader#4446)
* Allow ignoring the accelerometer on the Forma (Screen > Ignore accelerometer rotation events; also available from the Gesture Manager) (fix koreader#4451)
* Fix SleepCover handling on the Forma (fix koreader#4457)
* Make isWifiOn a tiny bit more accurate (check the actual WiFi module instead of sdio_wifi_pwr)
* Move all flash related Screen options to the eInk submenu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants