Core Keyboard Functions
Function | Description | Zen | Plus |
Checks if a chosen keyboard key is held down | ✔️ | ❌ | |
Checks if a chosen keyboard modifier is held down (ALT, SHIFT,CTRL, etc.) | ✔️ | ❌ | |
Gets Mouse&Keyboard config value | ✔️ | ❌ | |
Sets Mouse&Keyboard config value | ✔️ | ❌ |
get_keyboard
checks to see if a chosen keyboard key is pressed
main {
if(get_keyboard(KEY_A)){
combo_run(jump);
}
}
combo jump {
wait(20);
set_val(XB1_A, 100);
wait(20);
}
get_keyboard( <key_constant> );
Nothing
get_modifiers
sets one bit of a variable based on its bit index¹ ² ³opcode(a,5);
get_modifiers( <variable> , <bit_index> );
<variable> : any defined variable.
<bit_index> : index point of the bit to be set with a range of 0 to 15.
Nothing
Gets Mouse&Keyboard config value.
Example Coming Soon!
mk_type_identifier - Must be MK_GENERAL mk_general_identifier - Field to get information for mk_axis_identifier - Stick (X, Y or Unused)
Sets Mouse&Keyboard config value.
Example Coming Soon!
mk_type_identifier - Must be MK_GENERAL mk_general_identifier - Field to set value for mk_value1 - Value 1 (X axis or value) mk_value2 - Value 2 (Y axis or not used??)
Last modified 2yr ago