开发者

For Emacs, long journey for using CTRL key in Android

I need some help with Emacs. I'm running the Ubuntu in Froyo (Android 2.2) and connect with Android VNC Viewer.

But in Android VNC Viewer, it is hard to use CTRL, ALT, left mouse, and right mouse buttons so I made several experiments.

I tried to modify /system/usr/keylayout/eve_qwerty.kl (since my phone is gw620-eve), but I can't remap the volume button to CTRL key, though I can remap the volume button to ALT key

key 114  开发者_JS百科 VOLUME_DOWN       WAKE -> key 114   ALT_LEFT

I also tried changing eve_qwerty.kcm.bin file as well

Is there any special name for CTRL as like ALT_LEFT? I can't remap with CTRL_LEFT or CONTROL?

Could somebody let me know ASCII code of CTRL? Or could somebody let me know how to apply this (http://developer.android.com/reference/android/view/KeyEvent.html) useful reference to my work?


There is no support for the CTRL key until Android 3.0.


A related question at Stack Overflow is Capture all Ctrl-? under Android.

For what you were trying to do on Android, there are External Keyboard Helper Pro app for physical keyboards, or the virtual Hacker's Keyboard with Ctrl, etc. keys. A resistive or capacitive stylus could be useful with the full virtual keyboard in portrait mode if using a phone and the keys are small.

See also the EmacsWiki section Emacs on Android, with a recent first Emacs port to Android, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜