mirror of
https://github.com/SteamFramelyHomebrew/framely.git
synced 2026-10-21 05:01:48 +02:00
9 lines
318 B
C++
9 lines
318 B
C++
#include "gamepad_mapping.h"
|
|
#include <cassert>
|
|
int main(){
|
|
// Android Vendor_045e_Product_028e.kl scan codes, independent of Linux aliases.
|
|
const int androidXbox[]={304,305,307,308,310,311,314,315,317,318};
|
|
static_assert(sizeof(keys)==sizeof(androidXbox));
|
|
for(int i=0;i<10;i++)assert(keys[i]==androidXbox[i]);
|
|
}
|