Updating Kaypro1 code to use newer APIs
This commit is contained in:
parent
94390571c4
commit
fff3212a10
2 changed files with 51 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2011 by Jacob Alexander
|
||||
/* Copyright (C) 2011-2013 by Jacob Alexander
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -42,13 +42,26 @@
|
|||
|
||||
extern volatile uint8_t KeyIndex_Buffer[KEYBOARD_BUFFER];
|
||||
extern volatile uint8_t KeyIndex_BufferUsed;
|
||||
extern volatile uint8_t KeyIndex_Add_InputSignal;
|
||||
|
||||
|
||||
|
||||
// ----- Functions -----
|
||||
|
||||
// Functions used by main.c
|
||||
void scan_setup( void );
|
||||
uint8_t scan_loop( void );
|
||||
|
||||
|
||||
// Functions available to macro.c
|
||||
uint8_t scan_sendData( uint8_t dataPayload );
|
||||
|
||||
void scan_finishedWithBuffer( void );
|
||||
void scan_finishedWithUSBBuffer( void );
|
||||
void scan_lockKeyboard( void );
|
||||
void scan_unlockKeyboard( void );
|
||||
void scan_resetKeyboard( void );
|
||||
|
||||
|
||||
#endif // __SCAN_LOOP_H
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue