#ifndef BUTTONUPEVENT_H
#define BUTTONUPEVENT_H

#include "ButtonEvent.h"

namespace Salamander
{

/*
** Button Up Events are created when a key is pressed on the keyboard, a mouse button clicked, or
** a controlpad used. All code functions are controlled by ButtonEvent, applications have the choice
** of capturing either ButtonEvent and checking the ID for up/down, or capturing a ButtonUpEvent 
** individually.
*/
class ButtonUpEvent : public ButtonEvent
{
public:
	/*
	** Destructor.
	*/
	virtual ~ButtonUpEvent();

	/*
	** Key events must be created with relevant controller data
	*/
	registerEvent(ButtonEvent);
	ButtonUpEvent(EventCode code);
};

}

#endif // BUTTONUPEVENT_H