Lines Matching refs:num_keycodes
377 int keycode[], int num_keycodes, int *same) in input_check_keycodes() argument
386 *same = sort_array_by_ordering(keycode, num_keycodes, in input_check_keycodes()
389 memcpy(config->prev_keycodes, keycode, num_keycodes * sizeof(int)); in input_check_keycodes()
390 config->num_prev_keycodes = num_keycodes; in input_check_keycodes()
392 return *same != num_keycodes; in input_check_keycodes()
452 int keycode[], int num_keycodes, char output_ch[], in input_keycodes_to_ascii() argument
462 for (i = 0; i < num_keycodes; i++) { in input_keycodes_to_ascii()
472 for (i = same; i < num_keycodes; i++) { in input_keycodes_to_ascii()
510 int num_keycodes, bool do_send) in _input_send_keycodes() argument
512 char ch[num_keycodes * ANSI_CHAR_MAX]; in _input_send_keycodes()
518 if (!input_check_keycodes(config, keycode, num_keycodes, &same)) { in _input_send_keycodes()
533 count = input_keycodes_to_ascii(config, keycode, num_keycodes, in _input_send_keycodes()
549 int num_keycodes) in input_send_keycodes() argument
551 return _input_send_keycodes(config, keycode, num_keycodes, true); in input_send_keycodes()