saket / telephoto

Building blocks for designing media experiences in Compose UI
https://saket.github.io/telephoto/
Apache License 2.0
869 stars 28 forks source link

Add keyboard support #80

Closed evant closed 1 month ago

evant commented 3 months ago

Intial stab at this, I'm not sure all the code lives in the right place and looking for feedback on that.

Additional issues/questions:

Fixes #78

evant commented 2 months ago

Are you blocked on this by any chance?

Nope! We ended up adding separate zoom/pan support on top for keyboard support for now. It does mean you could technically do both independently but it seems to work ok enough.

saket commented 1 month ago

Took me some time, but I'm finally working on this. I'm going ahead and merging this as-is because your code looks great. I'll make a few adjustments and then land the changes on trunk soon. Thanks Eva!