Mercurial > tablet-emu
comparison src/lib.rs @ 18:3f7b7a3ad8fe
Build three binaries instead of using arguments.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 26 Aug 2021 22:15:55 +0200 |
parents | src/main.rs@0bce7fe96937 |
children |
comparison
equal
deleted
inserted
replaced
17:0bce7fe96937 | 18:3f7b7a3ad8fe |
---|---|
1 // Tablet emulator, for people who don’t own one | |
2 // Copyright © 2020 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | |
3 // | |
4 // This program is free software: you can redistribute it and/or modify | |
5 // it under the terms of the GNU Affero General Public License as published by | |
6 // the Free Software Foundation, either version 3 of the License, or | |
7 // (at your option) any later version. | |
8 // | |
9 // This program is distributed in the hope that it will be useful, | |
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 // GNU Affero General Public License for more details. | |
13 // | |
14 // You should have received a copy of the GNU Affero General Public License | |
15 // along with this program. If not, see <https://www.gnu.org/licenses/>. | |
16 | |
17 pub mod protocol; | |
18 pub mod state; | |
19 pub mod uinput; | |
20 | |
21 pub const MAX_X: i32 = 69920; | |
22 pub const MAX_Y: i32 = 39980; | |
23 | |
24 pub const DEFAULT_WIDTH: i32 = 320; | |
25 pub const DEFAULT_HEIGHT: i32 = 180; |