App to grab/rebind/forward keyboard & mouse inputs? - Android Apps and Games

Im curently using a half size bluetooth keyboard paired to my phone (nexus 4) which is running RemoteDroid. That is used to forward keystrokes to my PC. Why? because I have a broken collarbone and cant use my fullsize wired keyboard properly So im using my phone as an intermediate device (BluetoothK/B->Phone->WiFi->PC) to be able to use the bluetooth keyboard. Putting the phone in close proximity to the K/B means It has a much better range and signal quality via WiFi. The phone itself also has a better bluetoooth receiver than any laptop or desktop USB bluetooth receivers ive tried, giving much more reliable keystrokes at higher typing speed than gong straight to PC
The problem is some of the keys dont work correctly and I believe its because Android is interpreting them differently. i.e. 'Tab/Delete/Insert/Home/End/num +/ num -.. etc' dont get forwarded to the PC,And some keystrokes are simply incorrect` i.e. the right shift key acts more like CTRL for some things. Shift+2 becomes " instead of @ (need to press alt 2 instead) and so on
In addition I have a touchpad on the little keyboard and that only works in a limitted fashion
Is there an app out there that can 'grab' the Android inputs of a device and remap them? so i.e. mouse click could be emulated as pressing the Enter key if I so wished
Additionally` is there a progam that can forward these 'raw inputs' to a PC via USB/WiFi/Bluetooth? remotedroid does indeed forward some inputs of key presses as best it can (arrow keys for instance) but it seems to do it 'after' the android OS (i.e. alt+tab makes the android program switch applications, rather than forwarding the 'alt' and 'tab' keys to the PC)
It does not however forward mouse inputs (havnt tried gamepad) so its not possible to use a mouse or trackpad as intended. I have to emulate a screen press (hold left click on trackpad and move the cursor across the remotedroid screen)
Hope the above makes sense, and yes im aware I could simply bluetooth directly to the PC but wheres the fun in that?

Related

Moto Xoom/Logitech Tablet/MS 6000 BT Keyboards and Apple BT Mouse: OK on Infuse 4G

Hi all,
In case anyone was wondering, the following Bluetooth keyboards work with the Infuse, running Gingerbread 2.3.3.
General Note: all devices below paired up seamlessly. They were immediately detected, and simply required me to key in a 6 digit passkey (4 digits for the Apple Magic Mouse).
1) Microsoft Bluetooth Mobile Keyboard: in all honesty, this keyboard worked the BEST out of all three that I tried today. As an FYI, F1 triggered Menu, Home triggered Home, and Esc triggered back. Reason why I didn't dig it all to much was the rather 'flimsy' build quality, although I do use the 7000 Entertainment set at home.
2) Logitech Tablet Keyboard for Android (3.0+?): Ignoring the 3.0 spin, and focusing on the fact that it's an HID-compliant BT device, I picked this up to give it a whirl. Niceties include the case that it comes with, which doubles into a stand for your device. Major setback that made me return it: the Menu button didn't work for me! Otherwise, a fantastic setup.
3) The keeper: Motorola Xoom BT Keyboard. Very similar in functionality to the Logitech offering. Started off pretty bummed because the built-in Menu keys on this kb didn't work either. Where the Moto saves itself, though, is that they keep they have a 5th row, atop the rest of the keyboard similar to a standard desktop keyboard (the Logitech trimmed these off and only had 4 rows), and within that 5th row, was an F1 key (which, after trial and error on the MS kb, triggers Menu). All in all, a nice package. Good to know I can rip away at longer emails with this thing, if I ever need to.
4) Apple Magic Mouse: nothing special here - paired easily, works like a mouse.
Quirks: 1
1) When pairing the Moto to a non-Moto device, you need to hold down the keys V, A and R when initiating the pair (don't worry, it's in the manual).
2) When the screen times out while paired to the KB (not the mouse), a cursor mysteriously appears, and is persistent until I disable BT connectivity on the device.
3) If you use a pattern to unlock your device, you might want to switch to a PIN or password, if you'd really like to be able to unlock your device from the keyboard...
4) "End" on the keyboard locks the screen. From my round of testing, all keys can unlocks (pretty neat) as long as you don't have a pattern set (meaning, you unlock with a PIN or password.)
5) The kb stays paired; the mighty mouse, i need to tap on to connect from within Settings each time.
That's about it. Feel free to ask me any questions if you had any, or correct me if you've me off base with any.
Can you give us some amazon links per keyboard so we can check specifications on the keyboard and maybe purchase one. I'm gonna need one that works with both the infuse and the motorola atrix.
Thanks
Sent from my SAMSUNG-SGH-I997R
Any idea if these will work with the stock at&t rom?
Apples Magic Mouse
Are we saying the magic mouse works on the xoom just like a normal mouse would?

[Q] KeyDock keyboard usable WITHOUT docking? Layout?

Hello.
I'm interested in a Transformer Prime pad, but don't have one (yet…? ), so, please pardon the question… Anyway…
Is the keyboard from the KeyDock also usable (as a keyboard…), if the display isn't docked in?
Oh, and if the keyboard is used, does Android then also display the (in this case) useless on screen keyboard when text is entered? I hope not…
Lastly, I'm interested in the keyboard layout; how many keys does it have? Does it also have a <ctrl> key? It would be awesome, if somebody could please post a picture of the keyboard (or a link to one…).
I'm asking, because I'd like to figure out, how feasible it might be, to use the thing as a SSH client (using e.g. ConnectBot).
Thx,
Alexander
No, no, lots (could you not look at a picture?), yes. Connectbot works okay, but key combos don't always work. ConnnectBot needs to be updated for full support
Thx for the quick response!
I suppose connecting a Bluetooth keyboard to it would work, wouldn't it?
I know, I'm getting Off Topic, but… How about a USB and/or Bluetooth mouse? On YouTube, I found the video "How to Use a Bluetooth Mouse With the Acer Iconia A500", which shows that BT keyboard & mouse work with 3.1 — on the Acer device. How about Asus?
And, if mouse works, is copy/paste in ConnectBot as easy as it is on a "proper" Linux xterm or as in PuTTY?
Thanks again,
Alexander
Azio kb334b
I use a bluetooth keyboard with Connectbot, and yes the stupid on-screen keyboard appears, but pressing the Back softkey (or Esc on the keyboard, in my case,) hides it.
Key combos don't work for me, because Ctrl is not passed into the app, I think that's my S3 being dumb, but the Menu key on the keyboard brings up the menu with copy/paste and other options, so that at least is OK.
I think a mouse would technically work, but most apps are designed for touch-only, so I don't know if they would handle a mouse correctly. And it would probably be an app-by-app question.

[Q] How to use function key with keyboard dock ?

Is there any way to get the function key to work with the keyboard dock ?
The function key are replaced with android functions. This is nice, but when i'm using a terminal emulation, or any other app, how can i use the Functions keys F1-F10 without the use of a software key ?
You would need a terminal or software that supports mapping the keys accordingly. If you know what it sends, BTEP allows customizing what the Back, Search, Volume +, Volume -, Camera, and Focus keys send but we don't have the last two but AFAIK no body supports our other buttons.
In practice it's not wise to use the function keys for a terminal based program, unless you are sure you will be using a terminal that has them!
AFAIK the VT100 and VT220 terminals that are commonly emulated didn't have true function keys but did have something vaguly like F1 to F4; what stuff like XTerm and Screen do to make F1-F12 work is sort of a lie that happens to works with the right stuff. So YMMV even on PCs.
Sent from my Transformer TF101 using Tapatalk
I use ConnectBot and it works really well. The functions keys are returned corectly as well. My only problem is that when using the keyboard dock, i can't type the f keys, i need to unplug the keboard, then use the software keyboard (ESC Hackers keyboard) and then select the Function keys.
Is there any way to get the function key to work with the keyboard dock ?
The Function Keys
OK.. i found them
CTRL + number
so F1= CTRL+1, F2= CTRL+2 etc..
thanks
And can somebody tell, .. plz, ..
How on physical clave switch between the languages?
Combination from Win don't work :-(
On Tachie panel any layout working and all the switches, as usual .. And switch languages on the dock clave is not found ..
The result is not fun to sit with the dock, and print on Tachie ..
Thnks

[Q] Android physical keyboard protocol

Hey all,
I repurposed an old Android 2.3 phone (rooted HTC Wildfire S [marvelc]) as the navigation device for my motorcycle.
My motorcycle has a 4-way handlebar control for the factory navigation (which I don't feel like paying $900 for...)
I'm in the process of debugging the interface of that control on my motorcycle, and eventually I want to interface it to the marvelc via USB.
I was thinking on buying a cheap tablet keyboard and use the wires of that to access the functions that I need (I would need to "scroll" between UI elements, also to "click" on them, and use the "back" button somehow. I don't know if all of these are possible with a physical keyboard or not, but some very old Android devices had controls like this.)
I'm just trying to ask the community, if this option is even feasible?
Also, since I'll need a microcontroller for capturing the input of the 4-way control from the motorcycle, I was thinking on implementing the Android keyboard USB interface on that same microcontroller, but I couldn't find any documentation or protocol description on that. If you could point me in the right direction, I'd greatly appreciate it
Step one: Figure out which keys your nav app responds to.
Does it use arrow keys? volume keys? DPAD?
Use adb and the shell. For example, this sends ESCAPE
Code:
input keyevent 111
You can probably use a gutted keypad and wire up the switches.
It would probably make sense to have it wired for 4 arrow keys and enter.
That way you can test it easily on a desktop system.
If you need keys that are different, edit /system/usr/keylayout/qwerty.kl
Use my UsbMode.apk (in signature) to identify keyevents.
It's designed for something else for the Nook but it will display key events on any Android.
The only problem with gutted keypads is that they use matrix scanning.
If you need/want contacts to ground you'd be better off with a uP.
I like a Teensy 2.0 because it's small and has hardware USB.
This all presumes that your device support USB host mode.

Disabling Android system commands on bluetooth/usb Keyboard and Mouse buttons?

Hello XDA community!
I've done brief google-fu trying to work around issue I have found myself struggling with with nothing to show for it so I come to ask experts because surely, this being such a fundamental problem someone must've already tackled it, right?
So my problem is, I try to use my Android device (in this case POCO X3 NFC, but considering getting Android tablet specifically for this purpose if there is a workaround to issue I'm about to describe since my iPad is nothing more than expensive paper weight it seems) as a client device to access remote desktop and use BT mouse and keyboard to go along with it. Everything is sorta kinda working... except it doesn't as soon as you get to interact with it. ESC and few other keys prioritise Android shortcuts over application, same with right mouse button. I don't think I need to explain why right mouse button closing remote desktop app (Parsec and Moonlight) and booting me back to app launcher instead of opening the context menu on remote desktop is a MAJOR problem. I've found TeamViewer to work alrightish, it catches mouse clicks and button inputs and prevent app from closing itself... if it only wasn't a steaming pile of dog**** to work on - obviously desire here is to keep using VASTLY superior remote desktop experience that either Parsec or Moonlight provides with the benefit of using BT mouse and keyboard.
Is there ANY way that Android system button shortcuts could be completely disabled? I don't want my F-keys to adjust volume... Nor do I want my ESC key or mouse right click boot me back into app launcher...
Also, as a bonus if there's a way to significantly decrease mouse cursor sensitivity it would be greatly appreciated because holy **** moving mouse 1 inch on a desk on lowest setting Android allows for would scroll through several dozen screens worth of content...
I've found this to be a problem on iOS as well but unlike iOS being left at Apple's mercy I kinda expect Android to be more maliable by end-user.
Any takers?

Categories

Resources