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:
Andreas Kling 2020-02-18 14:30:39 +01:00
parent bead20c40f
commit a31ca1282e
Notes: sideshowbarker 2024-07-19 09:13:44 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -59,9 +59,9 @@ chmod 666 mnt/dev/debuglog
mknod mnt/dev/keyboard c 85 1
chmod 440 mnt/dev/keyboard
chown 0:$phys_gid mnt/dev/keyboard
mknod mnt/dev/psaux c 10 1
chmod 440 mnt/dev/psaux
chown 0:$phys_gid mnt/dev/psaux
mknod mnt/dev/mouse c 10 1
chmod 440 mnt/dev/mouse
chown 0:$phys_gid mnt/dev/mouse
mknod mnt/dev/audio c 42 42
chmod 220 mnt/dev/audio
chown 0:$audio_gid mnt/dev/audio

View file

@ -52,7 +52,7 @@ EventLoop::EventLoop()
: m_server(Core::LocalServer::construct())
{
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();
ASSERT(ok);