diff options
author | Fabio Battaglia | 2010-01-21 18:31:46 +0000 |
---|---|---|
committer | Fabio Battaglia | 2010-01-21 18:31:46 +0000 |
commit | 66f90a40c93c97ede730da880cfb86ffaf06d2b0 (patch) | |
tree | f629cdaa38e551f686cf73cf25c95e19e39d3023 /backends/platform/n64/osys_n64.h | |
parent | b6742d12f6810801cf57cef5798a157c53e78515 (diff) | |
download | scummvm-rg350-66f90a40c93c97ede730da880cfb86ffaf06d2b0.tar.gz scummvm-rg350-66f90a40c93c97ede730da880cfb86ffaf06d2b0.tar.bz2 scummvm-rg350-66f90a40c93c97ede730da880cfb86ffaf06d2b0.zip |
N64: change input related code to better fit mouse support
svn-id: r47420
Diffstat (limited to 'backends/platform/n64/osys_n64.h')
-rw-r--r-- | backends/platform/n64/osys_n64.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backends/platform/n64/osys_n64.h b/backends/platform/n64/osys_n64.h index 51a11a5401..4bce59a93a 100644 --- a/backends/platform/n64/osys_n64.h +++ b/backends/platform/n64/osys_n64.h @@ -112,11 +112,11 @@ protected: bool _overlayVisible; bool _mouseVisible; - int _mouseX, _mouseY; - int _mouseMaxX, _mouseMaxY; + volatile int _mouseX, _mouseY; + volatile int _tempMouseX, _tempMouseY; + volatile int _mouseMaxX, _mouseMaxY; int _mouseHotspotX, _mouseHotspotY; - controller_data_buttons *_ctrlData; // Controller data read from the N64 serial interface uint8 _controllerPort; int8 _mousePort; bool _controllerHasRumble; @@ -201,6 +201,7 @@ public: void setupMixer(void); void detectControllers(void); + void readControllerAnalogInput(void); // read controller analog nub position }; #endif /* __OSYS_N64_H__ */ |