Subversion Repositories eduke32

Rev

Rev 4436 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4386 terminx 1
//-------------------------------------------------------------------------
2
/*
3
Copyright (C) 2010 EDuke32 developers and contributors
4
 
5
This file is part of EDuke32.
6
 
7
EDuke32 is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License version 2
9
as published by the Free Software Foundation.
10
 
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
 
15
See the GNU General Public License for more details.
16
 
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20
*/
21
//-------------------------------------------------------------------------
22
 
23
#ifndef __android_h__
24
#define __android_h__
25
 
26
#ifdef __ANDROID__
27
#include "compat.h"
28
#include "control.h"
4436 terminx 29
#include "android/in_android.h"
4386 terminx 30
 
4440 terminx 31
//extern int   android_sample_rate;
32
 
33
//extern int   android_audio_buffer_size;
34
 
35
 
4386 terminx 36
extern void  CONTROL_Android_ClearButton(int32_t whichbutton);
37
extern void  CONTROL_Android_PollDevices(ControlInfo *info);
4433 terminx 38
extern void  CONTROL_Android_SetLastWeapon(int w);
4386 terminx 39
#endif
40
 
41
#endif