Major rewrite of scripting support:
[supertux.git] / src / control / controller.hpp
index 50cdb17..026ec2a 100644 (file)
@@ -35,6 +35,7 @@ public:
     ACTION,
     PAUSE_MENU,
     MENU_SELECT,
+    CONSOLE,
     
     CONTROLCOUNT
   };
@@ -46,6 +47,8 @@ public:
   bool hold(Control control);
   /** returns true if the control has just been pressed down this frame */
   bool pressed(Control control);
+  /** returns true if the control has just been released this frame */ 
+  bool released(Control control);
 
   virtual void reset();
   virtual void update();