Skip to content

Commit 9e83b9a

Browse files
author
Daniel K. O.
committed
- Updated Doxygen files.
- Renamed LogPriority to Device::LogLevel. - Removed Device::close()
1 parent aef2d3d commit 9e83b9a

File tree

6 files changed

+339
-175
lines changed

6 files changed

+339
-175
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ in a circle.
2020

2121
#include <libevdevxx/evdevxx.hpp>
2222

23-
2423
using std::cout;
2524
using std::endl;
2625
using std::flush;
2726

2827
using namespace std::literals;
2928

30-
3129
int
3230
main()
3331
{
@@ -44,7 +42,7 @@ main()
4442

4543
evdev::Uinput udev{dev};
4644
cout << "Created uinput device at "
47-
<< udev.devnode().value()
45+
<< udev.get_devnode()
4846
<< endl;
4947
cout << "Doing a circle... " << flush;
5048

@@ -55,8 +53,8 @@ main()
5553
int x = static_cast<int>(radius * std::cos(angle));
5654
int y = static_cast<int>(radius * std::sin(angle));
5755

58-
udev.rel(Code{REL_X}, x);
59-
udev.rel(Code{REL_Y}, y);
56+
udev.write_rel(Code{REL_X}, x);
57+
udev.write_rel(Code{REL_Y}, y);
6058
udev.flush();
6159

6260
std::this_thread::sleep_for(16ms);

doc/doxygen-awesome-sidebar-only.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ html {
8181
.ui-resizable-handle {
8282
cursor: default;
8383
width: 1px !important;
84+
background: var(--separator-color);
8485
box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color);
8586
}
8687

0 commit comments

Comments
 (0)