fromScancode() -> uiprivFromScancode().
This commit is contained in:
parent
0dddf4a490
commit
24a4b0997c
|
@ -151,7 +151,7 @@ static const struct {
|
|||
{ 0xFFFF, 0 },
|
||||
};
|
||||
|
||||
int fromScancode(uintptr_t scancode, uiAreaKeyEvent *ke)
|
||||
int uiprivFromScancode(uintptr_t scancode, uiAreaKeyEvent *ke)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ struct uiprivClickCounter {
|
|||
};
|
||||
extern int uiprivClickCounterClick(uiprivClickCounter *c, int button, int x, int y, uintptr_t time, uintptr_t maxTime, int32_t xdist, int32_t ydist);
|
||||
extern void uiprivClickCounterReset(uiprivClickCounter *);
|
||||
extern int fromScancode(uintptr_t, uiAreaKeyEvent *);
|
||||
extern int uiprivFromScancode(uintptr_t, uiAreaKeyEvent *);
|
||||
|
||||
// matrix.c
|
||||
extern void fallbackSkew(uiDrawMatrix *, double, double, double, double);
|
||||
|
|
|
@ -411,7 +411,7 @@ static int areaKeyEvent(uiArea *a, int up, GdkEventKey *e)
|
|||
goto keyFound;
|
||||
}
|
||||
|
||||
if (fromScancode(e->hardware_keycode - 8, &ke))
|
||||
if (uiprivFromScancode(e->hardware_keycode - 8, &ke))
|
||||
goto keyFound;
|
||||
|
||||
// no supported key found; treat as unhandled
|
||||
|
|
|
@ -300,7 +300,7 @@ static int areaKeyEvent(uiArea *a, int up, WPARAM wParam, LPARAM lParam)
|
|||
}
|
||||
|
||||
// and finally everything else
|
||||
if (fromScancode((lParam >> 16) & 0xFF, &ke))
|
||||
if (uiprivFromScancode((lParam >> 16) & 0xFF, &ke))
|
||||
goto keyFound;
|
||||
|
||||
// not a supported key, assume unhandled
|
||||
|
|
Loading…
Reference in New Issue