I'm working on implementing mouse for Godot and I just found what hell awated me
just found out that mouse implementaion is the most inconsitence thing on android
on samsung right click and back both sends `keyDown` and Up with `KEYCODE_BACK` and doesn't fire `onGenericMotionEvent`, but if you than click on left button `getButtonState` returns the button mask with everyhing right (`0b1011`) (which kills my implementation which expects single change everyclick). (also if you middle on samsung and click the mask is corect, but releasing it sends `HOME` so even thinking about that makes no sense)
on the other hand, my oneplus, the left and back button both counts as `BUTTON_BACK`, so `getButtonState` later will return `0b1001`
and last on lineageos (on my oneplus 5) (only tested on 3.2) right click and middle click just works (doesn't send any useless key) while the `BACK_BUTTON` works the same as the others
also for clicking on second button on the mouse will send `ACTION_MOVE` in `onTouch` will makes my implementation just calls move automaticly (which is not that bad, it's just wierd that move happns before click with button)
currently trying to send touch when back is pressed with source mouse, but I can't do it fully because it's inconsistent between samsung and oneplus (and I suspect much more devices)
(`BUTTON_FORWARD` have most of the same probelm, but is consistent)
Any tip to make it less hell?
Nomnomkun said:
I'm working on implementing mouse for Godot and I just found what hell awated me
just found out that mouse implementaion is the most inconsitence thing on android
on samsung right click and back both sends `keyDown` and Up with `KEYCODE_BACK` and doesn't fire `onGenericMotionEvent`, but if you than click on left button `getButtonState` returns the button mask with everyhing right (`0b1011`) (which kills my implementation which expects single change everyclick). (also if you middle on samsung and click the mask is corect, but releasing it sends `HOME` so even thinking about that makes no sense)
on the other hand, my oneplus, the left and back button both counts as `BUTTON_BACK`, so `getButtonState` later will return `0b1001`
and last on lineageos (on my oneplus 5) (only tested on 3.2) right click and middle click just works (doesn't send any useless key) while the `BACK_BUTTON` works the same as the others
also for clicking on second button on the mouse will send `ACTION_MOVE` in `onTouch` will makes my implementation just calls move automaticly (which is not that bad, it's just wierd that move happns before click with button)
currently trying to send touch when back is pressed with source mouse, but I can't do it fully because it's inconsistent between samsung and oneplus (and I suspect much more devices)
(`BUTTON_FORWARD` have most of the same probelm, but is consistent)
Any tip to make it less hell?
Click to expand...
Click to collapse
Mayb is just the mouse. Have you tried changing the mouse?
My mouse seems to work fine on my samsung note 8, and on samsung dex.
The same mouse also works well with my brandless Chinese made android tv box running android 6.
My mouse is a Logitech wireless mouse and keyboard set.
Right click is normal clicking.
Left click is back button.
Wheel simulates swiping up and down on the screen.
Sent from my SM-G985F using Tapatalk
vash_h said:
Mayb is just the mouse. Have you tried changing the mouse?
My mouse seems to work fine on my samsung note 8, and on samsung dex.
The same mouse also works well with my brandless Chinese made android tv box running android 6.
My mouse is a Logitech wireless mouse and keyboard set.
Right click is normal clicking.
Left click is back button.
Wheel simulates swiping up and down on the screen.
Sent from my SM-G985F using Tapatalk
Click to expand...
Click to collapse
This makes evrything even more inconsistent, I tested it with both BT microsoft mouse and conecting razer mouse via USB on Samsung galaxy 10/9 on stock ROM
Nomnomkun said:
This makes evrything even more inconsistent, I tested it with both BT microsoft mouse and conecting razer mouse via USB on Samsung galaxy 10/9 on stock ROM
Click to expand...
Click to collapse
Interesting.. Thank God mine is working fine..
Sent from my SM-G985F using Tapatalk
vash_h said:
Interesting.. Thank God mine is working fine..
Sent from my SM-G985F using Tapatalk
Click to expand...
Click to collapse
It's still doesn't help, try to use MOUSE_BACK key on while developing and you'll see what hell awaits you
Related
http://www.nuerom.com/BlogEngine/post/2009/04/03/nueUSBKeyboard-11.aspx
Version 1.1 adds SIP/international layout support.
Turns your phone into a regular USB HID Keyboard you can use with your computer, PS3, Wii, XBOX360, etc...
edit - xbox360/ps3/wii functionality will be added in next release.
Tested on the HTC Touch Pro CDMA, should work with most WM 5/6 devices...
Hello,
wow, thats a great software!
Two things I noticed:
- It uses a qwerty-keyboard by default, not the one you have on your Touch Pro (German Layout - QWERTZ)
- Win Key does not work
Best Regards
no2chem does it once again
This looks amazing!
Can anyone confirm it working on an HTC Kaiser or with a Mac? I cannot get mine to function :/
I've just tried my luck with my Touch HD and a Vista 64-Bit PC and encountered a few problems:
1. The WIN key doesn't work
2. The Touch HD doesn't have a hardware keyboard and what I type with my softkeyboard doesn't appear in the active window on my PC
Greenturtle said:
This looks amazing!
Can anyone confirm it working on an HTC Kaiser or with a Mac? I cannot get mine to function :/
Click to expand...
Click to collapse
If I recall correctly, the HTC Kaiser USB stack is strange; It doesn't even support USB Mass Storage function.. Perhaps Kaiser USB Function stack needs an update...
chr5s11 said:
I've just tried my luck with my Touch HD and a Vista 64-Bit PC and encountered a few problems:
1. The WIN key doesn't work
2. The Touch HD doesn't have a hardware keyboard and what I type with my softkeyboard doesn't appear in the active window on my PC
Click to expand...
Click to collapse
Do the Function (F1, Fx..) keys work? I'll see if there's a way to hook into the software keyboard.
FreeLancer2k7 said:
Hello,
wow, thats a great software!
Two things I noticed:
- It uses a qwerty-keyboard by default, not the one you have on your Touch Pro (German Layout - QWERTZ)
- Win Key does not work
Best Regards
Click to expand...
Click to collapse
Ok, I'll take another look at the winkey and how to localize the layout... Question though, is your computer set to use german layout as well?
Yep, both - TouchPro and my Computer - are using german qwertz layout.
Thanks for looking into that!
Wow
Incredible work no2chem. I hope you can enjoy a beer or two 95M66551P0347163L
Anyone confirm it is working with the PS3. That's were I really need it!!
Thanks
The link doesn't seem to be working at the moment (FF3, IE8 & GC).
No2chem,
Your sight seems to be down??
His sight seems to be down atm
doesnt seem to be working on my diamond. Only the alt ctrl del seems to work.
Can this work through Bluetooth? That would be even better!
peeweegary said:
doesnt seem to be working on my diamond. Only the alt ctrl del seems to work.
Click to expand...
Click to collapse
same here, the buttons that come with the program works but not the on screen keyboard.
Tested with diamond running might rom 4.7 on vista and XP. I assumed it wouldn't work on a PS3 as well.
I'll wait for an update, thanks no2chem!
Nice work. Now for the question. Any chance of a bluetooth version?
It worked with my laptop. However, I had to reset it because the laptop keyboard did not work after plugging in my phone and using nueUSBkeyboard.
I also checked my 360 and it did not work at all.
Anything I can do to stop my laptop from not working and have it also work with my 360? Thanks!
Great
Great idea but i cant install it on my SonyEricsson X1.
Help needed!
Love the idea for this, and it worked pretty nicely on my Touch Pro The only issue I had was that the space bar registers as Alt and some other key (forgot now) was coming up as F1.
I expected it to fail on Kaiser, but it actually worked on first try ! (build 21032)
I have some feedback after a few tests :
- WinKey button on screen does not work
- Alt-tab feature cycles on my XP
- Layout is QWERTY instead of AZERTY and i can't find the letter 'M'
- Slower than remote control.
- Spacebar / Enter activates the button with focus on screen as well as sending keypress to the computer. Could be quickly fixed with a dummy button on screen that grabs focus all the time.
Other than that, it's a great piece of software ! It will come in handy for those servers i have at work without keyboard
I was able to use the interface of the Blueinput.apk (from Teksoft) by installing it under the alternative keyboard method of moving the apk from data/apps to system/aps and then reboot. You should be able to select this "keyboard" on long press. Assuming you have already run the program with BT on and your keyboard paired and connected, (and in my case my Mogo BT mouse) you can type with your bluetooth keyboard.
The mouse has no cursor and is a bit jittery, but it works. My mouse functions as a three button mouse and the center button backs you out of a program to the home screen.
BlueInput force closes
Sorry to revive a slightly old thread, but I figured it would be better than starting a new one.
I tried to do this with my gtab on TnT Lite 3.1.1, but BlueInput force closes on me when I try to launch it, press the pairing button at the bottom when an input box is active, or access the keyboard settings in the settings menu.
These are the exact steps I performed:
Downloaded BlueInput version 1.7.202 from www .teksoftco. com/index.php?section=blueinputandroid&tab=download
Copied the blueinputandroid_signed_1.7.202.apk to my /sdcard/
Opened Root Explorer
Copied /sdcard/blueinputandroid_signed_1.7.202.apk
Navigated to /system/app
Mount R/W
Pasted blueinputandroid_signed_1.7.202.apk
Longpressed blueinputandroid_signed_1.7.202.apk
Permissions
Checked: User Read+Write, Group Read, Others Read
Mount R/O
Restarted gtab
Opened a text input field (Google Search widget)
Longpressed text boxt -> Input Method
Selected BlueInput
Pressed the pairing button on the bottom left (BlueInput icon)
Force Close
I've tried this with bluetooth off, bluetooth on but not paired, and bluetooth on and paired but not connected (Apple Wireless Keyboard).
Would anyone happen to have any tips as to what I've done incorrectly?
Thanks in advance.
Hello
I just installed 3.1.1 for the first time last night. I also just installed Blueinput from my saved APK. I ran it.. it loads fine. I then did the fix by moving the apk to /system. Ran it fine. Turned on Blue tooth. Paired my Mogo mouse just now. Went into a dialog box. Long press and select Blueinput as the keyboard (it does not render a dot in the box, but it activates it as the keyboard). Mouse works fine. I assume my keyboard will work as well. Not sure why you are getting FC. perhaps is is an old version or something. I am running BlueInput 1.6.131
@joncwchao
Did you also install the ap? I got the fc folling your steps, then i installed the app...
Did you try to install it normally first to see that this new version runs? If not, try to get the previous version install it normally, make sure it runs, then move it to /SYSTEM/APPS. Then reboot.
EDIT: I downloaded the new version 1.7 and confirm it works. I am typing with it now.
What Bluetooth Keyboard are you using? I had the Microsoft 6000, but it would not work. It would show up and act like it was working, but would only make a clicking noise. No letters would show up. Now I am using a USB keyboard which works pretty well. Thanks!
I am using a DEALEXTREME apple BT clone. Works great. Small enough but not miniture either.
Whoops
Yeah ok that was my mistake, I was moving the installer .apk instead of the installed app .apk.
Both the 1.7 and 1.6 versions work.
I'm using the official Apple Wireless Keyboard, which I got for 65.99 (WOO $4 savings on boxing day sigh).
Is there any way to make it so that it DOESN'T come up with the text input box taking up the entire screen every time I press on a text input field? I know that this BlueInput fix is (hopefully) temporary since bluetooth will be rolled into the custom firmwares eventually, but it's a little annoying lol.
[email protected] said:
What Bluetooth Keyboard are you using? I had the Microsoft 6000, but it would not work. It would show up and act like it was working, but would only make a clicking noise. No letters would show up. Now I am using a USB keyboard which works pretty well. Thanks!
Click to expand...
Click to collapse
USB keyboard along with Blueinput???? Do you mean you are using USB keyboard with your android?
[email protected] said:
What Bluetooth Keyboard are you using? I had the Microsoft 6000, but it would not work. It would show up and act like it was working, but would only make a clicking noise. No letters would show up. Now I am using a USB keyboard which works pretty well. Thanks!
Click to expand...
Click to collapse
go and send a text to someone and hold down in the text area for a few seconds then select input method. choose blueinput make sure you have it enabled under keyboards/languages.
program works great cept they want $20 for the serial #
Anyway to disable that annoying accent character popup when typing on a bluetooth keyboard?
I'm using a TP with CM7 3.5 with a Motorola BT KB. I'v googled this to death and haven't found any solutions.
I tried null keyboard. Don't work.
Can't find anything in settings.
Anyone know?
Thx
I have the same issue with the motor kbd. I believe the issue is in the kbd software not the tp.
Sent from my Touchpad using Tapatalk
I called Motorola and Logitech (I have both keyboards and have the same issue with both) about the popup boxes. Both companies told me that it is a function of the operating system and is not hard coded into the keyboards. They said we should look into a software solution as the keyboard does not have the accent popup feature. Maybe this is a thing for the devs.
Sent from my Touchpad using Tapatalk
Thx
I just noticed you get a accent box popup when long pressing the on screen keyboard.
There has to be some way to change this.
thabksssssss
I installed the Go Keyboard app and no longer get the accent box popup.
I just wish there was an app that would get rid of it. Or someone figure out how change the setting in Android.
I like using the BT KB with null keyboard. Which has no onscreen keyboard.
When using a BT KB with go keyboard, holding the shift does not capitalize letters. You have to tap the shift key once to capitalize. You can't hold it. I emailed the authors to try to get them to fix that.
I tried a few other addon keyboards and they all have that stupid popup.
My wife's android phone with a physicial keyboard phone gets the same accent popup.
The BlueInput soft doesn't have that problem.
I think you needed to pair the keyboard with their software and not with the buildit android one, but after that it doesn't show the annoying pop when long press on the keyboard keys.
I use it with one of those mini BT keyboards and works fine.
dubidu said:
The BlueInput soft doesn't have that problem.
I think you needed to pair the keyboard with their software and not with the buildit android one, but after that it doesn't show the annoying pop when long press on the keyboard keys.
I use it with one of those mini BT keyboards and works fine.
Click to expand...
Click to collapse
YES! This works properly! Thx a LOT!
BlueInput doesn't work reliably. Mouse would not work with it. Uninstalled.
8(
Only tried with the crappy keyboard, but good to know that it doesn't pick the mouse.
I'm guessing the batteries in my mouse were almost dead. Even without Blueinput installed, mouse would not stay connected. I'v only had this mouse since Saturday. It came with Everready Energizers. This Motorolla mouse has an indicator that is supposed to flash orange when the batts are low, it didn't. So I thought they were still good.
After reading some reviews on some BT mice, some said the batts died really fast. So I installed some fresh duracell's today and mouse is working fine. I'll keep the switch off when not using it this time.
So I reinstalled Blueinput and just connected the KB through it. Left the mouse connected through android. I'm pretty sure the mouse would work through Blueint now with the fresh batts.
Just got myself a new BT keyboard with an integrated mouse, as you said, when paring/connecting using the BlueInput driver the mouse doesn't work which kind of sucks 8)
I found some another driver does appear to work fine (at least it allows me to use both the keyboard and mouse at the same time without the annoying "accent" popup window.
BlueKeyboard JP
https://market.android.com/details?id=elbrain.bluekeyboard.ime&hl=en
Still need to test a play a little bit more (see which layout fits my keyboard) but I think is more usable with this driver than the original/build-in CM7 one.
dubidu said:
Just got myself a new BT keyboard with an integrated mouse, as you said, when paring/connecting using the BlueInput driver the mouse doesn't work which kind of sucks 8)
I found some another driver does appear to work fine (at least it allows me to use both the keyboard and mouse at the same time without the annoying "accent" popup window.
BlueKeyboard JP
https://market.android.com/details?id=elbrain.bluekeyboard.ime&hl=en
Still need to test a play a little bit more (see which layout fits my keyboard) but I think is more usable with this driver than the original/build-in CM7 one.
Click to expand...
Click to collapse
Works well. I have seen this before. Not sure why I didn't try it. Maybe I thought it was Japanese only. IDK. Tried so many.
Are you getting this when clicking on an iput box?
The setting of "selected keyboard" is not found.
It still works everytime. Just weird.
Oh I figured out that error. I had to actually select the kb in Bluekeyboard JP settings. I didn't select it before. I could see it there. I though it was already selected. It wasn't.
Another thing I noticed. When you select your BT KB in "Connecting process" in Bluekeyboard JP settings, everytime you click on an input box, there is a message box saying "connecting.. don't touch the keyboard yet". The KB still worked while that message was displayed.
I got rid of that by unchecking "Connecting process" in settings.
So now it works with no message boxes.
Blueinput JP FC's on every boot...
I normally use Hacker's Keyboard and change to the BT one when I connect the extenal keyboard,
just done a quick reboot and no FCs.
Still I think is good enough for me, I read somewhere than since Android 3.1 the keyboard is handled a litlle diferente (no more bin files for each keyboard, just plain text) so maybe whenever ICS is out we can have a better option 8) (xmast wish hehe)
Bluekeyboard JP works perfectly on CM9! No more FC's. Reconnects nicely.
I mistakenly called it Blueinput JP a couple of posts above.
I recently passed to ICS LP3 (Intratech's Frankenstein one). Everything seems to work fine but the mouse. Previously, on my KI4 (GB 2.3.4), I was able to connect a mini-Trust mouse: it had been recognised from the phone, left click → tap, right click → back and centre click → menu.
Now:
I am not able anymore to pair the USB mouse;
Even worse, my BT Microsoft mouse does pair but all the three buttons do the same tapping function! Is this a nightmare?
Does anyone have a solution for at least the second point? Otherwise, while the phone is connected to the TV through the HDMI, I am not able to navigate properly with the only aid of the mouse!
Many thanks indeed to who can help me
No one has any opinion or idea? Am I the only one who is using his phone connected to the TV from his sofa?!
Easy solution
OK, I found a temporary solution..
Using the Microsoft Bluetooth Notebook Mouse 5000 there is available also a back button which works properly. Anyway, on Gingerbread, everything was definitely more logical with the three different options: tap, back and menu on the left, right and centre buttons.
Samsung's ICS sucks..
Atcold said:
Samsung's ICS sucks..
Click to expand...
Click to collapse
No, ICS sucks. For now..
Sent from my GT-I9100 using XDA
I just heard about this and it was free so decided to try it out...but I have no idea how to control my phone when it's on my pc screen. I can click the hard buttosn that it displays on the GUI but anything on the phone screen itself (displayed on the PC), it only has the big blue circle that does nothing when I click except pulse a bit telling me I clicked here.
Also, the description was a bit confusing but when they said use the phone as a second monitor..I can't extent my PC Windows as a dual screen, right? Just meaning I can use both devices simultaneously with a single KB/M set??
edit:
seems like it responds to Key Board but not the Mouse. Also with Keyboard, I can't siwtch back the Window to 1 and 5 out of 5, only between 2 3 4? If I keep pushing Left or Right it finally goes. Int he App Drawer Page...I have no idea how to scroll up and down to choose something else that's not in my PoV
djricekcn said:
I just heard about this and it was free so decided to try it out...but I have no idea how to control my phone when it's on my pc screen. I can click the hard buttosn that it displays on the GUI but anything on the phone screen itself (displayed on the PC), it only has the big blue circle that does nothing when I click except pulse a bit telling me I clicked here.
Also, the description was a bit confusing but when they said use the phone as a second monitor..I can't extent my PC Windows as a dual screen, right? Just meaning I can use both devices simultaneously with a single KB/M set??
edit:
seems like it responds to Key Board but not the Mouse. Also with Keyboard, I can't siwtch back the Window to 1 and 5 out of 5, only between 2 3 4? If I keep pushing Left or Right it finally goes. Int he App Drawer Page...I have no idea how to scroll up and down to choose something else that's not in my PoV
Click to expand...
Click to collapse
no one knows about Sidesync or am i explaining it bad? Long story short, I want to be able to use my KB/M with the phone display on the pc screen
I will test it tomorrow
T-Mobile Galaxy S5
i still can't get it to work properly on 4 different' PCs.=(
Sorry for the delay, I'm installing on my pc now.
T-Mobile Galaxy S5
working fine here, using WINDOWS 8.
keyboard and mouse clicks.
:cyclops:
i also connected to sidesync via wifi, no problem.
have you figured it out yet? what OS is installed on your pc ?
I have used it for months and works great.
Sent from my SM-G900T using XDA Free mobile app
what can be the reason that the mouse click (left mainly) not accepting?
Same
I'm having the same problem with my laptop and Sidesync on my Galaxy s 5. I've tried it on my tablet too and its also having this problem. Has anyone found a solution?