What Android Events Are Triggered from Touchpad on Logitech K400? - Android Software Development

I know that my Logitech K400 keyboard with touchpad can cause some Android apps (like the Dolphin Browser) to zoom in/out when I hold CTRL and swipe with 2 fingers up or down.
I have written an app that responds to pinch gestures (via OnTouch and a ScaleGestureDetector as shown at can we use scale gesture detector for pinch zoom in android) on the device's touchscreen. It works fine with the touchscreen.
However, my app does not see any touch events when I hold CTRL and swipe with 2 fingers up or down on the K400. I have tried debugging over wifi while the K400 is plugged in and set breakpoints in the OnTouch listener. I, of course, hit the breakpoints fine when using my fingers on the device's touchscreen. And I get a touch event when I press the K400's mouse buttons. But no joy with the CTRL-swipe.
So what kind of event is the K400 sending to the browser when I hold CTRL and swipe with 2 fingers up or down? I would like to see if I can trap these. Is there some debugging app that can help me ID what is going on here? I have seen at least one app for testing the key codes sent from the keyboard. But nothing so far for the touchpad on the K400.
Thanks in advance for any help/tips you can provide.

Related

Suggestion for code to be developed for scrolling landscape

When opened in landscape view the two hotkeys on the keyboard replace the pivoting external hotkeys that are normally below the screen when closed, but are now to the right of the screen.
The external keys still work but are effectively redundant due to the hotkeys on the keyboard.
Would it be possible when the keyboard is open to use the external hotkeys as a smooth scroll for the screen - as there is little point in using a stylus with the keyboard out - as the sliders are too small for me to use with my fingers?

which buttons on the shift are useable under windows mobile?

I'm interested in using the shift as an ebook reader on the windows mobile side so which buttons can be used for up and down in windows mobile are of particular interest to me. The mouse left and right click buttons look like a particularly good possibility for this.
Can anyone let me know which buttons can be programed on the shift in windows mobile?
I know the touch screen can be used but if anyone has used a mobile device for ebook reading before the will know a button or scroll wheel is best for turning pages
Cheers, lovespuds
A far as I can tell none of the buttons work on WM side. Only the mode button to switch between WM and vista works on the WM side.
I am using the shift as ebook reader as well. I installed the Mobipocket reader and I am using edge of the screen to turn pages or the keyboard. When I read on the shift I turn screen so it rotated 90 degrees. Then I slide the keyboard out to only expose the first row keys when I want to turn the pages. The 3 arrow keys on the very bottom row of the keyboard work well for this. Even when using just one hand I can hold the device and still the slide the screen open/close and turn page with the same hand. It is not a nice as the joystick on my HTC X7501 but it works well enough.
Hi I am using Microsoft Reader for my Ebooks and do it the same way.
Rotate the screen and slide out the keyboar for the first row.
It would be great if we could get WM to recognise other keys, but that is something for the "The Shift Project" team when they accomplished all the other more urgent things
Meanwhile I am content with using the arrowkeys.
greetz,
Pfeffa-rah
I just know that there is an OK button at the Right ALT works fine on WM side.
Press it to close the WM programs.
Besides, on the Left ALT, it is the Sym button, it shows the symbol Pad for you to input symbols on typing.
For reading ebooks, I think the most useful tool for scrolling up & down the page is your finger since the big screen is easy for scrolling by your fingers
THREE MORE BUTTON I FOUND:
PRESS FN + I, O, P can adjust the volume in snapvue!

xoom + usb camera kit + mouse = limited use

ok I know there are a ton of threads about if a wireless usb mouse will work with the Motorola Camera Connection Kit.
Yes a usb mouse does work (at least for me) with the camera usb connector, but what I've yet to find on here and my searches was that your limited on what the mouse actually does.
I guess this is still a software and Android OS limitation, but I was hoping I might have some functionality with the mouse other that just move/point click (all buttons on my win mouse are just normal click function) while the mouse wheel scrolls.
Is there anyway to configure the mouse's buttons for different key commands? I was really hoping to be able to use my mouse's previous/forward button in the default browser.
any apps that might configure or assign key commands to the mouse on honeycomb 3.2?
kwhy said:
ok I know there are a ton of threads about if a wireless usb mouse will work with the Motorola Camera Connection Kit.
Yes a usb mouse does work (at least for me) with the camera usb connector, but what I've yet to find on here and my searches was that your limited on what the mouse actually does.
I guess this is still a software and Android OS limitation, but I was hoping I might have some functionality with the mouse other that just move/point click (all buttons on my win mouse are just normal click function) while the mouse wheel scrolls.
Is there anyway to configure the mouse's buttons for different key commands? I was really hoping to be able to use my mouse's previous/forward button in the default browser.
any apps that might configure or assign key commands to the mouse on honeycomb 3.2?
Click to expand...
Click to collapse
Not sure but I'd also like to know how to change the mouse cursor - it's kind of small and also if anyone knows where the cursor files are stored?
I use a Logitech V470 BT Mouse and also get click n' drag and some right click function depending on which app I'm in.

[Q] trackpad

After the recent update the trackpad has reverted to its original setting, I must admit I preferred the trackpad mirroring finger use on the screen moving your fingers upwards to push the screen upwards, and swiping down to move the screen down has on the screen. Getting rid of the flakey pinch to zoom, and the option to use mouse pointer instead of gesture pointer is welcome. Keyboard lag greatly reduced.
I am pretty sure the gestures have been reverted back to save any backlash from apple, My Macbook pro pushes the screen up using upward motion on the trackpad, also the physical design of the keyboard dock from above closely mirrors the MBP.
Is there an option to use the trackpad in either direction as I cannot see one in settings?
Paul
I'm not sure if it affects the scrolling direction, but there is an option under Keyboard & Input to change the mouse pointer. I'd play with that.
Yes done that and changed mouse pointer back to arrow instead of circle. There is no option for track pad screen movement.
appologies your right, just have to live with the circle curser in gesture mode

[Q] Best Keyboard for your A500

What keyboard do you use on your Iconia? And why?
I'm looking for a good keyboard, so tell me what you use.
I use SwiftKey X Tablet.. why?
I love the split keyboard where each thumb has the ability to reach each key if you're holding the tablet on landscape; like you're holding a steering wheel. With the default keyboard, your thumb normally cannot reach the center of the keyboard where letters TYGHVBN are.
Any other keyboards out there have special features out there that are designed for tablets? I want to know.
I use thumb keyboard on my A500. It was free on the amazon app store
Sent from my SPH-D700 using XDA
https://play.google.com/store/apps/details?id=com.aitype.android AI TYPE KEYBOARD
The Logitech K400 is a wireless kb with trackpad that uses a small USB dongle. Instant response and the trackpad works.
For touch, I like the Swype keyboard. Zero complaints. For a tactile keyboard, I use an HP wireless USB mouse/keyboard combo that sat unused for years until I got my A500.
Try "any soft keyboard". Its a little obscure, but I turned off the word prediction and added a number row to the top. If you pinch out it will split the keyboard and if you pinch in it will put it back to normal.
+ 1 for Swype.... I use for tablet and phone
Hackers Keyboard for touch screen, and I just use my old folding Palm Bluetooth keyboard for longer typing. The Palm keyboard works perfectly, folds small, saw no reason to get something newer.

Categories

Resources