@Boomy sorry to hear you're having problems, you should post your current config, then I'll look into what's causing the problem. I noticed that there was a "," missing in the template from the readme file, this was probably what was causing you problems. Beside that, you also have to write the key strings correctly, to be recognized. Here's a few things about the structure.
This is how the file looked from the readme, though you'll notice that a comma is missing at the end of "keyString": "TAB", The comma should only be there if you're adding more to the config after the line.
[
{
"keyString": "D",
"action": "pen_tool_action"
}, <- Here is a comma because there's another key binding below
{
"keyString": "TAB" <- Here the comma is missing
"action": "prev_document_action",
"shiftKey": true,
"ctrlKey": true,
"altKey": false <- here there is no comma because it's the last thing before the closing }
} <- Here is no comma because we don't intend to add more keybindings.
]
The fixed version should look like this:
[
{
"keyString": "D",
"action": "pen_tool_action"
},
{
"keyString": "TAB",
"action": "prev_document_action",
"shiftKey": true,
"ctrlKey": true,
"altKey": false
}
]
I didn't know how to bind to the Numpad keys, but was able to find documentation for this here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/ui/Keyboard.html
So if you for example wanted to bind something to Numpad 1, then you would write it like this.
[
{
"keyString": "NUMPAD_1",
"action": "pen_tool_action"
},
{
"keyString": "NUMPAD_2",
"action": "eraser_tool_action"
}
]
If you still get an error, it's likely you missed a comma or has a comma too much somewhere.
The available actions you can bind to, can be found in the readme.