Code Monkey home page Code Monkey logo

kibo's People

Contributors

erikvold avatar marquete avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kibo's Issues

combination keys

combination keys left+ up,left+down,right+up,right+down are possible?

Need to click window before commands work

Hi! Thanks for the great script!

The only problem I have is that I seem to have to click on the window before any of the keyboard calls will work. Once that happens I'm great, but I feel like I'm missing something simple at the beginning when I setup?

var k = new Kibo();
k.down('esc', function() { close() })

Thanks!

Support Command key on OS X

Kibo needs support of the meta modifier so I can avoid trapping useful keystrokes such as Command-R (reload the page).

Thanks for a useful library!

Write tests

I've used the qunit before, that is alright and should be enough to most unit tests. Might need something that can simulate pressing keys thou.

keys should be converted to strings

The following code

kibo.down([0, 5], function() {
  return false;
});

Produces the following error:

Error: string.replace is not a function
Source File: http://localhost:8500/hotspotter/libs/3rdParty/kibo.js
Line: 107

So I think that the keys input for kibo.down etc should be converted to a string, so that we are certain it is a string. Or there should be some argument validation.

Support a non-modifier

Right now you can bind keys with modifiers easily:

k.down('ctrl shift q', ...)

It would be awesome if I coud bind keys without modifiers:

k.down('plain q', ...)

I'm not sure if plain is the right term. unmodified seems too verbose. :)

Unregistering 'any' key

After unregistering all the keys

kibo.down('any',null);
kibo.up('any',null);

I get:

kibo.js:181 Uncaught TypeError: Cannot read property 'length' of undefined

Author has not yet seen Django Unchained

I'd like to use Kibo for a project I'll be starting soon, but the fact that its author hasn't seen Django Unchained yet makes me uneasy about its commitment to awesomeness. Would you so kindly care to address this issue?

Many thanks,

Pilaf

Copyright

We would very much like to use Kibo within our project, but we are unable to because there is no copyright message anywhere in either the js source file or the readme.

Our open source police are quite stringent!

Please could the author add a copyright.

Regards,
Stuart

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.