草庐IT

keyboards

全部标签

android - 自定义 'Keyboard' 内置在 Android 上的应用程序中

我一直在寻找为我的应用程序创建自定义键盘。起初,我开始查看SDK示例的SoftKeyboard,但阅读Android开发人员组后,我看到了这篇文章:Thisisreallynothowtheinputmethodframeworkissupposedtowork.AnIMEshouldbeagenericinputfacility,notforaparticularapplication.Ifyouneedsomeapp-specificinput,youshouldbuilditintoyourUIratherthanpushingitouttoagenericIME.如何在UI中构

android - 自定义 'Keyboard' 内置在 Android 上的应用程序中

我一直在寻找为我的应用程序创建自定义键盘。起初,我开始查看SDK示例的SoftKeyboard,但阅读Android开发人员组后,我看到了这篇文章:Thisisreallynothowtheinputmethodframeworkissupposedtowork.AnIMEshouldbeagenericinputfacility,notforaparticularapplication.Ifyouneedsomeapp-specificinput,youshouldbuilditintoyourUIratherthanpushingitouttoagenericIME.如何在UI中构

android - setImeOptions : why the "Done" button does not show on the soft keyboard?

我尝试使用input.setImeOptions(EditorInfo.IME_ACTION_DONE)设置软键盘上的“完成”按钮;但“完成”按钮根本不显示在软键盘上。有什么建议吗?publicvoidmodif(intposition){AlertDialog.Builderalert=newAlertDialog.Builder(MainActivity.this);alert.setTitle("Modifica");EditTextinput=newEditText(MainActivity.this);input.setImeOptions(EditorInfo.IME_AC

android - setImeOptions : why the "Done" button does not show on the soft keyboard?

我尝试使用input.setImeOptions(EditorInfo.IME_ACTION_DONE)设置软键盘上的“完成”按钮;但“完成”按钮根本不显示在软键盘上。有什么建议吗?publicvoidmodif(intposition){AlertDialog.Builderalert=newAlertDialog.Builder(MainActivity.this);alert.setTitle("Modifica");EditTextinput=newEditText(MainActivity.this);input.setImeOptions(EditorInfo.IME_AC

用keyboard模块模拟记录键盘操作

用keyboard模块模拟记录键盘操作介绍的是keyboard这个模块该模块的特征:所有键盘事件上的全局hook(无论焦点如何都捕获键)。监听并发送键盘事件纯Python,不需要编译c模块零依赖。安装和部署很简单,只需要复制文件。记录回放按键操作1、安装pipinstallkeyboard2、基本操作1、)按下并释放>>>importkeyboard>>>keyboard.press_and_release('capslock')执行后会模拟打开或关闭capslock键2、)永远阻塞,相当于whileTrue:>>>importkeyboard>>>keyboard.wait()3、)输入文字

JavaScript 虚拟键盘:Mindfusion JavaScript Keyboard

高度交互,高度可定制--JavaScript虚拟键盘--MindfusionJavaScriptKeyboard现在,您的JavaScript应用程序可以像本地移动应用程序一样处理屏幕输入。 特征键盘布局扩展、紧凑和标准布局模式。KeyboardLayout工具可帮助您根据需要创建和排列自定义键盘。关键图像您可以使用图像文件代替键盘按键上的符号。造型键盘使用CSS样式来自定义外观。该控件包含一组9个预定义的键盘主题。键盘语言一个特殊的属性规定了键盘接受的输入语言的类型。目前支持的语言有八种:德语、英语、法语、韩语、西班牙语、葡萄牙语、俄语和保加利亚语。按键调度通过更改currenyl具有 为什

C++ SetWindowsHookEx WH_KEYBOARD_LL 正确设置

我正在创建一个控制台应用程序,我想在其中记录按键操作(例如向上箭头)。我创建了一个低级键盘Hook,它应该捕获任何线程中的所有按键并调用我的回调函数,但它不起作用。当我按下一个键时,程序会暂停一点,但从不调用回调。我检查了文档,但没有找到任何东西。我不知道是我使用的SetWindowsHookEx()不正确(据我所知它成功创建了钩子(Hook))还是我的回调函数不正确!我不确定怎么了!预先感谢您的帮助。#include"Windows.h"#includeusingnamespacestd;HHOOKhookHandle;LRESULTCALLBACKkeyHandler(intnCo

ios - 消除 Keyboard FirstResponder 问题

所以我正在制作一个应用程序,但在从UISearchBar和UITextFields中关闭键盘时遇到了一些问题。这是我的应用程序的结构:NavigationController->ViewC1-(模态)->ViewC2-(模态)->ViewC3我在ViewC1中有一个搜索框,当按下键盘上的“搜索”按钮时,键盘消失了,这工作正常。但是,如果我在进入ViewC3后返回到ViewC1,则在按下“搜索”按钮时键盘不再消失。在搜索栏委托(delegate)方法中,我输入如下:-(void)searchBarSearchButtonClicked:(UISearchBar*)search{if([s

ios - ReactiveCocoa : Handling Multiple Unbalanced Keyboard Notifications

我正在使用ReactiveCocoa构建一个示例身份验证ViewController。我知道如何以react方式设置和接收来自键盘的通知。但是,我收到不平衡的UP和DOWN通知。因此,我必须设置一个BOOL变量来查看键盘之前是否已抬起但未放下。有没有办法react地做到这一点?完整的项目是here.-(void)configureKeyboardAnimations{CGFloatduration=0.9,damping=0.8;@weakify(self);[[[NSNotificationCenter.defaultCenterrac_addObserverForName:UIKe

iphone - iOS 开发 : Why doesn't the Phone Keyboard display when I specify UIKeyboardTypePhonePad?

在我看来,我有一个文本字段设置来显示thePhoneKeyboard,但它只显示thestandardkeyboard反而。这是我的代码...contactPhoneTextField=[[UITextFieldalloc]initWithFrame:frameText];contactPhoneTextField.borderStyle=UITextBorderStyleNone;contactPhoneTextField.textColor=[UIColorblackColor];contactPhoneTextField.font=[UIFontsystemFontOfSize: