| 741 | } |
| 742 | |
| 743 | static bool isemptykey(int keyboard, int scancode) |
| 744 | { |
| 745 | int j = 0; |
| 746 | struct uae_input_device *na = &keyboards[keyboard]; |
| 747 | while (j < MAX_INPUT_DEVICE_EVENTS && na->extra[j] >= 0) { |
| 748 | if (na->extra[j] == scancode) { |
| 749 | for (int k = 0; k < MAX_INPUT_SUB_EVENT; k++) { |
| 750 | if (na->eventid[j][k] > 0) |
| 751 | return false; |
| 752 | if (na->custom[j][k] != NULL) |
| 753 | return false; |
| 754 | } |
| 755 | break; |
| 756 | } |
| 757 | j++; |
| 758 | } |
| 759 | return true; |
| 760 | } |
| 761 | |
| 762 | static void out_config (struct zfile *f, int id, int num, const TCHAR *s1, const TCHAR *s2) |
| 763 | { |
no outgoing calls
no test coverage detected