Fix minor compile warnings in clang.

This commit is contained in:
Stephen Anthony 2019-08-05 09:27:38 -02:30
parent 38088619ee
commit 718fb756d1
2 changed files with 3 additions and 5 deletions

View File

@ -35,13 +35,11 @@
@author Stephen Anthony, Thomas Jentzsch
*/
class PhysicalJoystick
{
friend class PhysicalJoystickHandler;
static constexpr char MODE_DELIM = '§'; // must not be '^', '|' or '#'
static constexpr char MODE_DELIM = 0xA7; //'§', must not be '^', '|' or '#'
public:
PhysicalJoystick();

View File

@ -138,7 +138,7 @@ class EventHandler
These events cannot be remapped.
@param type The event
@param pressed Pressed (true) or released (false)
@param value The value to use for the event
@param repeated Repeated key (true) or first press/release (false)
*/
void handleEvent(Event::Type type, Int32 value = 1, bool repeated = false);
@ -234,7 +234,7 @@ class EventHandler
@param stick The joystick number
@param button The joystick button
@param hat The joystick hat
@param value The value on the given hat
@param dir The value on the given hat
@param updateMenus Whether to update the action mappings (normally
we want to do this, unless there are a batch of
'adds', in which case it's delayed until the end