2 * Sixth 3D engine. Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of version 3 of the GNU Lesser General Public License
6 * or later as published by the Free Software Foundation.
10 package eu.svjatoslav.sixth.e3d.io;
12 import java.io.BufferedReader;
13 import java.io.FileReader;
14 import java.io.IOException;
17 * 3D Connexion mouse adapter.
19 * Idea is to read Linux device file and interpret resulting numbers.
24 public class Connexion3D {
26 public static void main(final String[] args) throws IOException {
28 final BufferedReader in = new BufferedReader(new FileReader(
33 System.out.print(in.read() + " ");
34 System.out.println("\n");