blackberry / bbUI.js

BlackBerry UI look and feel JavaScript toolkit for WebWorks
Apache License 2.0
312 stars 192 forks source link

[New Feature]API for Classic trackpad and Passport touch Keyboard #1033

Open MerrickZ opened 10 years ago

MerrickZ commented 10 years ago

Please provide the API support for listening the trackpad events in BlackBery Classic and the touch keyboard events in BlackBerry Passport.

Thanks.

tneil commented 10 years ago

Touch keyboard events are already there as part of WebWorks.

MerrickZ commented 9 years ago

is there any sample ? when 2048 is running on BlackBerry Classic, trackpad doesn't move tiles.

tneil commented 9 years ago

The touch keyboard of the Passport can be trapped using the following API

http://developer.blackberry.com/html5/apis/v2_1/blackberry.ui.input.html

I haven't seen an update for Classic spacial navigation yet in WebWorks.

kwallis commented 9 years ago

Not long now for the Classic APIs. ;)

kwallis commented 9 years ago

Tim, should a bbui app scroll properly when the user scrolls on the touch sensitive keyboard of a Passport? Is there a minimum bbui version? Or does the developer have to handle?

tneil commented 9 years ago

A screen is just a div with overflow.. I don't know if the browser team scrolls that content or not or only tries to scroll the document.

If the browser team only scrolled the document, then yes someone would have to trap the scroll and scroll the bbUI screen manually

MerrickZ commented 9 years ago

Would anyone build some plugin to capture the trackpad events? Thank you guys :)