From 60a929a250cf4f7f87ac082e5705f9a838a7f8c8 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Tue, 17 Apr 2018 16:18:16 -0400 Subject: Add a request_keys() function with a midend wrapper. This function gives the front end a way to find out what keys the back end requires; and as such it is mostly useful for ports without a keyboard. It is based on changes originally found in Chris Boyle's Android port, though some modifications were needed to make it more flexible. --- range.c | 1 + 1 file changed, 1 insertion(+) (limited to 'range.c') diff --git a/range.c b/range.c index 58d6e48..03bdf6d 100644 --- a/range.c +++ b/range.c @@ -1813,6 +1813,7 @@ struct game const thegame = { free_ui, encode_ui, decode_ui, + NULL, /* game_request_keys */ game_changed_state, interpret_move, execute_move, -- cgit v1.1