ソースを参照

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. :^)
Andreas Kling 5 年 前
コミット
a31ca1282e
2 ファイル変更4 行追加4 行削除
  1. 3 3
      Kernel/build-root-filesystem.sh
  2. 1 1
      Servers/WindowServer/EventLoop.cpp

+ 3 - 3
Kernel/build-root-filesystem.sh

@@ -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

+ 1 - 1
Servers/WindowServer/EventLoop.cpp

@@ -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);