Giter Club home page Giter Club logo

Comments (5)

spolu avatar spolu commented on May 24, 2024

It's all in mod_strip for now. Look for lib/keyboard_shortcuts.js there!

from breach_core.

luaks avatar luaks commented on May 24, 2024

I really don't know how I have missed this, thanks.

Still, what do you think about a general shortcut manager in breach_core, which would be accessed from the modules? This would also make changing shortcuts a lot easier, for users.

from breach_core.

spolu avatar spolu commented on May 24, 2024

Well shortcuts are really up to the modules... Let say I want to create a browser that works only with the keyboard, I'd probably need very specific shortcuts that wouldn't fit a more traditional module such as mod_strip.

What we can do is create a nodeJS module required by other modules to handle keyboard shortcuts in a rather "standard way"... and require that in mod_strip in place of the keyboard_shortcuts.js file. What say?

from breach_core.

luaks avatar luaks commented on May 24, 2024

Yes, thats kind of what I meant. I could try to implement basic functionality tomorrow, but it will probably take a bit longer, because I need to get familiar with the API.

from breach_core.

spolu avatar spolu commented on May 24, 2024

Cool! You can easily repackage keyboard_shortcuts.js in a separate package and start from there.

from breach_core.

Related Issues (20)

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.