From 7886eec93d66a2518ee3c9188d93572222291cd4 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 19 Feb 2001 17:50:34 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/tform/driveInterface.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/panda/src/tform/driveInterface.cxx b/panda/src/tform/driveInterface.cxx index 0b59fa0ac0..e622b506fe 100644 --- a/panda/src/tform/driveInterface.cxx +++ b/panda/src/tform/driveInterface.cxx @@ -146,7 +146,8 @@ DriveInterface:: //////////////////////////////////////////////////////////////////// // Function: DriveInterface::reset // Access: Published -// Description: Reinitializes the driver to the origin. +// Description: Reinitializes the driver to the origin and resets any +// knowledge about buttons being held down. //////////////////////////////////////////////////////////////////// void DriveInterface:: reset() { @@ -158,6 +159,8 @@ reset() { _down_arrow.clear(); _left_arrow.clear(); _right_arrow.clear(); + + _mods.all_buttons_up(); }