Subversion Repositories eduke32

Rev

Rev 4386 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4386 Rev 4440
Line 743... Line 743...
743
    }
743
    }
744
}
744
}
745
745
746
void CONTROL_ClearButton(int32_t whichbutton)
746
void CONTROL_ClearButton(int32_t whichbutton)
747
{
747
{
-
 
748
-
 
749
#ifdef __ANDROID__
-
 
750
    CONTROL_Android_ClearButton(whichbutton);
-
 
751
#else
748
    if (CONTROL_CheckRange(whichbutton)) return;
752
    if (CONTROL_CheckRange(whichbutton)) return;
749
    BUTTONCLEAR(whichbutton);
753
    BUTTONCLEAR(whichbutton);
750
    CONTROL_Flags[whichbutton].cleared = TRUE;
754
    CONTROL_Flags[whichbutton].cleared = TRUE;
-
 
755
#endif
751
}
756
}
752
757
753
void CONTROL_ProcessBinds(void)
758
void CONTROL_ProcessBinds(void)
754
{
759
{
755
    int32_t i=MAXBOUNDKEYS-1;
760
    int32_t i=MAXBOUNDKEYS-1;
Line 794... Line 799...
794
    memset(CONTROL_OSDInput, 0, sizeof(CONTROL_OSDInput));
799
    memset(CONTROL_OSDInput, 0, sizeof(CONTROL_OSDInput));
795
}
800
}
796
801
797
void CONTROL_GetInput(ControlInfo *info)
802
void CONTROL_GetInput(ControlInfo *info)
798
{
803
{
-
 
804
#ifdef __ANDROID__
-
 
805
    CONTROL_Android_PollDevices(info);
-
 
806
#else
799
    CONTROL_PollDevices(info);
807
    CONTROL_PollDevices(info);
800
808
801
    CONTROL_GetFunctionInput();
809
    CONTROL_GetFunctionInput();
802
810
803
    inputchecked = 1;
811
    inputchecked = 1;
-
 
812
#endif
-
 
813
804
}
814
}
805
815
806
int32_t CONTROL_Startup(controltype which, int32_t(*TimeFunction)(void), int32_t ticspersecond)
816
int32_t CONTROL_Startup(controltype which, int32_t(*TimeFunction)(void), int32_t ticspersecond)
807
{
817
{
808
    int32_t i;
818
    int32_t i;