Fix issues detected by static analysis tool
[platform/upstream/libxkbcommon.git] / test / data / keymaps / divide-by-zero.xkb
1 xkb_keymap {
2         xkb_keycodes {
3                  <ESC> = 1;
4         };
5
6         xkb_types {
7                 virtual_modifiers NumLock;
8         };
9
10         xkb_compatibility {
11                 virtual_modifiers NumLock;
12                 interpret KP_1+AnyOfOrNone(all) {
13                         repeat= True;
14                         action= MovePtr(x=(1/0),y=+1);
15                 };
16         };
17
18         xkb_symbols {
19                 key <HYPR> {    [        NoSymbol,         Hyper_L ] };
20         };
21 };