RetroArch
Macros | Functions | Variables
netplay_keyboard.c File Reference
#include <stdio.h>
#include "netplay_private.h"
#include "netplay_keys.h"
Include dependency graph for netplay_keyboard.c:

Macros

#define K(k)   (uint16_t) RETROK_ ## k,
 
#define KL(k, l)   (uint16_t) l,
 

Functions

uint32_t netplay_key_hton (unsigned key)
 
void netplay_key_hton_init (void)
 

Variables

const uint16_t netplay_key_ntoh_mapping []
 
static bool mapping_defined = false
 
static uint16_t mapping [RETROK_LAST]
 

Macro Definition Documentation

◆ K

#define K (   k)    (uint16_t) RETROK_ ## k,

◆ KL

#define KL (   k,
  l 
)    (uint16_t) l,

Function Documentation

◆ netplay_key_hton()

uint32_t netplay_key_hton ( unsigned  key)
Here is the caller graph for this function:

◆ netplay_key_hton_init()

void netplay_key_hton_init ( void  )
Here is the caller graph for this function:

Variable Documentation

◆ mapping

◆ mapping_defined

bool mapping_defined = false
static

◆ netplay_key_ntoh_mapping

const uint16_t netplay_key_ntoh_mapping[]