-
Notifications
You must be signed in to change notification settings - Fork 1
/
snake-lib.html
58 lines (56 loc) · 1.96 KB
/
snake-lib.html
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html>
<head>
<link rel="stylesheet" href="bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"
crossorigin="anonymous">
<link rel="stylesheet" href="cyborg.css">
<link rel="stylesheet" href="bithatch.css">
<link rel="stylesheet"
href="font-awesome-4.7.0/css/font-awesome.min.css">
<title>Bithatch - SnakeLib</title>
</head>
<body>
<div class="float-right">
<a href="index.html"> <img class="bithatch-logo"
src="bithatch-reverse-256.png" /></a>
</div>
<h1 class="snake-title">SnakeLib</h1>
<p>The Java library Snake is based on, it provides a Java friendly
interface to Razer devices, currently via the OpenRazer DBUS Daemon.
The library is in Maven central, so to add to your project, just add
the following dependency (adjust according to your build system).</p>
<a class="mr-1" href="https://github.com/bithatch/snake"><i
class="fa fa-github fa-2x"></i></a>
<a class="mr-1" href="https://github.com/bithatch/snake/issues"><i
class="fa fa-bug fa-2x"></i></a>
<p class="text-warning mt-3">
<i class="fa fa-warning"></i>The library is not yet in Maven Central,
you may need to add the <a
href="https://oss.sonatype.org/content/repositories/snapshots">https://oss.sonatype.org/content/repositories/snapshots</a>
repository until final release.
</p>
<h3>Installation</h3>
<h4>Maven</h4>
<pre>
<code>
..
<dependency>
<groupId>uk.co.bithatch</groupId>
<version>1.0.0-SNAPSHOT</version>
<artifactId>snake-lib</artifactId>
</dependency>
<!-- You also need a backend implementation -->
<dependency>
<groupId>uk.co.bithatch</groupId>
<version>1.0.0-SNAPSHOT</version>
<artifactId>snake-backend-openrazer</artifactId>
</dependency>
..
</code>
</pre>
<h3>Usage</h3>
<p>
Currently the best place to see how it works is using the <a
href="https://github.com/bithatch/snake">Snake Source</a>
</body>
</html>