mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #313 Remove the responsibility from IKeyboard to register
and call functions. Instead just monitor key ups and downs.
This commit is contained in:
@@ -41,12 +41,4 @@ namespace BlackInput
|
||||
return m_instance;
|
||||
}
|
||||
|
||||
bool operator==(IKeyboard::RegistrationHandle const &lhs, IKeyboard::RegistrationHandle const &rhs)
|
||||
{
|
||||
if ((lhs.m_key == rhs.m_key) && (lhs.m_receiver == rhs.m_receiver))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
} // BlackInput
|
||||
|
||||
Reference in New Issue
Block a user