mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-02 04:20:28 +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
Notes:
sideshowbarker
2024-07-19 09:13:44 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a31ca1282eb
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
|
||||
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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue