Add keycode min/max and iteration API
authorMatthias Clasen <mclasen@redhat.com>
Thu, 9 May 2013 14:31:21 +0000 (15:31 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Thu, 9 May 2013 14:31:21 +0000 (15:31 +0100)
commitb06de3072b46a5108878b8e00f934f01fdb6a0ff
treefc173b401d3b31731abdddc211e3540f00a58792
parent17a956d80781846903c90b7bd4beaf8ac7aac40c
Add keycode min/max and iteration API

Add three new pieces of API:
  - xkb_keymap_min_keycode does what it says on the tin
  - xkb_keymap_max_keycode likewise
  - xkb_keymap_key_for_each calls the provided function once for every
    valid key in the keymap

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/keymap.c
test/state.c
xkbcommon/xkbcommon.h