change operator<< for Keyboardkey to show state in hex
This commit is contained in:
parent
2cc44e7668
commit
b23c5264f2
@ -1080,6 +1080,6 @@ ActionMap::get_all_actions (std::vector<std::string>& paths,
|
||||
|
||||
std::ostream& operator<<(std::ostream& out, Gtkmm2ext::KeyboardKey const & k) {
|
||||
char const *gdk_name = gdk_keyval_name (k.key());
|
||||
return out << "Key " << k.key() << " (" << (gdk_name ? gdk_name : "no-key") << ") state " << k.state();
|
||||
return out << "Key " << k.key() << " (" << (gdk_name ? gdk_name : "no-key") << ") state " << hex << k.state() << dec;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user