Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pocketbook: support "extended" key events #1971

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

benoit-pierre
Copy link
Contributor

@benoit-pierre benoit-pierre commented Nov 4, 2024

Only for device running with SDK >= 6.

This cleanup and update the inkview cdecls, dropping unused declarations and adding declarations for "extended" key events (EVT_KEYPRESS_EXT and the like).

For now, "standard" keycodes are negated to avoid conflicts with "extended" (regular linux input) keycodes.


This change is Reviewable

@benoit-pierre benoit-pierre force-pushed the pr/inkview_sdk_v6_update branch from 87a2626 to e45a8b6 Compare November 4, 2024 17:44
ffi/input_pocketbook.lua Outdated Show resolved Hide resolved
@benoit-pierre benoit-pierre force-pushed the pr/inkview_sdk_v6_update branch from e45a8b6 to 869b0ea Compare November 4, 2024 20:48
Copy link
Member

@NiLuJe NiLuJe left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @benoit-pierre)

- drop unused declarations
- update to SDK 6, adding declarations for "extended" key events
  (`EVT_KEYPRESS_EXT` and the like)
Only for devices running with SDK >= 6.
@benoit-pierre benoit-pierre force-pushed the pr/inkview_sdk_v6_update branch from 869b0ea to fba5c68 Compare November 13, 2024 14:40
Copy link
Member

@NiLuJe NiLuJe left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @benoit-pierre)

@Frenzie Frenzie merged commit 25ba94b into koreader:master Nov 20, 2024
4 checks passed
@benoit-pierre benoit-pierre deleted the pr/inkview_sdk_v6_update branch November 20, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants