tty-solitaire/lib/keyboard.h

19 lines
362 B
C
Raw Normal View History

#ifndef KEYBOARD_H
#define KEYBOARD_H
#include "deck.h"
2010-04-22 04:50:19 +00:00
#include "cursor.h"
#define KEY_SPACEBAR ' '
extern struct deck *deck;
2010-04-22 04:50:19 +00:00
void mark_origin(struct cursor *);
struct stack *cursor_stack(struct cursor *);
bool cursor_on_stack(struct cursor *, struct stack *);
void handle_stock_event();
2010-04-22 04:50:19 +00:00
void handle_card_movement(struct cursor *);
int key_event();
#endif