petrsimon / cordova.externalkeyboard Goto Github PK
View Code? Open in Web Editor NEWCordova plugin enabling to set keyboard shortcuts when external keyboard is attached to iOS 7 device **NOT MAINTAINED**
Cordova plugin enabling to set keyboard shortcuts when external keyboard is attached to iOS 7 device **NOT MAINTAINED**
info using [email protected]
info using [email protected]
cordova version:- 8.0.0
giving error while installing:-
npm ERR! code ENOPACKAGEJSON
npm ERR! package.json Non-registry package missing package.json: git+https://github.com/petrsimon/cordova.externalkeyboard.git.
npm ERR! package.json npm can't find a package.json file in your current directory.
Hi
I am working on an app for handicapped people and it would be a great use if I could catch the following keys: SPACE, ENTER, KEY UP, KEY DOWN, KEY LEFT, KEY RIGHT
A combination with ctrl etc. would be fine too (I saw that "Single key shortcuts are not supported")
Is it possible to catch those keys?
What would be the shortcuts for them?
I saw that you commented out the Arrows.
Thanks
Hi Petr
single key shortcuts works very well! Thank you!
I even can stop the listener by setting the commands to
commands = "";
delimiter = "|";
cordova.plugins.ExternalKeyboard.setKeyCommands(commands, delimiter);
cordova.plugins.ExternalKeyboard.redraw();
So I can use the keybord with every key for a normal Input-Field.
Afterwards I restart the listener by setting the commands again.
Now I have a new idea ;-)
How about a onKeyUp event?
I have some objects on the screen, that you can move around by pressing one of the arrow keys.
as long as the key is pressed, the object moves, but it should stop when you release the key.
Cheers
Hi,
Dealing with external key events in IOS is a big problem. For instance you have a bluetooth keyboard / barcode scanner connected to your IOS mobile device. Its not possible to catch key events without having a focus on a certain input. ( On Android its easy to listen to external key events )
I would be great to get all external key events on JavaScript side to deal with them, Instead of defining some shortcuts.
I m not sure if this is possible (No Xcode Dev ;-) )
Regards
Is it possible to build third party application for iOS8 with this plugin ?
https://www.apple.com/uk/ios/ios8/quicktype/
Actually I'm looking to build foreign language keyboard for iOS8, is this plugin usedul for that ?
https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/Keyboard.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.