需要android和presenter的键码表

Need table of key codes for android and presenter(需要android和presenter的键码表)
本文介绍了需要android和presenter的键码表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

谁能给我指出来自 getKeyCode() 的数字形式的键码列表,例如,如果我查找 72,我会看到]",如果我查找 24,我会看到vol up".

Can someone point me to the list of key codes that come from getKeyCode() in numeric form so that for example if I look up 72 I see "]" and if I look up 24 I see "vol up".

我找了一个小时,答案不是 ASCII 表.那太容易了……

I have been looking for an hour and the answer is not an ASCII table. That would be too easy...

我正在从我的鼠标演示者那里获取关键代码并试图拦截它们.有一个键可以输出 57 和 117,我无法拦截,我想在询问有关它的问题之前对其进行解码,但找不到参考.我认为 117 是班次,但我不知道 57 是什么.即使我拦截了演示者上的那个键,我也会把它带出我的应用程序.

I am getting key codes off my mouse-presenter and trying to intercept them. There is one key that puts out 57 and 117 that I cannot intercept and I wanted to decode it before asking a question about it but can't find the reference. I think 117 is shift but I don't know what 57 is. That key on the presenter takes me out of my app even if I intercept it.

推荐答案

好的,终于找到了.

按键事件 本文档将音量提高为 24.按键我正在寻找的代码是 Alt-Menu,显然它会执行而不管密钥是否被拦截.

Key Event This document lists volume up as 24. The key code I was looking for is Alt-Menu and apparently it executes regardless of having the key intercepted.

感谢那些花时间回复的人.

Thanks to those those who took the time to reply.

这篇关于需要android和presenter的键码表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Android release APK crash with java.lang.AssertionError: impossible in java.lang.Enum(Android 发布 APK 因 java.lang.AssertionError 崩溃:在 java.lang.Enum 中不可能)
Finished with Non Zero Exit Value 3(以非零退出值 3 结束)
On gradle:3.0.0 More than one file was found with OS independent path #39;META-INF/ASL2.0#39;(在 gradle:3.0.0 上找到多个文件,其独立于操作系统的路径为“META-INF/ASL2.0)
Android : app loading library at runtime on Lollipop but not IceCreamSandwich(Android:运行时在 Lollipop 上而不是 IceCreamSandwich 上的应用程序加载库)
buildConfigField depending on flavor + buildType(buildConfigField 取决于风味 + buildType)
How do I suppress warnings when compiling an android library with gradle?(使用 gradle 编译 android 库时如何抑制警告?)