annotate jcart.h @ 1845:b6ad26acade4

Adjust scroll of parent layout object if widget newly selected by keyboard is offscreen
author Michael Pavone <pavone@retrodev.com>
date Mon, 22 Apr 2019 20:03:55 -0700
parents c206a422d466
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1610
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
1 #ifndef JCART_H_
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
2 #define JCART_H_
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
3
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
4 void *jcart_write_w(uint32_t address, void *context, uint16_t value);
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
5 void *jcart_write_b(uint32_t address, void *context, uint8_t value);
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
6 uint16_t jcart_read_w(uint32_t address, void *context);
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
7 uint8_t jcart_read_b(uint32_t address, void *context);
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
8 void jcart_adjust_cycles(genesis_context *context, uint32_t deduction);
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
9 void jcart_gamepad_down(genesis_context *context, uint8_t gamepad_num, uint8_t button);
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
10 void jcart_gamepad_up(genesis_context *context, uint8_t gamepad_num, uint8_t button);
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
11
c206a422d466 Added J-Cart support
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
12 #endif //JCART_H_