GDK Keycodes



Hi

In GdkEventKey there are fields:
    - guint state;
    - guint keyval;
    - guint16 hardware_keycode;

1. Why <shift> modifies "keyval" value if it's included as a flag in
"state" anyway?

2. Where are the harwdare keycodes for GTK defined? Should I define it
for every platform myself? If not what's the purpose of this field?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]