Changeset 239ae4e in avrstuff


Ignore:
Timestamp:
Jul 22, 2014, 12:35:35 PM (10 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
main
Children:
a3eb2c6
Parents:
5562497
Message:

Move all the keyboard stuff to a subdirectory.

git-svn-id: svn://pulkomandy.tk/avrstuff@93 c6672c3c-f6b6-47f9-9001-1fd6b12fecbe

Files:
5 deleted
2 edited
116 moved

Legend:

Unmodified
Added
Removed
  • libs/ps2_keyboard/ps2_keyboard.c

    r5562497 r239ae4e  
    3333#define PS2_DATA PD4
    3434
    35 volatile uint8_t kbd_data;
    36 volatile uint8_t char_waiting;
    37 uint8_t started;
    38 uint8_t bit_count;
    39 uint8_t shift;
    40 uint8_t caps_lock;
    41 uint8_t extended;
     35static volatile uint8_t kbd_data;
     36static volatile uint8_t char_waiting;
     37static uint8_t started;
     38static uint8_t bit_count;
     39static uint8_t shift;
     40static uint8_t caps_lock;
     41static uint8_t extended;
    4242uint8_t release;
    4343
     
    9696    } else {
    9797      char_waiting = 1;
     98#ifdef CALLBACK
     99          CALLBACK
     100#endif
    98101    }
    99102  }
  • libs/ps2_keyboard/ps2_keyboard.h

    r5562497 r239ae4e  
    22
    33
    4 void init_keybard();
     4void init_keyboard();
    55        // Call this to set up the I/O pins
    66uint8_t read_char();
     
    88char render_scan_code(uint8_t);
    99        // Convert a keycode to a printable ASCII char
     10
     11extern uint8_t release;
Note: See TracChangeset for help on using the changeset viewer.