File tree 3 files changed +319
-191
lines changed
3 files changed +319
-191
lines changed Original file line number Diff line number Diff line change 1
1
TARGET = display-test
2
- VERSION = 0.0.1
2
+ VERSION = 0.0.2
3
+
4
+ SDL2 = $(shell pkg-config --cflags --libs sdl2)
3
5
CFLAGS = -Wall -Wextra -Werror -std=c99
4
6
5
- DEPS = $(shell pkg-config --cflags --libs sdl2)
7
+ all : $(TARGET )
8
+
9
+ $(TARGET ) : main.c
10
+ cc -o $@ $< $(SDL2 ) $(CFLAGS ) -DVERSION=\" $(VERSION ) \"
6
11
7
- all : main.c
8
- cc -o $(TARGET ) $< $(DEPS ) $(CFLAGS ) -DVERSION=\" $(VERSION ) \"
12
+ .PHONY : clean, install
9
13
10
- .PHONY : clean
14
+ install :
15
+ @echo " Please move $( TARGET) to your PATH **manually**."
11
16
clean :
12
17
rm -f $(TARGET )
Original file line number Diff line number Diff line change 1
1
# Display Test
2
2
3
+ > [ !WARNING]
4
+ > ** PHOTOSENSITIVITY/EPILEPSY SEIZURES**
5
+
3
6
Test your display with colors and lines.
4
7
5
- ## TODO
8
+ - color pure \* 8
9
+ - color level \* 7
10
+ - lines \* 2
11
+
12
+ ## Usage
6
13
7
- - Linux
8
- - Wayland
9
- - X11
10
- - FB
11
- - mouse support
12
- - ~~ click~~
13
- - wheel
14
- - ~~ CPU cost~~
15
- - more tests
16
- - http://www.lagom.nl/lcd-test/sharpness.php
17
- - https://www.color.org/browsertest.xalter
14
+ see ` display-test -h `
18
15
19
16
## Wayland
20
17
21
18
```
22
19
SDL_VIDEODRIVER=wayland ./display-test
23
20
```
24
21
25
- ## Keys
26
-
27
- - up/down/left/right/space/escape/q(uit)
28
- - "d" for debug only, no other meaning.
29
-
30
22
## Scripts for Development
31
23
32
24
```
You can’t perform that action at this time.
0 commit comments