Lines Matching refs:num_keycodes
378 int keycode[], int num_keycodes, int *same) in input_check_keycodes() argument
387 *same = sort_array_by_ordering(keycode, num_keycodes, in input_check_keycodes()
390 memcpy(config->prev_keycodes, keycode, num_keycodes * sizeof(int)); in input_check_keycodes()
391 config->num_prev_keycodes = num_keycodes; in input_check_keycodes()
393 return *same != num_keycodes; in input_check_keycodes()
453 int keycode[], int num_keycodes, char output_ch[], in input_keycodes_to_ascii() argument
463 for (i = 0; i < num_keycodes; i++) { in input_keycodes_to_ascii()
473 for (i = same; i < num_keycodes; i++) { in input_keycodes_to_ascii()
511 int num_keycodes, bool do_send) in _input_send_keycodes() argument
513 char ch[num_keycodes * ANSI_CHAR_MAX]; in _input_send_keycodes()
519 if (!input_check_keycodes(config, keycode, num_keycodes, &same)) { in _input_send_keycodes()
534 count = input_keycodes_to_ascii(config, keycode, num_keycodes, in _input_send_keycodes()
550 int num_keycodes) in input_send_keycodes() argument
552 return _input_send_keycodes(config, keycode, num_keycodes, true); in input_send_keycodes()