summaryrefslogtreecommitdiff
path: root/src/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memory.c')
-rw-r--r--src/memory.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/memory.c b/src/memory.c
index b213694..15b483c 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -25,3 +25,15 @@ void init_memory(struct Memory *mem)
25{ 25{
26 memset(mem, 0, sizeof(struct Memory)); 26 memset(mem, 0, sizeof(struct Memory));
27} 27}
28
29void output_memory(const struct Memory *m)
30{
31 int i;
32 xf86Msg(X_INFO, "btdata: %04x\n", m->btdata);
33 xf86Msg(X_INFO, "pointing: %04x\n", m->pointing);
34 xf86Msg(X_INFO, "moving: %04x\n", m->moving);
35 xf86Msg(X_INFO, "npoint: %d\n", m->npoint);
36 xf86Msg(X_INFO, "ybar: %d\n", m->ybar);
37 xf86Msg(X_INFO, "move_time: %lld\n", m->move_time);
38 xf86Msg(X_INFO, "nmove: %d\n", m->nmove);
39}