Changeset 56ad818 in mainline for uspace/srv/hid/kbd/ctl/gxe_fb.c


Ignore:
Timestamp:
2011-06-11T20:29:41Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9be360ee
Parents:
b1bdc7a4
Message:

Control keyboard ctl modules through ops structures. Always compile in
all ctl modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/kbd/ctl/gxe_fb.c

    rb1bdc7a4 r56ad818  
    4444#include <stroke.h>
    4545
     46static void gxe_fb_ctl_parse_scancode(int scancode);
     47static int gxe_fb_ctl_init(kbd_port_ops_t *kbd_port);
     48static void gxe_fb_ctl_set_ind(unsigned mods);
     49
     50kbd_ctl_ops_t gxe_fb_ctl = {
     51        .parse_scancode = gxe_fb_ctl_parse_scancode,
     52        .init = gxe_fb_ctl_init,
     53        .set_ind = gxe_fb_ctl_set_ind
     54};
     55
    4656/** Scancode parser */
    4757static gsp_t sp;
     
    5262#include <stdio.h>
    5363
    54 int seq_defs[] = {
     64static int seq_defs[] = {
    5565        /* Not shifted */
    5666
     
    208218};
    209219
    210 int kbd_ctl_init(kbd_port_ops_t *kbd_port)
     220static int gxe_fb_ctl_init(kbd_port_ops_t *kbd_port)
    211221{
    212222        (void) kbd_port;
     
    217227}
    218228
    219 void kbd_ctl_parse_scancode(int scancode)
     229static void gxe_fb_ctl_parse_scancode(int scancode)
    220230{
    221231        unsigned mods, key;
     
    227237}
    228238
    229 void kbd_ctl_set_ind(unsigned mods)
     239static void gxe_fb_ctl_set_ind(unsigned mods)
    230240{
    231241        (void) mods;
Note: See TracChangeset for help on using the changeset viewer.