[英]How to type Numpad Enter, if there's no such key on the keyboard?
I'm working with an ancient platform emulator, so sometimes I need to press Numpad Enter
, but my notebook keyboard has no options for doing that. 我正在使用一个古老的平台模拟器,所以有时我需要按
Numpad Enter
,但我的笔记本键盘没有选择这样做。 Is is possible to emulate Numpad Enter
key somehow? 有可能以某种方式模拟
Numpad Enter
键吗? I don't mind if the solution is clumsy. 我不介意解决方案是否笨拙。
You can remap the keyboard using xmodmap. 您可以使用xmodmap重新映射键盘。 For example, to turn F12 into numpad enter, use this command:
例如,要将F12变为numpad enter,请使用以下命令:
xmodmap -e 'keycode 96 = KP_Enter'
You can find out the keycode of keys by starting xev
and pressing them. 您可以通过启动
xev
并按下它们来找到键的键xev
。 The list of possible keysym values can be found in keysymdef.h . 可以在keysymdef.h中找到可能的keysym值列表 。 Omit the
XK_
prefix. 省略
XK_
前缀。 The numpad keys start with XK_KP_
. 小键盘键以
XK_KP_
。
I would think that your laptop has 'fn' key and little blue numbers on keys; 我认为你的笔记本电脑上有'fn'键和键上的蓝色数字; 7,8,9,u,i,o,j,k,l and m.
7,8,9,u,i,o,j,k,l和m。 these are your numeric 'key pad', But if it doesn't...
这些是你的数字'键盘',但如果不是......
In KDE > YaST2 > there are several on screen keyboards typically used for 'other' languages and Accessibility situation. 在KDE> YaST2>中,有几个屏幕键盘通常用于“其他”语言和辅助功能情况。 Kvkbd seems to be installed on my openSuSE / KDE systems by 'default' as I did not specifically install it.
Kvkbd似乎是通过'default'安装在我的openSuSE / KDE系统上,因为我没有专门安装它。 On the right edge of Kvkbd, there is a << arrow looking thing that will expand it and show the numeric keypad.
在Kvkbd的右边缘,有一个“箭头看起来会扩展它并显示数字键盘的东西。 screenshot: of kvkbd:
截图:kvkbd:
Kicker > (in search, type) keyboard and you should see a list generate of all the keyboard related apps you have installed. 踢球者>(在搜索中,键入)键盘,你应该看到一个列表生成你已经安装的所有键盘相关的应用程序。 If not, back to above, YaST2 and install one.
如果没有,回到上面,YaST2并安装一个。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.