mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 20:55:07 +00:00
Base: Rename /dev/psaux to /dev/mouse
Since this device doesn't actually hand out raw PS/2 aux packets, let's just call it "mouse" instead. :^)
This commit is contained in:
parent
bead20c40f
commit
a31ca1282e
2 changed files with 4 additions and 4 deletions
|
@ -59,9 +59,9 @@ chmod 666 mnt/dev/debuglog
|
||||||
mknod mnt/dev/keyboard c 85 1
|
mknod mnt/dev/keyboard c 85 1
|
||||||
chmod 440 mnt/dev/keyboard
|
chmod 440 mnt/dev/keyboard
|
||||||
chown 0:$phys_gid mnt/dev/keyboard
|
chown 0:$phys_gid mnt/dev/keyboard
|
||||||
mknod mnt/dev/psaux c 10 1
|
mknod mnt/dev/mouse c 10 1
|
||||||
chmod 440 mnt/dev/psaux
|
chmod 440 mnt/dev/mouse
|
||||||
chown 0:$phys_gid mnt/dev/psaux
|
chown 0:$phys_gid mnt/dev/mouse
|
||||||
mknod mnt/dev/audio c 42 42
|
mknod mnt/dev/audio c 42 42
|
||||||
chmod 220 mnt/dev/audio
|
chmod 220 mnt/dev/audio
|
||||||
chown 0:$audio_gid mnt/dev/audio
|
chown 0:$audio_gid mnt/dev/audio
|
||||||
|
|
|
@ -52,7 +52,7 @@ EventLoop::EventLoop()
|
||||||
: m_server(Core::LocalServer::construct())
|
: m_server(Core::LocalServer::construct())
|
||||||
{
|
{
|
||||||
m_keyboard_fd = open("/dev/keyboard", O_RDONLY | O_NONBLOCK | O_CLOEXEC);
|
m_keyboard_fd = open("/dev/keyboard", O_RDONLY | O_NONBLOCK | O_CLOEXEC);
|
||||||
m_mouse_fd = open("/dev/psaux", O_RDONLY | O_NONBLOCK | O_CLOEXEC);
|
m_mouse_fd = open("/dev/mouse", O_RDONLY | O_NONBLOCK | O_CLOEXEC);
|
||||||
|
|
||||||
bool ok = m_server->take_over_from_system_server();
|
bool ok = m_server->take_over_from_system_server();
|
||||||
ASSERT(ok);
|
ASSERT(ok);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue