XenevaOS
Loading...
Searching...
No Matches
Functions | Variables
devinput.cpp File Reference
#include <Fs\dev\devinput.h>
#include <Fs\vfs.h>
#include <Fs\pipe.h>
#include <_null.h>
#include <Fs\dev\devfs.h>
#include <string.h>
#include <Mm\kmalloc.h>
#include <aurora.h>
#include <Serv\sysserv.h>
#include <Drivers\mouse.h>
#include <Hal\serial.h>
#include <Hal\x86_64_hal.h>
Include dependency graph for devinput.cpp:

Functions

void AuDevReadMice (AuInputMessage *inputmsg)
 
void AuDevWriteMice (AuInputMessage *outmsg)
 
void AuDevReadKybrd (AuInputMessage *inputmsg)
 
void AuDevWriteKybrd (AuInputMessage *outmsg)
 
size_t AuDevInputMiceWrite (AuVFSNode *fs, AuVFSNode *file, uint64_t *buffer, uint32_t length)
 
size_t AuDevInputMiceRead (AuVFSNode *fs, AuVFSNode *file, uint64_t *buffer, uint32_t length)
 
size_t AuDevInputKybrdWrite (AuVFSNode *fs, AuVFSNode *file, uint64_t *buffer, uint32_t length)
 
size_t AuDevInputKybrdRead (AuVFSNode *fs, AuVFSNode *file, uint64_t *buffer, uint32_t length)
 
int AuDevMouseIoControl (AuVFSNode *file, int code, void *arg)
 
void AuDevInputInitialise ()
 

Variables

AuVFSNodemice_
 
AuVFSNodekybrd_
 

Function Documentation

◆ AuDevInputInitialise()

void AuDevInputInitialise ( )

◆ AuDevInputKybrdRead()

size_t AuDevInputKybrdRead ( AuVFSNode fs,
AuVFSNode file,
uint64_t buffer,
uint32_t  length 
)

◆ AuDevInputKybrdWrite()

size_t AuDevInputKybrdWrite ( AuVFSNode fs,
AuVFSNode file,
uint64_t buffer,
uint32_t  length 
)

◆ AuDevInputMiceRead()

size_t AuDevInputMiceRead ( AuVFSNode fs,
AuVFSNode file,
uint64_t buffer,
uint32_t  length 
)

◆ AuDevInputMiceWrite()

size_t AuDevInputMiceWrite ( AuVFSNode fs,
AuVFSNode file,
uint64_t buffer,
uint32_t  length 
)

◆ AuDevMouseIoControl()

int AuDevMouseIoControl ( AuVFSNode file,
int  code,
void *  arg 
)

◆ AuDevReadKybrd()

void AuDevReadKybrd ( AuInputMessage inputmsg)

◆ AuDevReadMice()

void AuDevReadMice ( AuInputMessage inputmsg)

◆ AuDevWriteKybrd()

void AuDevWriteKybrd ( AuInputMessage outmsg)

◆ AuDevWriteMice()

void AuDevWriteMice ( AuInputMessage outmsg)

Variable Documentation

◆ kybrd_

AuVFSNode* kybrd_

◆ mice_

AuVFSNode* mice_

BSD 2-Clause License

Copyright (c) 2022-2023, Manas Kamal Choudhury All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.