From 2c7c599647773221fceacc1633b95e4b614b8af3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 21 Jul 2008 22:57:08 +0000 Subject: unbindall, proper delete key support --- src/client/input.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client/input.cc') diff --git a/src/client/input.cc b/src/client/input.cc index 5e75f0a..dc40b8f 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -201,6 +201,9 @@ void init() func = core::Func::add("unbind", func_unbind); func->set_info("[key] unbind a key"); + func = core::Func::add("unbindall", func_unbind); + func->set_info("unbind all keys"); + func = core::Func::add("screenshot", func_screenshot); func->set_info("make a screenshot"); @@ -216,6 +219,7 @@ void shutdown() core::Func::remove("bind"); core::Func::remove("unbind"); + core::Func::remove("unbindall"); core::Func::remove("screenshot"); -- cgit v1.2.3