Project

General

Profile

Revision 153

change on ihs

View differences:

keyboard.h
5 5
#ifndef KEYBOARD_H_INCLUDED
6 6
#define KEYBOARD_H_INCLUDED
7 7

  
8
/**
9
 * @brief Subscribes Keyboard Interrupts and disables Minix Default IH
10
 * @param interrupt_bit Bit of Interrupt Vector that will be set when Keyboard Interrupt is pending
11
 * @param interrupt_id Keyboard Interrupt ID to specify the Keyboard Interrupt in other calls
12
 * @return ERROR_CODE code representing the result of the operation, SUCCESS code is returned if everything is OK
13
 * @see {_ERRORS_H_::errors}
14
 */
8 15
int (subscribe_kbc_interrupt)(uint8_t interrupt_bit, int *interrupt_id);
9 16

  
10 17
uint8_t scancode[2];

Also available in: Unified diff