Hello everybody,
I have an Iconia A500, running with Jelly Bean / rooted, Cyanogenmod 4.1.2 from Randomblame.
So far so good. As most of you know, this device supports bluetooth mice and USB mice. I am using both kinds of mice quite often for working in office tools or for the good old ScummVM games.
Now to my question. Every mouse I use only has the left click function. Right click does the same as left click. Is there a possibility to configure the right button? In Office I would like to get the "long press" instead, in the ScummVM Games I would like to get the "default action", wich is highlighted on touch.
I dont mind if I can configure directly in Android or if I have to use an app. I would be glad for any idea which could help.
Thank you!
I don't think you can get right click of the mouse on the phone, because if you connect the mouse your clicks (any button) simply translates into "touches". As "left" and "right" is not something about "touching" the screen. I tested this on Nexus 7 (where you just plug mouse and get black mouse cursor visible on the screen) -- no one app didn't react on "right click" or "mouse over" (no a button to highlight). You can click and drag - that is ok and no problems. You can mimic any touch action, but i didn't notice event implementation for mouse specific staff.
greenyadzer said:
I don't think you can get right click of the mouse on the phone, because if you connect the mouse your clicks (any button) simply translates into "touches". As "left" and "right" is not something about "touching" the screen. I tested this on Nexus 7 (where you just plug mouse and get black mouse cursor visible on the screen) -- no one app didn't react on "right click" or "mouse over" (no a button to highlight). You can click and drag - that is ok and no problems. You can mimic any touch action, but i didn't notice event implementation for mouse specific staff.
Click to expand...
Click to collapse
Hey,
thank You already. For my Iconia it's the same. Just plug in the USB Adapter or connect the Bluetooth device and it's running with this black arrow. But theoretically it should be possible to get different actions by different buttons. The mice are sending the signals for right and left button (Windows PC detects it). Only Android is just configured to understand them all as "left" (In previous Android Versions the right button often was configured to "back").
What I need is something, which defines my right button as long press or something else - similar to the Logitech Setpoint software for PC (There you also can set shortcuts, Keyboard Combinations or whatever for nearly every button). I am sure, I am not the first one thinking about this, so isn't there any app/driver/trick to get this working?
I guess i can't give you concrete answer or tip here.
I am only wonder if they had support for all mouse stuff in previous Androids, why they decided to remove it from 4.1
...
technically I think it is possible that right click work under some kernels the version before last of es explorer used to work with right click like in windows but now does not... I have a XOOM runnig team eos 3 stable release
Plenty of Remote Desktop software can "decode" right click so obviously right click and left click are registered differently from android but as android lacks "right-click functionality" (it) replaces both as a left click (touch) trigger. The trick would be to replace "long touch" for right click.
To those who have bought (for example) a Note 12.2 tablet for samsung, plugging in a mouse and using "Hancomm office" would turn the tablet into an ideal laptop. After all it's big enough and now that the software is pouring in I see no reason why should Google (or at least a ... hack) won't give us proper right click. Long click is tedious for any serious consideration...
In Android every app has a menu, some devices like the Galaxy S3/4 have a hardware menu button, hitting right button could emulate the hardware menu button (it does have a specific key code, it can be opened from keyboard), or it could be used as a back like on old versions of Android (makes sense, you "enter" with left and "go back" with right), or it could easily emulate a "reasonably long" click (2.1 secs) or any keypress. The only thing that does not have *ANY* sense is making it equal to the left button like on recent Android. That's already there, no value added. If only someone could make an App to configure that choice...
Samsung Roms
I was using Samsung Roms before where when the bt mouse was connected the right button was acutaly define with "Back" and the middle mouse or mouse wheel was getting me "home".
However when I swiched to CM 12.1 the feature was not there, but as you describe left and right mouse are doing the same and mouse wheel is activating the search menu.
I haven't found any settings for that.
But I would be interested in any input on that regard.
Cheers
Joe
As a long-time PalmOS user, I hate the fact that Android doesn't have page up/down keys. So I made a little xposed module that lets you use the volume up/down keys as pageup/pagedown keys in apps you choose.
This won't work for apps that don't support the pageup/pagedown keys. I mainly wanted it for Chrome, and it works great there, though. To adjust volume with this active, pull down the notifications, and then volume keys should work as volume keys.
Current support: For Android <7, should work normally with xposed. For Android >=7, needs lsposed or edxposed.
direct download: https://github.com/arpruss/xupdown/blob/master/app/release/app-release.apk?raw=true
source code: https://github.com/arpruss/xupdown
Great idea
But after severals times, physical buttons can have physical problems if we use these buttons several times..
And i would like to know what apps have this fonctionnality
Great works :good:
Rom said:
But after severals times, physical buttons can have physical problems if we use these buttons several times..
Click to expand...
Click to collapse
Only if the hardware is defective or of poor quality, I assume. I guess, though, manufacturers might not design the volume keys for as frequent pressing as the navigation buttons on a Palm were. (And those eventually would require cleaning.)
And i would like to know what apps have this fonctionnality
Click to expand...
Click to collapse
Fewer than I would wish. Fortunately, most browsers seem to support the page up/down buttons on external keyboards. I haven't found an office suite that does, though.
I expect a lot of ebook software will support the paging buttons, but good ebook software tends to already have an option to page with volume keys, so it won't need XUpDown.
arpruss said:
Only if the hardware is defective or of poor quality, I assume. I guess, though, manufacturers might not design the volume keys for as frequent pressing as the navigation buttons on a Palm were. (And those eventually would require cleaning.)
Fewer than I would wish. Fortunately, most browsers seem to support the page up/down buttons on external keyboards. I haven't found an office suite that does, though.
I expect a lot of ebook software will support the paging buttons, but good ebook software tends to already have an option to page with volume keys, so it won't need XUpDown.
Click to expand...
Click to collapse
Ok, thanks for your informations
Sadly it does not work on Cyanogenmod 11 (n7100). Nothing happens in every App I used (even in this App itself).
Just to check the obvious, did you enable xUpDown in XPosed and reboot? And are the apps you want checked in the xUpDown list?
Have you tried Chrome?
Great idea. Works perfect here.
Nexus 5 with Chrome beta.
When the keyboard is up, volume keys move the cursor; when it's not up, they send Pag
Yay, it works! At least in some applications.
Request: make this compatible with modules that use the volume keys to move the cursor when the keyboard is up. Or include a function to move the cursor when the keyboard is up in this module. When the keyboard is up, volume keys move the cursor; when it's not up, they send Page Down/Up.
Cerberus_tm said:
Yay, it works! At least in some applications.
Request: make this compatible with modules that use the volume keys to move the cursor when the keyboard is up. Or include a function to move the cursor when the keyboard is up in this module. When the keyboard is up, volume keys move the cursor; when it's not up, they send Page Down/Up.
Click to expand...
Click to collapse
That's a nice idea. Can you point me to source code for a module like that?
arpruss said:
That's a nice idea. Can you point me to source code for a module like that?
Click to expand...
Click to collapse
Ah, I should have done so in the first place. This would be great! I believe you can find the source code from a sub-module in Xblast here, in VolKeysCursor.java:
https://github.com/FemBlack/XblastTools/tree/XBlastTools-1.5.2/src/ind/fem/black/xposed/mods
I think there are also other Xposed modules that do this btw.
Try the 0.02 beta release at https://github.com/arpruss/xupdown
Press MENU to activate this option.
arpruss said:
Try the 0.02 beta release at https://github.com/arpruss/xupdown
Press MENU to activate this option.
Click to expand...
Click to collapse
How would I go about installing this via Xposed? I am wanting a module with cursor keys but don't want to use Xblast or gravitybox as I am on a touchwiz ROM. Your minimal module sounds ideal.
In Xposed even though I set it to show experimental modules your 0.02 did not show up, just the 0.01 version
Thanks
Darren
You should be able to download the apk from the github page and just install it manually.
arpruss said:
You should be able to download the apk from the github page and just install it manually.
Click to expand...
Click to collapse
I don't see an apk file in the link you supplied ( https://github.com/arpruss/xupdown ). I can see 3 folders (assets, res, src/mobi/omegacentauri/xupdown) and 4 files (LICENSE, icon.svg, icon512.png, resize.sh).
In the 3 folders I only see subfolders (in res), .png, .xml and .java files. I cannot see a .apk file anywhere.
Am I missing something obvious?
Thanks
Darren
That's interesting. The mobile version of the github page doesn't have the releases link. Anyway, it's here: https://github.com/arpruss/xupdown/releases
arpruss said:
That's interesting. The mobile version of the github page doesn't have the releases link. Anyway, it's here: https://github.com/arpruss/xupdown/releases
Click to expand...
Click to collapse
Managed to download it and the cursor key direction works on my Samsung Note 2 (N7100) [emoji7]
2 small points...
1 - Toggling the cursor option via MENU does not being up a "reboot to apply" message. The newly toggled option does not work instantly (it keeps the original setting), you need to reboot. Not a big issue as users will generally "set and forget" the option once. Also it is a common approach on Xposed modules to reboot after changes. It is just that some modules (or is it Xposed itself) put a notification up to reboot.
2 - You might want to add on your module description that it handles keyboard cursor movement. Without that nobody will find your module when doing a search with the Xposed app (my usual method of finding cool stuff). I only found your module by googling once I tried all Xposed apps from the Xposed search method.
Thanks very much
Darren
I haven't figured out yet how to inform the Xposed framework about changes and the need for a reboot. I guess I should look at the source code of a few more modules.
Actually, strictly speaking you don't need a reboot when you change the settings, but you do need to kill the apps if they are running or else the new settings don't take.
This is great, especially since StatusBar Scroll to Top is dormant and doesn't work with Chrome. If it works by making the volume keys act like pgup and pgdn, would it be possible to make long presses on them work like Home and End? Holding down does scroll plenty fast for all but the longest pages though.
Oops, I missed the update to 0.2. Cursor control works! But, alas, page up/down doesn't seem to work anywhere, at least not in Chrome, Dolphin, stock LG browser, Dropbox. I have turned off Gravity Box and Xblast, and the volume-key options in the G3 TweakBox (long-press volume up when screen is off to toggle toch). So perhaps my ROM is just incompatible, CloudyG2 (latest version). But still nice work to have integrated those two functions!
Hello, I'm a very newbie in Android development.
First of all, thank your for your great Xposed app.
I wanted to try out with a different keycode (DPAD_UP/DOWN) instead of PAGE_UP/DOWN because many of my apps other than Chrome do not scroll with PAGE_UP/DOWN keys.
I've downloaded the ver 0.02 source code from github and tried to build the app, but with no success. I've got bunch of dependency/reference errors.
Could someone point me to the required prerequisite to compile XUpDown from the source?
-Required Android SDK/build tools version
-IntelliJ/ADT/Eclipse version
-Original AndroidManifest.xml file
-XposedBridgeApi-??.jar version
Thank you very much for your help.
hi, im new to remix os and i have found some bugs. i've tried the os on a compaq mini 110c, where i had the problems. i cant see any taskbar and the menu button is extended all over the right side. the other things work normally.
i have also found other problems. in my other laptop, the pad right click doesnt function and also the mouse sensivity is insane, you could add configurations to calibrate this. i've also seen the lack of configurations. it only has typical android smartphone configurations, instead of a desktop configuration. another thing is the keyboard configuration, there should be more options to configurate like ubuntu or other os. could you please make those adjustments...
whereas this is only a beta, i really like it.
keep on working like this! :laugh:
sorry for my english im argentinian.
The title says it all. I understand that the 'right click' has different functions inside the file manager/launcher. I was wondering if 'right click' can be used as 'long press' inside apps like Chrome (to open new links, copy text etc.). Kindly share if you know of any fix or any other alternatives.
I would like to know if this is possible too.
For most of apps you run in Remix OS, a right click will open a mouse menu if a context menu has been registered for the view (see registerForContextMenu).
The content of the mouse menu is equivalent to the content of the context menu on a long click but the UI of the mouse menu is specifically optimized for the pc.
In some apps like Chrome, this does not work because Chrome is a very specific application that handles MotionEvent by itself directly from an API that is very low in the software stack.
Thanks and I hope this helps!
My bigger issue is that it doesn't seem that long click works either. So if I click and hold on something, it never pops up the context menu(say in chrome for example). However, if Phoenix OS long press DOES work. Any hope of the two coming together and swapping some code? lol
I am running Android x86 (therefore, rooted by default) on my laptop, with a Desktop Mode launcher installed, this allowing me to running multiple app instances on-screen at the same time in the form of little windows.
I managed to install the same game three times and have them each open as if we're three individual apps.
Now, I wish to fully automate my tap farming by perfectly aligning these three app windows on top of one another, and then commanding a macro to continuously click on the given XY screen position.
With my initial question above, my goal is to have the three identical games farm at the exact same time, with a certain button within the games each being pressed at the same time regardless of which window is at the front or back the screen.
I hope this question makes sense. I want to know if this is all possible with the way Android is designed, and if there exists any software that does exactly this. If possible, but no available app, I am ready for negotiations from a dev.