This is an enhancement.
First of all I want to thank all the contributors for this wonderful API.
listener.register_combo({"keys" : null,"on_keydown" : null,"on_keyup" : null,"on_release" : null,"this" : undefined,"prevent_default" : false,"prevent_repeat" : false,"is_unordered" : false,"is_counting" : false,"is_exclusive" : false,"is_solitary" : false,"is_sequence" : false});
the doc says that we can call listener.register_combo() with any number of options, but this is not the case when using typescript with "keypress.js" type definitions (https://www.npmjs.com/package/@types/keypress.js).
It would be great if we can call register_combo only with the wanted parameters. thanks.
This is an enhancement. First of all I want to thank all the contributors for this wonderful API.
listener.register_combo({
"keys" : null,
"on_keydown" : null,
"on_keyup" : null,
"on_release" : null,
"this" : undefined,
"prevent_default" : false,
"prevent_repeat" : false,
"is_unordered" : false,
"is_counting" : false,
"is_exclusive" : false,
"is_solitary" : false,
"is_sequence" : false
});
the doc says that we can call listener.register_combo() with any number of options, but this is not the case when using typescript with "keypress.js" type definitions (https://www.npmjs.com/package/@types/keypress.js). It would be great if we can call register_combo only with the wanted parameters. thanks.