baskerville / plato

Document reader
Other
1.26k stars 105 forks source link

handle hardware page buttons in dictionary view #228

Closed thataboy closed 2 years ago

thataboy commented 2 years ago

In dictionary view, currently hardware page buttons are ignored.

baskerville commented 2 years ago

Have you tried compiling this code?

thataboy commented 2 years ago

I messed up. My apologies. Forgot the use statement in view\dictionary\mod.rs

use crate::input::{DeviceEvent, ButtonCode, ButtonStatus};

Not sure how to fix this git-wise. That is, if you even want me to.