diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-09-17 08:44:31 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-09-17 08:44:31 +1000 |
commit | 676c416a9bb85a092d9290244a9564f314fcf799 (patch) | |
tree | 18e2c66dc5df8e81d7dd313a5c8bc031df3ca8e9 /src/ginput/ginput_ginput.c | |
parent | b5c3f3f4f8fe841a192a5b4590adca0c20f41f88 (diff) | |
download | uGFX-676c416a9bb85a092d9290244a9564f314fcf799.tar.gz uGFX-676c416a9bb85a092d9290244a9564f314fcf799.tar.bz2 uGFX-676c416a9bb85a092d9290244a9564f314fcf799.zip |
More newmouse updates
Diffstat (limited to 'src/ginput/ginput_ginput.c')
-rw-r--r-- | src/ginput/ginput_ginput.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/ginput/ginput_ginput.c b/src/ginput/ginput_ginput.c index 4197fa25..191ae025 100644 --- a/src/ginput/ginput_ginput.c +++ b/src/ginput/ginput_ginput.c @@ -16,10 +16,16 @@ #if GFX_USE_GINPUT +#if GINPUT_NEED_MOUSE + extern void _gmouseInit(void); + extern void _gmouseDeinit(void); +#endif + void _ginputInit(void) { - /* ToDo */ - + #if GINPUT_NEED_MOUSE + _gmouseInit(); + #endif /** * This should really call an init routine for each ginput sub-system. * Maybe we'll do this later. @@ -28,7 +34,9 @@ void _ginputInit(void) void _ginputDeinit(void) { - + #if GINPUT_NEED_MOUSE + _gmouseDeinit(); + #endif } #endif /* GFX_USE_GINPUT */ |