java.awt.Robot的Native源 [英] Native Source for java.awt.Robot

查看:175
本文介绍了java.awt.Robot的Native源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找到Java机器人函数的本机实现。我发现Windows实现此处。在哪里可以找到mac和linux版本。我主要想知道它在做什么,看看我如何在C ++中实现这个功能。

I am trying to find the native implementations of Java Robot functions. I found the Windows implementation here. Where can I find the mac and linux versions. I'm mainly trying to find out what it's doing to see how I can implement this functionality myself in C++.

推荐答案

好吧我做了一些挖掘,发现我在找什么。这些可能不是最新版本,但元数据在那里。

Okay so I did some digging around and found what I was looking for. These may not be the latest versions but the metadata is there.

  • Linux: awt_robot.c
  • Mac: CRobot.m
  • Win: awt_robot.cpp

这篇关于java.awt.Robot的Native源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆