/*****************************************************************************

        GRAOUMF TRACKER 2
        Author: Laurent de Soras, 1996-2016

--- Legal stuff ---

This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of the Do What The Fuck You Want
To Public License, Version 2, as published by Sam Hocevar. See
http://sam.zoy.org/wtfpl/COPYING for more details.

*****************************************************************************/



#include	<mutex>

#if defined (DINP_CURRENT_HEADER)
	#error Inclusion recursive du header DINP.
#endif
#define	DINP_CURRENT_HEADER

#if ! defined (DINP_HEADER_INCLUDED)
#define	DINP_HEADER_INCLUDED



/* Prototypes des fonctions publiques */

signed int DINP_init_direct_input (::HINSTANCE hInstance);
void	DINP_restore_direct_input (void);

signed int DINP_init_keyboard (void);
void	DINP_restore_keyboard (void);
bool	DINP_key_pressed (void);
LWORD	DINP_get_key (void);


/* Variables publiques */

extern std::mutex	DINP_keyboard_mutex;



/*\\\ FIN DU FICHIER \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

#endif

#undef DINP_CURRENT_HEADER
