aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/input/mouse.h
blob: 55e334686f1ffe82955e9a5b39f7988e3da2f766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __JIN_MOUSE_H
#define __JIN_MOUSE_H
namespace jin
{
namespace input
{
    class Mouse
    {
    public:

    };

    inline const char* buttonStr(int id) {
        switch (id) {
        case 1: return "left";
        case 2: return "middle";
        case 3: return "right";
        case 4: return "wheelup";
        case 5: return "wheeldown";
        default: return "?";
        }
    }

    inline const char* wheelStr(int dir)
    {

    }
}
}
#endif