Changeset 67fecc3 in buchla-emu for emu/sdl.c


Ignore:
Timestamp:
09/09/2017 11:11:32 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
0d83ce8
Parents:
e26a632 (diff), 18cbd53 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Thomas Lopatic <thomas@…> (09/09/2017 11:11:27 PM)
git-committer:
Thomas Lopatic <thomas@…> (09/09/2017 11:11:32 PM)
Message:

Merge LCD emulation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • emu/sdl.c

    re26a632 r67fecc3  
    2727
    2828static sdl_func_t sdl_funcs[] = {
    29         ser_sdl, vid_sdl
     29        lcd_sdl, ser_sdl, vid_sdl
    3030};
    3131
     
    161161                                }
    162162                                else if (win == vid_win) {
    163                                         kbd_key(&ev.key, true);
     163                                        kbd_key(&ev.key, true, true);
     164                                }
     165                                else if (win == lcd_win) {
     166                                        kbd_key(&ev.key, false, true);
    164167                                }
    165168
     
    171174
    172175                                if (win == vid_win) {
    173                                         kbd_key(&ev.key, false);
     176                                        kbd_key(&ev.key, true, false);
     177                                }
     178                                else if (win == lcd_win) {
     179                                        kbd_key(&ev.key, false, false);
    174180                                }
    175181
Note: See TracChangeset for help on using the changeset viewer.