src/emu/inptport.c
| r7625 | r7626 | |
| 4704 | 4704 | |
| 4705 | 4705 | int input_machine_has_keyboard(running_machine *machine) |
| 4706 | 4706 | { |
| 4707 | int have_keyboard = FALSE; |
| 4708 | #ifdef MESS |
| 4707 | 4709 | const input_field_config *field; |
| 4708 | 4710 | const input_port_config *port; |
| 4709 | | int have_keyboard = FALSE; |
| 4710 | 4711 | for (port = machine->portlist.first(); port != NULL; port = port->next) |
| 4711 | 4712 | { |
| 4712 | 4713 | for (field = port->fieldlist; field != NULL; field = field->next) |
| r7625 | r7626 | |
| 4716 | 4717 | break; |
| 4717 | 4718 | } |
| 4718 | 4719 | } |
| 4720 | #endif |
| 4719 | 4721 | return have_keyboard; |
| 4720 | 4722 | } |
| 4721 | 4723 | |