I have noticed that in some AOSP/AOKP build's the mouse cursor automatically shows up on screen when using the S-Pen. I quite like this feature actually, because it really helps with the S-Pen accuracy, especially in things like Citrix receiver and Pocket Cloud where the mouse cursor totally makes sense.
Does anyone know how to enable/disable this with the S-Pen? Is there some line in the build.prop that I'm missing? Help!
Goto file
/system/usr/idc/sec_e-pen.idc
open in Text Editor
change the value
touch.deviceType = touchScreen
(for mouse pointer off)
touch.deviceType = default
(for mouse pointer on)
save, reboot and enjoy
EX3cutor said:
Goto file
/system/usr/idc/sec_e-pen.idc
open in Text Editor
change the value
touch.deviceType = touchScreen
(for mouse pointer off)
touch.deviceType = default
(for mouse pointer on)
save, reboot and enjoy
Click to expand...
Click to collapse
I'll try that! Thanks!
Would that work in other builds - including official?
OK, that method worked and removed cursor. But I noticed that when writing palm rejection is disabled??
Related
Has anyone tried installing the more recent general release Opera 9.5 Beta? If so, does the Diamond scroll wheel still function as a zoom?
I ask, because I am trying to figured out how to enable the zoom via scroll wheel on my HTC Touch Cruise. I need to figure out if its just that Opera on the Diamond is programmed differently for this feature, or if its because Windows Mobile handles the scroll wheel differently.
likewise
I am also having this problem with the version I got from the Opera site last week (assuming any updates have been made since the last post). Zooming works (double-tap), but only to a pre-set level. I want to be able to adjust the zoom with the scroll wheel (using TP) but get no response. Anyone know how to resolve this please?
I second this,
on the Touch pro, with the Opera preinstalled on the phone you can use the wheel to zoom, but when you download the latest version from their site, this feature is diabled,
will anyone be able to provide a way to reenable this feature?
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Thanks, m8!! Works like a champ on my Polaris!!
Olioaglio
how to
Sounds great, but as a mere beginner I wonder how to realize the registry tweaks
Would love to use the diamond's zoom wheel with opera 9.7...
It is not working on My Diamond (ROM 2.03.456.2 wwe) with Opera 9.7b
I've double checked the registry entries and the input.ini file...
only if I PRESS the up, down, left, right buttons it is working, but the scroll is NOT
Did you try to soft reset your device after having done the registry modification ?
I've found the problem...
I have SensorScrolll installed (stupid me) and it seems that it is trying to scroll instead of zoom... when the scroll app is off the zoom in opera is working but it is not smooth like the original version
I'm trying to put in OperaL.exe in the igrone list so of the SensorScrol.
10x
sure there is a blank in "..\OperaMo bile" ?
There shouldn't be a space in OperaMobile.
Working on my Raphael
i have created the entrys but it doesnt work. (inkl. soft reset)
Touch Diamond
Windows Mobile 6.5 (Deep Shining)
Location: Internal Storage/Program Files/Opera Mobile/
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Click to expand...
Click to collapse
i dont find opera mobile in Smart touch. what now?
sorry for my bad english
Even with some builds of 9.7, you need to have the following.
"ClassName"="Opera_MainWndClass"
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Click to expand...
Click to collapse
And what about Opera 10 beta? Anyone test it?
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Click to expand...
Click to collapse
Works for me, thanks a lot!
number16 said:
Works for me, thanks a lot!
Click to expand...
Click to collapse
This worked for your Diamond using OperaMobile 10???
Working for Opera 10 ??
The OM10 class is "ClassName"="OM10-ML-MainWndClass", but the hw zoom bar does not work on TP2 for me. :-|
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
Click to expand...
Click to collapse
On mine there doesn't seem to be an OperaMobile folder but there is an
Opera Browser folder. Modified values inside with ClassName = OM10-ML-MainWndClass, and Mode and WheelCount as shown.
No go, doesn't do anything on my Diamond with Opera 10.
Hi guys,
I've a Xperia with a German keyboard layout. So I'm a little bit confused, but I'm able to use the keyboard in Android. My problem is that I've not found the "0" button. All numbers are available with the blue (FN) button.
Is there any possibilty to get the the zero or to activate a virtual keyboard?
Thanks a lot
Thore
virtual keyboard, click anywhere with a text field?
sadly the android virtual keyboard is not available in terminal. So the only way i know of is to activate the linux kernel virtual keyboard by editing the startup.txt
Replace msmvkeyb_toggle=off by msmvkeyb_toggle=hide, and you will get a blue square always on screen. Tap that and you will get a virtual keyboard. That will work until someone maps a x1-key to the zero.
n00b3r said:
Edit2: Keys do not work with this key layout than original qwerty. I looked at the both files and they look hugely different in format. Also, its no point opening up and recompiling the sqsh, qwerty.kl is symlinked to /etc/keylayout/qwerty.kl, which is in /init.etc/keymaps/ in the rootfs.img.
Click to expand...
Click to collapse
With that final hint, we now can solve the zero issue For that, we have to modify the qwerty.kl in rootfs.img, so mount that file (see quote post for details) and open file with your favorite editor. Edit line
Code:
key 3 2
to
Code:
key 3 AT
That will map the @-hardware-key to @-char. And by pressing the blue button in addition to @ (like for the other numbers) we will get zero
Hi there,
I have a rooted G.N., ROM=KKA, Android 2.3.6
I can connect a bluetooth AZERTY Keyboard/mouse to the G.N., it works, but as a QWERTY one.
Using some tweaking application like "Upsoft Keyboard", I can switch it to an AZERTY one, but uncomplete : missing Function keys, accents and so on.
After some googling, I found the stuff to build my own keyboard file (.kl and .kcm.bin).
The process involves editing a key character map file (i.e xxxx.kcm), then compiling it to get a 'xxxx.kcm.bin'
Each line of the kcm file is identified by a 'keyname' and describes what will be returned for each hit on that key, depending on the modifiers (alt, altgr, shift, ctrl, or nothing)
The problem is :
1) the kcm file's format is old ( < android v3), and will stay as is until ICS being released for G.N.
2) the old format compiler has a very poor and restricted set of keynames : Function keys (F1, F2, ...), and Numeric pad keys are omitted.
The problem should be the same for USB keyboards.
Any guru having tweaked a kcm compiler (linux kcm, or W$ kcm.exe) including those keys ?
I've always been annoyed by the behavior of the SYM key on the Droid4, given that it's not processed correctly by apps like terminal emulators or SSH clients. This makes using the keyboard to do shell work a colossal pain.
I've attached some keyboard layout files that correct the problem by remapping the SYM key to ALT, and then adding a fair number of ALT keybindings for all the missing keys on the D4 keyboard.
Changing keybindings on the Droid 4 is much easier as of ICS (vs GB), as all the bindings are done by editing plain text files.
My bindings are as follows:
CAPS LOCK, SHIFT, and OK are now all SHIFT. Yes it's redundant, but the shift key feels more appropriate in the position of the caps lock key and works better from both sides...and if you then remap old SHIFT key to anything else, you'll drive anyone else who uses your phone insane. I can see some people not liking this decision, feel free to modify.
SYM is now ALT
SYM+SPACE is bound to the old SYM key behavior (i.e., you'll get the popup, in apps that support it).
SYM+' = ` (backtick)
SYM+1 = ~ (tilde)
SYM+O = [ (square brackets)
SYM+P = ]
SYM+9 = { (curved brackets)
SYM+0 = }
SYM+/ = \ (backslash)
SYM+I = | (bar/pipe)
SYM+, = < (less than)
SYM+. = > (greater than)
SYM+8 = · (middle dot)
SYM+D = ° (degree symbol)
SYM+X = × (multiplication symbol)
SYM+Z = ÷ (division symbol)
SYM+C = ¢ (cents)
SYM+3 = £ (pounds)
SYM+E = € (euros)
SYM+Y = ¥ (yen)
SYM+= = ± (plus/minus)
The files in the zip file should be pasted into the appropriate subdirectories of /system/usr. You'll need a root-capable file manager to do this of course (e.g. FX File Explorer...but I may be ever-so-slightly biased here ). Be sure the permissions are root/root, rw-r--r-- on each file. Additionally recommend backing up the /system/usr/keylayout and /system/usr/keychars before proceeding.
And I have no idea how Android will behave should this mod be applied incorrectly....you might lose the keyboard or it might bootloop, I have no idea.
This was done on a stock Droid4 running Android 4.0.4, Motorola build is 6.16.217.XT894.Verizon.en.US.
The two modified files are:
/system/usr/keylayout/omap4-keypad.kl (contains physical keymappings, e.g., mapping the SYM key to be an ALT key, CAPS LOCK to be a SHIFT key)
/system/usr/keychars/omap4-keypad.kcm (contains keyboard modifier bindings, e.g. ALT+O = "{" )
I love you.
Will it be easy enough to add a 'Ctrl' key? The menu button on the D4 can have 2 behaviors. Maybe I should map the original shift as a 'Menu' key? hmmmm
donothurtme said:
I love you.
Will it be easy enough to add a 'Ctrl' key? The menu button on the D4 can have 2 behaviors. Maybe I should map the original shift as a 'Menu' key? hmmmm
Click to expand...
Click to collapse
Thanks!
Should be no problem to do, just map it to CTRL_LEFT.
Menu is a "shortcut" key rather than a control key. It's been a while since I played with implementing menu-shortcuts in apps. An app can listen for shortcut key events. On something like a Transformer, Android will send them for Ctrl, but on a Droid n, it'll send them for Menu.
Remapping shift will cause anyone else who uses your phone to go crazy.
I applied these settings on my D4 works like a charm in most apps
It doesn't work for quickoffice so that's kind of lame
Does anyone know what productivity apps that the shortcuts work for?
Sent from my DROID4 using xda app-developers app
rohan_h said:
I applied these settings on my D4 works like a charm in most apps
It doesn't work for quickoffice so that's kind of lame
Does anyone know what productivity apps that the shortcuts work for?
Sent from my DROID4 using xda app-developers app
Click to expand...
Click to collapse
The stock installed QuickOffice, i.e., Quickoffice 5.0.109 - Motorola? It seems to work without issue for me. Also working fine in latest DocumentsToGo (full version). I've only tried the word processors.
I actually was reffering to selecting text from the keyboard in quickoffice
I saw keyboard mod I was mistaken.
Btw I modded my ok key to ALT_right so it's convinent to switch recent apps w.o touching.
I have to long press in an area of a few seconds then "select text" from the pop-up menu in quick office
The shift key doesn't select text in quick office until one selects the previously mentioned option
Sent from my DROID4 using xda app-developers app
rohan_h said:
I actually was reffering to selecting text from the keyboard in quickoffice
I saw keyboard mod I was mistaken.
Btw I modded my ok key to ALT_right so it's convinent to switch recent apps w.o touching.
I have to long press in an area of a few seconds then "select text" from the pop-up menu in quick office
The shift key doesn't select text in quick office until one selects the previously mentioned option
Sent from my DROID4 using xda app-developers app
Click to expand...
Click to collapse
I think there's something weird in Quick Office because it doesn't play so nice with the keyboard on the Lapdock in certain situations too.
Cheers,
Steve.
After contacting customer support quick office doesn't support keyboard shortcuts.
Why did Motorola choose to preload this device with a physical keyboard with a productivity app that doesn't support a keyboard is just poor R&D
I bit the office suite bullet and purchased it. That app works well.
Easy to copy and paste, select text and other such necessary tasks to output papers and other documents.
I still use quick office to view stuff on and I use office suite to edit
Sent from my DROID4 using xda app-developers app
Hello all
Im trying to solve the issue that emulators such as Dos Box, ScummVM, UAE etc have when using a real mouse (plugged in with bluetooth or usb). The 2 main problems are the built in android cursor / pointer being displayed on top of the cursor from the emulator, and the mouse not going past the edge of the screen (for things like turning laying games such as doom).
Would this sort of change be possible by creating an Xposed module? Is so, does anyone have any pointers as to which classes i need to be modifying? Im guessing that the edge wrapping issue will be something in the MotionEvent.java class, but no idea about the pointer icon yet.
My end goal would be to create an easily togglabe solution that allows changing between default mouse behaviour, and a modifed style for emulators.
Thanks
Adam
Made some progress with this so far. Got the cursor hiding working. Ive attached the APK of what ive done so far. It works great for hiding the system pointer within ScummVM. To enable this set the pref and reconnect your mouse (turn off and on again). The cursors seem to only be updated when the mouse is connected to the system.
Does anyone have any ideas how to allow things like DosBox to not get stuck on the edge of the screen mouse wise? This is for things like turning in FPS games etc.
Adam