Sign in to follow this  

Better Keybindings

Recommended Posts

Hey developers,

I've created a small node-module, to make it easier to create key-binds (also multiple keys).

For example, you are able to do this:

keyBinder.bind('ctrl+n', () => {"Ctrl+N");

The last key in the chain (a+b+c+d) can be any key and all the other keys have to be 'modifiers'.

By default ctrl, alt, and shift are modifiers. So you can create combinations like: 'shift+ctrl+k'.

For more information please take a look into the repositorie's readme:

As mentioned I've published this module to npm so you can easily import it into your projects with

`npm install ragemp-better-bindings` or `yarn add ragemp-better-bindings`.

If you don't use npm right now, just download it from the download section: 



If you find bugs or if you have improvement suggestions feel free to message me, or just comment in this post.

Edited by araynimax

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.